File: concatenated-documents.xml

package info (click to toggle)
listparser 0.20-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 964 kB
  • sloc: xml: 1,228; python: 818; makefile: 4
file content (24 lines) | stat: -rw-r--r-- 677 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0"?>
<!--
    Description: Test concatenated documents
    Eval: result['bozo'] == 0
    Eval: result['feeds'][0]['title'] == result['feeds'][1]['title']
-->
<!-- The xmlns attribute is necessary here -->
<opml version="2.0" xmlns="http://opml.org/spec2">
    <head></head>
    <body>
        <outline text="feedname" type="rss" xmlUrl="http://domain/feed1" />
    </body>
</opml>

<!--
    Re-opening the opml element without a namespace
    triggers a specific condition in listparser's URI-and-prefix code.
-->
<opml version="2.0">
    <head></head>
    <body>
        <outline text="feedname" type="rss" xmlUrl="http://domain/feed2" />
    </body>
</opml>