mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 19:02:53 +00:00
64 lines
3.3 KiB
XML
64 lines
3.3 KiB
XML
<!-- Copyright: Mark Pilgrim (feed parser test suite). See LICENSE.UNITTESTS for details. -->
|
|
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
<entry>
|
|
<title>alternate link of type "text/html" pointing to "http://www.example.com"/</title>
|
|
<link rel="alternate" type="text/html" href="http://www.example.com/"/>
|
|
</entry>
|
|
<entry>
|
|
<title>alternate link of type "text/html" pointing to "http://www.example.com/", with a title</title>
|
|
<link rel="alternate" type="text/html" title="Example title" href="http://www.example.com/"/>
|
|
</entry>
|
|
<entry>
|
|
<title>a link without "rel" attribute. rel defaults to "alternate"</title>
|
|
<link type="text/html" href="http://www.example.com/"/>
|
|
</entry>
|
|
|
|
<entry>
|
|
<title>"related" link of type "text/html" pointing to "http://www.example.com/"</title>
|
|
<link rel="related" type="text/html" href="http://www.example.com/"/>
|
|
</entry>
|
|
<entry>
|
|
<title>"via" link of type "text/html" pointing to "http://www.example.com/"</title>
|
|
<link rel="via" type="text/html" href="http://www.example.com/"/>
|
|
</entry>
|
|
<entry>
|
|
<title>"self" link of type "text/html" pointing to "http://www.example.com/"</title>
|
|
<link rel="self" type="text/html" href="http://www.example.com/"/>
|
|
</entry>
|
|
<entry>
|
|
<title>rel="http://feedparser.org/rel/test"</title>
|
|
<link rel="http://feedparser.org/rel/test" type="text/html" href="http://www.example.com/"/>
|
|
</entry>
|
|
<entry>
|
|
<title>An enclosure link pointing to a website</title>
|
|
<link rel="enclosure" type="text/html" href="http://www.example.com/"/>
|
|
</entry>
|
|
<entry>
|
|
<title>Enclosure link to a mpeg4 file without "length" attribute. This should be mapped to an Enclosure!</title>
|
|
<link rel="enclosure" type="video/mpeg4" href="http://www.example.com/movie.mp4"/>
|
|
</entry>
|
|
<entry>
|
|
<title>Enclosure link to a mpeg4 file with "length" attribute. This should be mapped to an Enclosure!</title>
|
|
<link rel="enclosure" type="video/mpeg4" href="http://www.example.com/movie.mp4" length="42301"/>
|
|
</entry>
|
|
|
|
<entry>
|
|
<title>two links, one "alternate"/"application/xhtml+xml", one "service.post"/"application/atom+xml"</title>
|
|
<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"/>
|
|
</entry>
|
|
<entry>
|
|
<title>An "alternate" link with title and language information</title>
|
|
<link rel="alternate" type="text/html" title="Example title" href="http://www.example.com/" hreflang="en"/>
|
|
</entry>
|
|
<entry>
|
|
<title>multiple links with rel values of "alternate", "related" and "via"</title>
|
|
<link rel="alternate" href="http://www.example.com/alternate"></link>
|
|
<link rel="related" type="text/html" href="http://www.example.com/related"></link>
|
|
<link rel="via" type="text/html" href="http://www.example.com/via"></link>
|
|
</entry>
|
|
<entry>
|
|
<title>"alternate" link of type "application/xhtml+xml"</title>
|
|
<link rel="alternate" type="application/xhtml+xml" href="http://www.example.com/"/>
|
|
</entry>
|
|
</feed>
|