Re: [phpslash-users] Need help with xml parser
Brought to you by:
joestewart,
nhruby
From: Matthew L. <lei...@ma...> - 2003-10-03 11:57:27
|
On Fri, 2003-10-03 at 03:40, Lars wrote: > Hi, > > 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 ? > > Cheers, > > Lars 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 topic data. If you're asking how to package it in an XML feed, what about the Dublin Core "subject" field? http://dublincore.org/documents/dces/#subject HTH, Matt -- Matthew Leingang Harvard University Department of Mathematics lei...@ma... |