|
From: Joseph O. <jo...@en...> - 2003-02-25 06:54:06
|
Joe, the only issue with applying this patch is that I'm not sure what
it's solving. You're adding the item to the sequence, and the *main*
difference I see is that you're using the item LINK instead of the item
ABOUT data... and those should be the same reference. Am I missing
something?
On Mon, 24 Feb 2003, Joseph Shelby wrote:
> private void addItemsRef(Element channel, List is) {
> if(is!=null && is.size()>0) {
> Element items=channel.addElement("items");
> Element seq=items.addElement("rdf", "Seq");
> Iterator iter=is.iterator();
> while(iter.hasNext()) {
> Item item=(Item)iter.next();
> // addItem(seq, item, "resource");
> Element li = seq.addElement("li");
> li.setAttribute("rdf", "resource", item.getLink());
> }
> }
> }
>
> that now follows the rdf:Seq->li syntax described by O'Reilly's
> page
>
> http://www.oreillynet.com/pub/a/network/2000/08/25/magazine/rss_tut.html?page=3
>
> Joe
>
---------------------------------------------------------
Joseph B. Ottinger jo...@en...
http://enigmastation.com IT Consultant
|