mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-11 20:05:04 -05:00
0e82c5f573
Adjusted code for custom RSS feed parsing now that feedparser does the parsing for us all we do is pull the data from the returned entries.
50 lines
2.5 KiB
XML
50 lines
2.5 KiB
XML
<!--
|
|
Credits: Simon Fell - http://www.pocketsoap.com/rssTests/rss2.0NSwithModulesNoDefNS.xml - included here with permission
|
|
Description: RSS 2.0 in Username namespace, no default namespace
|
|
Expect: not bozo and entries[0]['title'] == u'Test Item - - RSS2.0 w/ NS no default NS'
|
|
-->
|
|
<r:rss version="2.0"
|
|
xmlns:r="http://backend.userland.com/rss2"
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
xmlns:admin="http://webns.net/mvcb/"
|
|
xmlns:ag="http://purl.org/rss/modules/aggregation/"
|
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
xmlns:dcterms="http://purl.org/dc/terms/"
|
|
xmlns:l="http://purl.org/rss/1.0/modules/link/"
|
|
xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/">
|
|
<r:channel>
|
|
<r:title>RSS Tests - RSS2.0 w/ NS no default NS</r:title>
|
|
<r:link>http://www.pocketsoap.com/rssTests/rss2.0NSwithModulesNoDefNS.xml</r:link>
|
|
<r:description>A set of test RSS files for examining the state of extension support in RSS aggregators</r:description>
|
|
<r:language>en-gb</r:language>
|
|
<r:copyright>Copyright 2002 Simon Fell</r:copyright>
|
|
|
|
<dc:rights>Copyright 2002 Simon Fell</dc:rights>
|
|
<dc:date>2002-09-28T21:00:02Z</dc:date>
|
|
<r:lastBuildDate>Sat, 28 Sep 2002 21:00:02 GMT</r:lastBuildDate>
|
|
<r:pubDate>Sat, 28 Sep 2002 21:00:02 GMT</r:pubDate>
|
|
<dc:creator>sf@zaks.demon.co.uk</dc:creator>
|
|
<r:managingEditor>sf@zaks.demon.co.uk</r:managingEditor>
|
|
|
|
<dc:publisher>sf@zaks.demon.co.uk</dc:publisher>
|
|
<r:generator>ultraedit-32</r:generator>
|
|
<admin:errorReportsTo rdf:resource="mailto:sf@zaks.demon.co.uk" />
|
|
<r:webMaster>sf@zaks.demon.co.uk (Simon Fell)</r:webMaster>
|
|
<dcterms:issued>2002-09-28T20:01:19Z</dcterms:issued>
|
|
<dcterms:created>2002-01-12T02:15:32Z</dcterms:created>
|
|
|
|
<dcterms:modified>2002-09-28T20:01:19Z</dcterms:modified>
|
|
<dcterms:dateCopyrighted>2002</dcterms:dateCopyrighted>
|
|
|
|
<r:item>
|
|
<r:title>Test Item - - RSS2.0 w/ NS no default NS</r:title>
|
|
<r:link>http://www.pocketsoap.com/weblog/rssTests/rss2.0withModulesNoDefNS.xml#1</r:link>
|
|
<r:description>This is a fairly standard RSS 2.0 feed, it uses a few modules, the RSS 2.0 elements are in the http://backend.userland.com/rss2 namespace, all module elements are in their required namespaces.
|
|
there are no localname clashes, all elements uses namespace prefixes, there is no default namespace declared. This is very similar to a RSS1.0 feed. (RSS2.0 w/ NS no default NS)
|
|
</r:description>
|
|
|
|
<dcterms:modified>2002-09-28T20:01:19Z</dcterms:modified>
|
|
<dcterms:created>2002-09-28T20:01:19Z</dcterms:created>
|
|
</r:item>
|
|
</r:channel>
|
|
</r:rss> |