mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-18 23:35:03 -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.
26 lines
802 B
XML
26 lines
802 B
XML
<!--
|
|
SkipUnless: feedparser.BeautifulSoup
|
|
Description: 3.1.2 N (example 2)
|
|
Expect: not bozo and entries[0].vcard == u'BEGIN:vCard\nVERSION:3.0\nN:Stevenson;John;Philip,Paul;Dr.;Jr.,M.D.,A.C.P.\nEND:vCard'
|
|
-->
|
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
<title>3.1.2 N (example 2)</title>
|
|
<entry>
|
|
<content type="xhtml">
|
|
<div xmlns="http://www.w3.org/1999/xhtml">
|
|
<div class="vcard">
|
|
<span class="n">
|
|
<span class="honorific-prefix">Dr.</span>
|
|
<span class="given-name">John</span>
|
|
<span class="additional-name">Philip</span>
|
|
<span class="additional-name">Paul</span>
|
|
<span class="family-name">Stevenson</span>,
|
|
<span class="honorific-suffix">Jr.</span>,
|
|
<span class="honorific-suffix">M.D.</span>,
|
|
<span class="honorific-suffix">A.C.P.</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</content>
|
|
</entry>
|
|
</feed> |