mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-14 20:12:19 -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.
23 lines
885 B
XML
23 lines
885 B
XML
<!--
|
|
SkipUnless: feedparser.BeautifulSoup
|
|
Description: 2.4.2 VCARD
|
|
Expect: not bozo and entries[0].vcard == u'BEGIN:vCard\nVERSION:3.0\nAGENT:BEGIN:vCard\\nVERSION:3.0\\nFN:Joe Friday\\nN:Friday\\;Joe\\nTEL\\;TYPE=voi\n ce:+1-919-555-7878\\nEMAIL\\;TYPE=internet:jfriday@host.com\\nTITLE:Area Admi\n nistrator\\, Assistant\\nEND:vCard\\n\nEND:vCard'
|
|
-->
|
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
<title>2.4.2 VCARD</title>
|
|
<link rel="alternate" type="text/v-card" href="2-4-2-vcard.vcf" />
|
|
<entry>
|
|
<content type="xhtml">
|
|
<div xmlns="http://www.w3.org/1999/xhtml">
|
|
<div class="vcard">
|
|
<div class="agent vcard">
|
|
<a class="email fn" href="mailto:jfriday@host.com">Joe Friday</a>
|
|
<div class="tel">+1-919-555-7878</div>
|
|
<div class="title">Area Administrator, Assistant</div>
|
|
</div>
|
|
</div>
|
|
<p><a rel="next test" href="3-1-1-fn.xhtml">next</a></p>
|
|
</div>
|
|
</content>
|
|
</entry>
|
|
</feed> |