File: entry_source_contributor_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 (20 lines) | stat: -rw-r--r-- 704 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!--
Description: multiple entry source contributors
Expect:      not bozo and entries[0]['source']['contributors'][0] == {'name': 'Contributor 1', 'email': 'me@example.com', 'href': 'http://example.com/'} and entries[0]['source']['contributors'][1] == {'name': 'Contributor 2', 'email': 'you@example.com', 'href': 'http://two.example.com/'}
-->
<feed xmlns="http://www.w3.org/2005/Atom">
<entry>
<source>
  <contributor>
    <name>Contributor 1</name>
    <email>me@example.com</email>
    <uri>http://example.com/</uri>
  </contributor>
  <contributor>
    <name>Contributor 2</name>
    <email>you@example.com</email>
    <uri>http://two.example.com/</uri>
  </contributor>
</source>
</entry>
</feed>