[Mono-list] RSS readers
Rob Brown-Bayliss
uncertain.genius at gmail.com
Sun Oct 1 18:16:29 EDT 2006
Hi, I am using a dll called Rss.NET from http://rss-net.sourceforge.net/
I can't find any contact on their web site so I thought I would ask here:
I have this sample of an rss feed:
// <item>
// <pubDate>Sun, 01 Oct 2006 20:06:41 GMT</pubDate>
// <title>M 2.7, Southern California</title>
// <description>October 01, 2006 20:06:41 GMT</description>
// -
// <link>
// http://earthquake.usgs.gov/eqcenter/recenteqsww/Quakes/ci14254252.php
// </link>
// <geo:lat>33.2446</geo:lat>
// <geo:long>-116.1261</geo:long>
// <dc:subject>2</dc:subject>
// <dc:subject>pasthour</dc:subject>
// <dc:subject>3.50 km</dc:subject>
// <guid isPermaLink="false">ci14254252</guid>
// </item>
and this snipet of code:
private void ListQuakes()
{
Console.WriteLine (this.channel.Title);
items = this.channel.Items;
IEnumerator enu = this.items.GetEnumerator();
while (enu.MoveNext ()) {
Rss.RssItem item = (Rss.RssItem) enu.Current;
Console.WriteLine (item.Title);
Console.WriteLine (item.Description);
}
}
which works, but I cant seem to find any way of extracting the <geo:
and <dc: data from the items.
Does any one have some experience with this library or pointers to
another c# RSS library I could use?
Thanks.
--
Rob
More information about the Mono-list
mailing list