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.
64 lines
2.8 KiB
XML
64 lines
2.8 KiB
XML
<!--
|
|
SkipUnless: feedparser.BeautifulSoup
|
|
Description: 7. Authors
|
|
Expect: not bozo and entries[0].vcard == 'BEGIN:vCard\nVERSION:3.0\nFN:Frank Dawson\nN:Dawson;Frank\nADR;TYPE=work,postal,parcel:;;6544 Battleford Drive;Raleigh;NC;27613-3502;U\n .S.A.\nTEL;TYPE=WORK,VOICE,MSG:+1-919-676-9515\nTEL;TYPE=WORK,FAX:+1-919-676-9564\nEMAIL;TYPE=internet,pref:Frank_Dawson@Lotus.com\nEMAIL;TYPE=internet:fdawson@earthlink.net\nORG:Lotus Development Corporation\nURL:http://home.earthlink.net/~fdawson\nEND:vCard\nBEGIN:vCard\nVERSION:3.0\nFN:Tim Howes\nN:Howes;Tim\nADR;TYPE=work:;;501 E. Middlefield Rd.;Mountain View;CA;94043;U.S.A.\nTEL;TYPE=WORK,VOICE,MSG:+1-415-937-3419\nTEL;TYPE=WORK,FAX:+1-415-528-4164\nEMAIL;TYPE=internet:howes@netscape.com\nORG:Netscape Communications Corp.\nEND:vCard'
|
|
-->
|
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
<title>7. Authors</title>
|
|
<entry>
|
|
<content type="xhtml">
|
|
<div xmlns="http://www.w3.org/1999/xhtml">
|
|
<div class="vcard">
|
|
<a class="url fn" href="http://home.earthlink.net/~fdawson">Frank Dawson</a>
|
|
<div class="org">Lotus Development Corporation</div>
|
|
<div class="adr">
|
|
<span class="type">work</span> address
|
|
(<abbr class="type" title="postal">mail</abbr> and
|
|
<abbr class="type" title="parcel">packages</abbr>):
|
|
<div class="street-address">6544 Battleford Drive</div>
|
|
<span class="locality">Raleigh</span>
|
|
<span class="region">NC</span>
|
|
<span class="postal-code">27613-3502</span>
|
|
<div class="country-name">U.S.A.</div>
|
|
</div>
|
|
<div class="tel">
|
|
<span class="value">+1-919-676-9515</span>
|
|
(<abbr class="type" title="WORK">w</abbr>,
|
|
<abbr class="type" title="VOICE">v</abbr><abbr class="type" title="MSG">m</abbr>)
|
|
</div>
|
|
<div class="tel">
|
|
<span class="value">+1-919-676-9564</span>
|
|
(<abbr class="type" title="WORK">w</abbr><abbr class="type" title="FAX">f</abbr>)
|
|
</div>
|
|
<a class="email" href="mailto:Frank_Dawson@Lotus.com">
|
|
<span class="type">pref</span>erred email
|
|
</a>,
|
|
<a class="email" href="mailto:fdawson@earthlink.net">
|
|
alternate email
|
|
</a>
|
|
</div>
|
|
<div class="vcard">
|
|
<a class="email fn" href="mailto:howes@netscape.com">Tim Howes</a>
|
|
<div class="org">Netscape Communications Corp.</div>
|
|
<div class="adr">
|
|
<span class="type">work</span> address:
|
|
<div class="street-address">501 E. Middlefield Rd.</div>
|
|
<span class="locality">Mountain View</span>,
|
|
<span class="region">CA</span>
|
|
<span class="postal-code">94043</span>
|
|
<div class="country-name">U.S.A.</div>
|
|
</div>
|
|
<div class="tel">
|
|
<span class="value">+1-415-937-3419</span>
|
|
(<abbr class="type" title="WORK">w</abbr>,
|
|
<abbr class="type" title="VOICE">v</abbr><abbr class="type" title="MSG">m</abbr>)
|
|
</div>
|
|
<div class="tel">
|
|
<span class="value">+1-415-528-4164</span>
|
|
(<abbr class="type" title="WORK">w</abbr><abbr class="type" title="FAX">f</abbr>)
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</content>
|
|
</entry>
|
|
</feed> |