Navigation

  • index
  • next |
  • previous |
  • feedparser 5.2.0 documentation »
  • Reference »

entries[i].link¶

The primary link of this entry. Most feeds use this as the permanent link to the entry in the site’s archives.

If this is a relative URI, it is resolved according to a set of rules.

Some RSS 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 RSS feed uses guid as the entry link and no link is present, Universal Feed Parser detects this and makes the guid available in entries[i].link.

In other words, you can always use entries[i].link to get the entry link, regardless of how the feed is actually structured.

Comes from

  • /atom03:feed/atom03:entry/atom03:link[@rel=”alternate”]/@href
  • /atom10:feed/atom10:entry/atom10:link[@rel=”alternate”]/@href
  • /atom10:feed/atom10:entry/atom10:link[not(@rel)]/@href
  • /rdf:RDF/rdf:item/rdf:link
  • /rss/channel/item/link

See also

  • entries[i].links

Previous topic

entries[i].license

Next topic

entries[i].links

This Page

  • Show Source

Quick search

Enter search terms or a module, class or function name.

Navigation

  • index
  • next |
  • previous |
  • feedparser 5.2.0 documentation »
  • Reference »
© Copyright 2004-2008 Mark Pilgrim, 2010-2015 Kurt McKee. Created using Sphinx 1.3.1.