<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>entries[i].link — feedparser 5.1.3 documentation</title> <link rel="stylesheet" href="_static/default.css" type="text/css" /> <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> <link rel="stylesheet" href="_static/feedparser.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '', VERSION: '5.1.3', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="_static/jquery.js"></script> <script type="text/javascript" src="_static/underscore.js"></script> <script type="text/javascript" src="_static/doctools.js"></script> <link rel="top" title="feedparser 5.1.3 documentation" href="index.html" /> <link rel="up" title="Reference" href="reference.html" /> <link rel="next" title="entries[i].links" href="reference-entry-links.html" /> <link rel="prev" title="entries[i].license" href="reference-entry-license.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="reference-entry-links.html" title="entries[i].links" accesskey="N">next</a> |</li> <li class="right" > <a href="reference-entry-license.html" title="entries[i].license" accesskey="P">previous</a> |</li> <li><a href="index.html">feedparser 5.1.3 documentation</a> »</li> <li><a href="reference.html" accesskey="U">Reference</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="entries-i-link"> <span id="reference-entry-link"></span><h1><tt class="xref py py-attr docutils literal"><span class="pre">entries[i].link</span></tt><a class="headerlink" href="#entries-i-link" title="Permalink to this headline">ΒΆ</a></h1> <p>The primary link of this entry. Most feeds use this as the permanent link to the entry in the site’s archives.</p> <p>If this is a relative <abbr title="Uniform Resource Identifier">URI</abbr>, it is <a class="reference internal" href="resolving-relative-links.html#advanced-base"><em>resolved according to a set of rules</em></a>.</p> <p>Some <abbr title="Rich Site Summary">RSS</abbr> feeds use guid when they mean link. guid can also be used as an opaque identifier that has nothing to do with links. If an <abbr title="Rich Site Summary">RSS</abbr> feed uses guid as the entry link and no link is present, <strong class="program">Universal Feed Parser</strong> detects this and makes the guid available in <tt class="xref py py-attr docutils literal"><span class="pre">entries[i].link</span></tt>.</p> <p>In other words, you can always use <tt class="xref py py-attr docutils literal"><span class="pre">entries[i].link</span></tt> to get the entry link, regardless of how the feed is actually structured.</p> <p class="rubric">Comes from</p> <ul class="simple"> <li>/atom03:feed/atom03:entry/atom03:link[@rel=”alternate”]/@href</li> <li>/atom10:feed/atom10:entry/atom10:link[@rel=”alternate”]/@href</li> <li>/atom10:feed/atom10:entry/atom10:link[not(@rel)]/@href</li> <li>/rdf:RDF/rdf:item/rdf:link</li> <li>/rss/channel/item/link</li> </ul> <div class="admonition-see-also admonition seealso"> <p class="first admonition-title">See also</p> <ul class="last simple"> <li><a class="reference internal" href="reference-entry-links.html#reference-entry-links"><em>entries[i].links</em></a></li> </ul> </div> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h4>Previous topic</h4> <p class="topless"><a href="reference-entry-license.html" title="previous chapter"><tt class="docutils literal docutils literal docutils literal"><span class="pre">entries[i].license</span></tt></a></p> <h4>Next topic</h4> <p class="topless"><a href="reference-entry-links.html" title="next chapter"><tt class="docutils literal"><span class="pre">entries[i].links</span></tt></a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="_sources/reference-entry-link.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="search.html" method="get"> <input type="text" name="q" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="genindex.html" title="General Index" >index</a></li> <li class="right" > <a href="reference-entry-links.html" title="entries[i].links" >next</a> |</li> <li class="right" > <a href="reference-entry-license.html" title="entries[i].license" >previous</a> |</li> <li><a href="index.html">feedparser 5.1.3 documentation</a> »</li> <li><a href="reference.html" >Reference</a> »</li> </ul> </div> <div class="footer"> © Copyright 2004-2008 Mark Pilgrim, 2010-2012 Kurt McKee. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3. </div> </body> </html>