File: entry_source_link_multiple.xml

package info (click to toggle)
feedparser 6.0.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,540 kB
  • sloc: xml: 11,459; python: 4,575; makefile: 7
file content (12 lines) | stat: -rw-r--r-- 601 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
<!--
Description: entry source multiple links
Expect:      not bozo and entries[0]['source']['links'][0] == {'rel': 'alternate', 'type': 'application/xhtml+xml', 'href': 'http://www.example.com/'} and entries[0]['source']['links'][1] == {'rel': 'service.post', 'type': 'application/atom+xml', 'href': 'http://www.example.com/post'}
-->
<feed xmlns="http://www.w3.org/2005/Atom">
<entry>
<source>
  <link rel="alternate" type="application/xhtml+xml" href="http://www.example.com/"/>
  <link rel="service.post" type="application/atom+xml" href="http://www.example.com/post"/>
</source>
</entry>
</feed>