feed.links [Universal Feed Parser]
Keywords: RSS, Atom, CDF, XML, feed, parser, Python

# Universal Feed Parser

Parse RSS and Atom feeds in Python. 2000 unit tests. Open source.

- Download ·
- Documentation ·
- Unit tests ·
- Report a bug

## feed.links

A list of dictionaries with details on the links associated with the feed. Each link has a `rel` (relationship), `type` (content type), and `href` (the URL that the link points to). Some links may also have a `title`.

### Comes from

- `/atom:feed/atom:link`
- `/rss/channel/link`
- `/rdf:RDF/rdf:channel/rdf:link`

### See also

- feed.link

### feed.links[i].rel

The relationship of this feed link.

Here is a partial list of common `rel` values. Other possible `rel` values and their meanings are documented on the Atom project site.

- `alternate`
- `icon`
- `comments`
- `start`
- `next`
- `prev`
- `service.post`
- `service.feed`

### feed.links[i].type

The content type of the page that this feed link points to.

### feed.links[i].href

The URL of the page that this feed link points to.

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

### feed.links[i].title

The title of this feed link.

← feed.link
feed.tagline →