mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-03 18:03:37 +00: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.
25 lines
No EOL
818 B
XML
25 lines
No EOL
818 B
XML
<!--
|
|
SkipUnless: feedparser.BeautifulSoup
|
|
Description: 3.2.1 ADR
|
|
Expect: not bozo and entries[0].vcard == u'BEGIN:vCard\nVERSION:3.0\nADR;TYPE=dom,home,postal,parcel:;;123 Main Street;Any Town;CA;91921-1234\nEND:vCard'
|
|
-->
|
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
<title>3.2.1 ADR</title>
|
|
<entry>
|
|
<content type="xhtml">
|
|
<div xmlns="http://www.w3.org/1999/xhtml">
|
|
<div class="vcard">
|
|
<div class="adr">
|
|
<abbr class="type" title="dom">US</abbr>
|
|
<span class="type">home</span> address, for
|
|
<abbr class="type" title="postal">mail</abbr> and
|
|
<abbr class="type" title="parcel">shipments</abbr>:
|
|
<div class="street-address">123 Main Street</div>
|
|
<span class="locality">Any Town</span>, <span class="region">CA</span>,
|
|
<span class="postal-code">91921-1234</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</content>
|
|
</entry>
|
|
</feed> |