mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-18 07:15:13 -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.
12 lines
728 B
XML
12 lines
728 B
XML
<!--
|
|
Description: SVG
|
|
Expect: not bozo and entries[0]['description'] == '<svg baseProfile="full" height="200px" version="1.1" width="300px" xmlns="http://www.w3.org/2000/svg"><a xlink:href="http://example.com/" xmlns:xlink="http://www.w3.org/1999/xlink"><circle cx="150px" cy="100px" fill="#ff0000" r="50px" stroke="#000000" stroke-width="5px"></a></svg>'
|
|
-->
|
|
<rss version="2.0">
|
|
<channel>
|
|
<item>
|
|
<description><svg version="1.1" baseProfile="full" width="300px" height="200px" xmlns="http://www.w3.org/2000/svg"><a xlink:href="http://example.com/"><circle cx="150px" cy="100px" r="50px" fill="#ff0000" stroke="#000000" stroke-width="5px" /></a></svg></description>
|
|
</item>
|
|
</channel>
|
|
</rss>
|