mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-06 01:15:05 -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.
20 lines
685 B
XML
20 lines
685 B
XML
<!--
|
|
SkipUnless: feedparser.BeautifulSoup
|
|
Description: 3.5.4 AGENT (example 2)
|
|
Expect: not bozo and entries[0].vcard == u'BEGIN:vCard\nVERSION:3.0\nAGENT:BEGIN:vCard\\nVERSION:3.0\\nFN:Susan Thomas\\nN:\\nTEL\\;TYPE=voice:+1-919\n -555-1234\\nEMAIL\\;TYPE=internet:sthomas@host.com\\nEND:vCard\\n\nEND:vCard'
|
|
-->
|
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
<title>3.5.4 AGENT (example 2)</title>
|
|
<entry>
|
|
<content type="xhtml">
|
|
<div xmlns="http://www.w3.org/1999/xhtml">
|
|
<div class="vcard">
|
|
<span class="agent vcard">
|
|
<a class="email fn n" href="mailto:sthomas@host.com">Susan Thomas</a>,
|
|
<span class="tel">+1-919-555-1234</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</content>
|
|
</entry>
|
|
</feed> |