mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-11 20:05:04 -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
879 B
XML
30 lines
879 B
XML
<!--
|
|
SkipUnless: feedparser.BeautifulSoup
|
|
Description: 3.2.2 LABEL
|
|
Expect: not bozo and entries[0].vcard == u'BEGIN:vCard\nVERSION:3.0\nLABEL;TYPE=dom,home,postal,parcel:Mr.John Q. Public, Esq.\nMail Drop: TNE QB\n \n123 Main Street\nAny Town, CA 91921-1234\nU.S.A.\nEND:vCard'
|
|
-->
|
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
<title>3.2.2 LABEL</title>
|
|
<entry>
|
|
<content type="xhtml">
|
|
<div xmlns="http://www.w3.org/1999/xhtml">
|
|
<div class="vcard">
|
|
Please use the following address label for
|
|
<div class="label">
|
|
<abbr class="type" title="dom">local delivery</abbr>
|
|
<abbr class="type" title="home">to my home</abbr>
|
|
<abbr class="type" title="postal">of mail</abbr>
|
|
<abbr class="type" title="parcel">and packages:</abbr>
|
|
<pre>
|
|
Mr.John Q. Public, Esq.
|
|
Mail Drop: TNE QB
|
|
123 Main Street
|
|
Any Town, CA 91921-1234
|
|
U.S.A.
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</content>
|
|
</entry>
|
|
</feed> |