mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -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.
30 lines
743 B
XML
30 lines
743 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-prefixes">Dr.</span>
|
|
<span class="given-name">John</span>
|
|
<ul class="additional-names">
|
|
<li>Philip</li>
|
|
<li>Paul</li>
|
|
</ul>
|
|
<span class="family-name">Stevenson</span>,
|
|
<ul class="honorific-suffixes">
|
|
<li>Jr.</li>
|
|
<li>M.D.</li>
|
|
<li>A.C.P.</li>
|
|
</ul>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</content>
|
|
</entry>
|
|
</feed> |