Jonpopnycorn, on Nov 26 2006, 03:01 AM, said:
SpatialVisionary, on Nov 26 2006, 01:41 AM, said:
A good parser that is already written is
SimplePie
I've used it and it works quite well and if you have your rss feed where you can access it publically on their web site as they have a demo available where you can put in your rss fee link
im not doing an rss feed :S
Im trying to get it to result as
---------------------------------------------------------------------------
|
_____Item
_____|
___________Description
___________ |
---------------------------------------------------------------------------
|Dwarf remains | The body of a Dwarf savaged by Goblins. |
---------------------------------------------------------------------------
so on
& so on
RSS is written using XML. Using PHP you have to parse the information which is why I recommended
http://simplepie.org
<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:itunes="http://www.itunes.com/DTDs/Podcast-1.0.dtd" version="2.0">
<channel>
<title>Your Site Name</title>
<link>http://www.yoursite.com</link>
<description>Site Description</description>
<generator>Feeder 1.2.2.1 http://reinventedsoftware.com/feeder/</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<language>en</language>
<copyright>Your Name</copyright>
<pubDate>Fri, 05 May 2006 23:01:03 -0500</pubDate>
<lastBuildDate>Fri, 05 May 2006 23:01:04 -0500</lastBuildDate>
<item>
<title>Title for Item 1</title>
<link>Link for Item 1</link>
<description>Description for Item 1</description>
<pubDate>Fri, 05 May 2006 23:01:03 -0500</pubDate>
</item>
</channel>
</rss>
http://simplepie.org is a good place to start, as it will parse the typical information that is in an RSS/XML feed. I haven't learned enough about XML parsing to know how to parse the other stuff you have.
I know it would be in the XML feed something like this:
<item>
<title>Title for Item 1</title>
<link>Link for Item 1</link
<member>true</member>
<type>0</type>
<description>Description for Item 1</description>
<pubDate>Fri, 05 May 2006 23:01:03 -0500</pubDate>
</item>
or something like that