I'm doing some work on the backend file to allow an xml feed. I need to add
the topic to this feed, but I cannot find out how to do this. Could anyone
help me with this ?
Fortunately, network designers and administrators as a general rule are not
afraid of complexity (if anything, they tend to be inordinately fascinated
-- Lawrence, page 1, Using NetWare 4
From: Matthew Leingang <leingang@ma...> - 2003-10-03 11:57:27
On Fri, 2003-10-03 at 03:40, Lars wrote:
> I'm doing some work on the backend file to allow an xml feed. I need to add
> the topic to this feed, but I cannot find out how to do this. Could anyone
> help me with this ?
What do you mean by "how to do this"? Backend.php3 uses the
Story_base::extractStories function, which returns a list of story
hashes. The "topic_name_ary"-th element in each story hash is an array
of topic names to which the story belongs. There is also a
"topic_id_ary" key in the array if you want it. That's how you can get
If you're asking how to package it in an XML feed, what about the Dublin
Core "subject" field?
Harvard University Department of Mathematics
Get latest updates about Open Source Projects, Conferences and News.