File: xml_parser_complex_1.xml

package info (click to toggle)
python-georss-client 0.18-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 320 kB
  • sloc: python: 1,582; xml: 430; makefile: 8; sh: 5
file content (118 lines) | stat: -rw-r--r-- 4,426 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:georss="http://www.georss.org/georss"
     xmlns:gml='http://www.opengis.net/gml'
     xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
     xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
    <channel>
        <title>Feed Title 1</title>
        <subtitle>Feed Subtitle 1</subtitle>
        <description>Feed Description 1</description>
        <link>Feed Link 1</link>
        <pubDate>Sun, 09 Dec 2018 08:30:00 GMT</pubDate>
        <updated>2018-12-09T08:45:00+00:00</updated>
        <copyright>Feed Copyright 1</copyright>
        <generator>Feed Generator 1</generator>
        <language>Feed Language 1</language>
        <docs>http://docs.url/documentation.html</docs>
        <ttl>42</ttl>
        <author>
            <name>Feed Author 1</name>
        </author>
        <category>Feed Category 1</category>
        <image>
            <title>Image Title 1</title>
            <url>http://image.url/image.png</url>
            <link>http://feed.link/feed.rss</link>
            <description>Image Description 1</description>
            <width>123</width>
            <height>234</height>
        </image>
        <random>Feed Random 1</random>
        <item>
            <title>Title 1</title>
            <description>Description 1</description>
            <link>Link 1</link>
            <pubDate>Sun, 09 Dec 2018 07:30:00 GMT</pubDate>
            <updated>2018-12-09T07:45:00+00:00</updated>
            <guid>GUID 1</guid>
            <source>Source 1</source>
            <category>Category 1</category>
            <random>Random 1</random>
            <georss:point>-37.4567 149.3456</georss:point>
        </item>
        <item>
            <title>Title 2</title>
            <summary>Description 2</summary>
            <link href="Link 2"/>
            <published>Sun, 09 Dec 2018 07:35:00 GMT</published>
            <updated>2018-12-09T07:50:00+00:00</updated>
            <id>GUID 2</id>
            <category term="Category 2"/>
            <georss:where>
                <gml:Point>
                    <gml:pos>-37.5678 149.4567</gml:pos>
                </gml:Point>
            </georss:where>
        </item>
        <item>
            <title>Title 3</title>
            <content>Description 3</content>
            <dc:date>Sun, 09 Dec 2018 07:40:00 GMT</dc:date>
            <updated>2018-12-09T07:55:00+00:00</updated>
            <guid isPermaLink="false">
                GUID 3
            </guid>
            <category>Category 3A</category>
            <category>Category 3B</category>
            <category>Category 3C</category>
            <geo:Point>
                <geo:lat>-37.6789</geo:lat>
                <geo:long>149.5678</geo:long>
            </geo:Point>
        </item>
        <item>
            <title>Title 4</title>
            <description type="'text">Description 4</description>
            <contributor>
                <name>Author 4</name>
            </contributor>
            <category term="Category 4A"/>
            <category term="Category 4B"/>
            <published>Sun, 30 Sep 2018 21:36:48 +1000</published>
            <geo:lat>-37.7890</geo:lat>
            <geo:long>149.6789</geo:long>
        </item>
        <item>
            <title>Title 5</title>
            <summary type="'text">Description 5</summary>
            <published>Thu, 20 Sep 2018 18:01:55 +0200</published>
            <georss:polygon>
                -30.1 150.1
                -30.2 150.2
                -30.4 150.4
                -30.8 150.8
                -30.1 150.1
            </georss:polygon>
        </item>
        <item>
            <title>Title 6</title>
            <content type="text">Description 6</content>
            <published>Sun, 7 Oct 2018 19:52:00 -0200</published>
            <georss:where>
                <gml:Polygon>
                    <gml:exterior>
                        <gml:LinearRing>
                            <gml:posList>
                                -30.1 150.1
                                -30.2 150.2
                                -30.4 150.4
                                -30.8 150.8
                                -30.1 150.1
                            </gml:posList>
                        </gml:LinearRing>
                    </gml:exterior>
                </gml:Polygon>
            </georss:where>
        </item>
    </channel>
</rss>