Archive of UserLand's first discussion group, started October 5, 1998.

News.root, newsToRSS.xml

Author:Robert Brook
Posted:6/3/1999; 9:58:44 AM
Topic:News.root, newsToRSS.xml
Msg #:6978
Prev/Next:6977 / 6979

(A few threads being drawn together here for me - -)

News.root, Console.root, Discuss.root and My.Userland.root - all working on an intranet. My.Userland is becoming more and more useful.

I'm generating an RSS file by means of newsToRSS.xml, in News.root.

However, I can't understand how to get s into the file. Reading through the code reveals

local (subtable = xml.getAddress (@xtable, "scriptingNews")); local (itemlist = xml.getAddressList (subtable, "item"), item); for item in itemlist { local (linklist = xml.getAddressList (item, "link")); if sizeof (linklist) > 0 { local (linetext = xml.getValue (linklist [1], "linetext")); local (url = xml.getValue (linklist [1], "url")); add (""); indentlevel++; add ("" + cleantext (linetext) + ""); add ("" + cleantext (url) + ""); add (""); indentlevel--}}

I think I need to alter that Scripting News reference, and build a subtable of "links". Can I do this through Console.root? Where can I make s?

with thanks -


There are responses to this message:


This page was archived on 6/13/2001; 4:50:35 PM.

© Copyright 1998-2001 UserLand Software, Inc.