mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-14 13:25:11 -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.
58 lines
3.1 KiB
XML
58 lines
3.1 KiB
XML
<!--
|
|
Credits: Simon Fell - http://www.pocketsoap.com/rssTests/rss2.0NSwithModulesNoDefNSLocalNameClash.xml - included here with permission
|
|
Description: RSS 2.0 in Username namespace, no default namespace, local namespace clash
|
|
Expect: not bozo and entries[0]['description'] == u'correct description'
|
|
-->
|
|
<r:rss version="2.0"
|
|
xmlns:r="http://backend.userland.com/rss2"
|
|
xmlns:admin="http://webns.net/mvcb/"
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
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:szf="http://schemas.pocketsoap.com/rss/myDescModule/"
|
|
xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/">
|
|
<r:channel>
|
|
<r:title>RSS Tests - RSS2.0 w/ NS, no default NS, localName clash</r:title>
|
|
<r:link>http://www.pocketsoap.com/rssTests/rss2.0NSwithModulesNoDefNSLocalNameClash.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>
|
|
<dc:language>en-gb</dc: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, localName clash</r:title>
|
|
<r:link>http://www.pocketsoap.com/weblog/rssTests/rss2.0NSwithModulesNoDefNSLocalNameClash.xml#1</r:link>
|
|
|
|
<l:link l:rel="http://purl.org/rss/1.0/modules/proposed/link/#permalink" l:type="text/html" rdf:resource="http://www.pocketsoap.com/weblog/rssTests/rss2.0NSwithModulesLocalNameClash.xml#1" />
|
|
<szf:description>This is a extension module that is in a different namespace, but uses a localname from the RSS core spec.
|
|
This shouldn't appear in your aggregator, but probably does. (pre rss:description - RSS2.0 w/ NS, no default NS, localName clash)
|
|
</szf:description>
|
|
<r:description>correct description</r:description>
|
|
<szf:description>This is a extension module that is in a different namespace, but uses a localname from the RSS core spec.
|
|
This shouldn't appear in your aggregator, but probably does. (post rss:description - RSS2.0 w/ NS, no default NS, localName clash)
|
|
</szf: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> |