Warning, /frameworks/syndication/autotests/atom/atom10_entry_link.xml is written in an unsupported language. File is not indexed.
0001 <!-- Copyright: Mark Pilgrim (feed parser test suite). See LICENSE.UNITTESTS for details. --> 0002 <feed xmlns="http://www.w3.org/2005/Atom"> 0003 <entry> 0004 <title>alternate link of type "text/html" pointing to "http://www.example.com"/</title> 0005 <link rel="alternate" type="text/html" href="http://www.example.com/"/> 0006 </entry> 0007 <entry> 0008 <title>alternate link of type "text/html" pointing to "http://www.example.com/", with a title</title> 0009 <link rel="alternate" type="text/html" title="Example title" href="http://www.example.com/"/> 0010 </entry> 0011 <entry> 0012 <title>a link without "rel" attribute. rel defaults to "alternate"</title> 0013 <link type="text/html" href="http://www.example.com/"/> 0014 </entry> 0015 0016 <entry> 0017 <title>"related" link of type "text/html" pointing to "http://www.example.com/"</title> 0018 <link rel="related" type="text/html" href="http://www.example.com/"/> 0019 </entry> 0020 <entry> 0021 <title>"via" link of type "text/html" pointing to "http://www.example.com/"</title> 0022 <link rel="via" type="text/html" href="http://www.example.com/"/> 0023 </entry> 0024 <entry> 0025 <title>"self" link of type "text/html" pointing to "http://www.example.com/"</title> 0026 <link rel="self" type="text/html" href="http://www.example.com/"/> 0027 </entry> 0028 <entry> 0029 <title>rel="http://feedparser.org/rel/test"</title> 0030 <link rel="http://feedparser.org/rel/test" type="text/html" href="http://www.example.com/"/> 0031 </entry> 0032 <entry> 0033 <title>An enclosure link pointing to a website</title> 0034 <link rel="enclosure" type="text/html" href="http://www.example.com/"/> 0035 </entry> 0036 <entry> 0037 <title>Enclosure link to a mpeg4 file without "length" attribute. This should be mapped to an Enclosure!</title> 0038 <link rel="enclosure" type="video/mpeg4" href="http://www.example.com/movie.mp4"/> 0039 </entry> 0040 <entry> 0041 <title>Enclosure link to a mpeg4 file with "length" attribute. This should be mapped to an Enclosure!</title> 0042 <link rel="enclosure" type="video/mpeg4" href="http://www.example.com/movie.mp4" length="42301"/> 0043 </entry> 0044 0045 <entry> 0046 <title>two links, one "alternate"/"application/xhtml+xml", one "service.post"/"application/atom+xml"</title> 0047 <link rel="alternate" type="application/xhtml+xml" href="http://www.example.com/"/> 0048 <link rel="service.post" type="application/atom+xml" href="http://www.example.com/post"/> 0049 </entry> 0050 <entry> 0051 <title>An "alternate" link with title and language information</title> 0052 <link rel="alternate" type="text/html" title="Example title" href="http://www.example.com/" hreflang="en"/> 0053 </entry> 0054 <entry> 0055 <title>multiple links with rel values of "alternate", "related" and "via"</title> 0056 <link rel="alternate" href="http://www.example.com/alternate"></link> 0057 <link rel="related" type="text/html" href="http://www.example.com/related"></link> 0058 <link rel="via" type="text/html" href="http://www.example.com/via"></link> 0059 </entry> 0060 <entry> 0061 <title>"alternate" link of type "application/xhtml+xml"</title> 0062 <link rel="alternate" type="application/xhtml+xml" href="http://www.example.com/"/> 0063 </entry> 0064 </feed>