mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-14 20:12:19 -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.
53 lines
3.1 KiB
XML
53 lines
3.1 KiB
XML
<!--
|
|
Credits: Simon Fell - adapted from http://www.pocketsoap.com/rssTests/rss1.0withModulesNoDefNSLocalNameClash.xml - included here with permission
|
|
Description: RSS 1.0, no default namespace, local namespace clash
|
|
Expect: not bozo and entries[0]['description'] == u'correct description'
|
|
-->
|
|
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
xmlns:rss="http://purl.org/rss/1.0/"
|
|
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:szf="http://schemas.pocketsoap.com/rss/myDescModule/"
|
|
xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/">
|
|
<rss:channel rdf:about="http://www.pocketsoap.com/rssTests/">
|
|
<rss:title>RSS Tests - RSS 1.0 no Default NS, localName clashes</rss:title>
|
|
<rss:link>http://www.pocketsoap.com/rssTests/rss1.0withModulesNoDefNSLocalNameClash.xml</rss:link>
|
|
<rss:description>A set of test RSS files for examining the state of extension support in RSS aggregators</rss:description>
|
|
<dc:language>en-gb</dc:language>
|
|
<dc:rights>Copyright 2002 Simon Fell</dc:rights>
|
|
|
|
<dc:date>2002-09-28T20:01:19Z</dc:date>
|
|
<dc:creator>sf@zaks.demon.co.uk</dc:creator>
|
|
<dc:publisher>sf@zaks.demon.co.uk</dc:publisher>
|
|
<admin:errorReportsTo rdf:resource="mailto:sf@zaks.demon.co.uk" />
|
|
<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>
|
|
<rss:image rdf:resource="http://www.w3.org/RDF/icons/rdf_powered_button.32" />
|
|
<rss:items>
|
|
<rdf:Seq>
|
|
<rdf:li rdf:resource="http://www.pocketsoap.com/weblog/rssTests/rss1.0withModulesNoDefNSLocalNameClash.xml#1" />
|
|
</rdf:Seq>
|
|
</rss:items>
|
|
|
|
</rss:channel>
|
|
<rss:item rdf:about="http://www.pocketsoap.com/weblog/rssTests/rss1.0withModulesNoDefNSLocalNameClash.xml#1">
|
|
<rss:title>Test Item - RSS 1.0 no Default NS, localName clashes</rss:title>
|
|
<rss:link>http://www.pocketsoap.com/weblog/rssTests/rss1.0withModulesNoDefNSLocalNameClash.xml#1</rss: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/rss1.0withModulesNoDefNSLocalNameClash.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 RSS 1.0 no Default NS, localName clashes)
|
|
</szf:description>
|
|
<rss:description>correct description</rss: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 RSS 1.0 no Default NS, localName clashes)
|
|
</szf:description>
|
|
<dcterms:modified>2002-09-28T20:01:19Z</dcterms:modified>
|
|
<dcterms:created>2002-09-28T20:01:19Z</dcterms:created>
|
|
</rss:item>
|
|
</rdf:RDF> |