File: reference-feed-links.html

package info (click to toggle)
nodebox-web 1.9.2-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,724 kB
  • ctags: 1,254
  • sloc: python: 6,161; sh: 602; xml: 239; makefile: 33
file content (103 lines) | stat: -rw-r--r-- 5,801 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>feed.links [Universal Feed Parser]</title>
<link rel="stylesheet" href="feedparser.css" type="text/css">
<link rev="made" href="mailto:mark@diveintomark.org">
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
<meta name="keywords" content="RSS, Atom, CDF, XML, feed, parser, Python">
<link rel="start" href="index.html" title="Documentation">
<link rel="up" href="reference.html" title="Reference">
<link rel="prev" href="reference-feed-link.html" title="feed.link">
<link rel="next" href="reference-feed-subtitle.html" title="feed.subtitle">
</head>
<body id="feedparser-org" class="docs">
<div class="z" id="intro"><div class="sectionInner"><div class="sectionInner2">
<div class="s" id="pageHeader">
<h1><a href="/"><span>Universal Feed Parser</span></a></h1>
<p><span>Parse RSS and Atom feeds in Python.  3000 unit tests.  Open source.</span></p>
</div>
<div class="s" id="quickSummary"><ul>
<li class="li1">
<a href="http://sourceforge.net/projects/feedparser/"><span>Download</span></a> ·</li>
<li class="li2">
<a href="http://feedparser.org/docs/"><span>Documentation</span></a> ·</li>
<li class="li3">
<a href="http://feedparser.org/tests/"><span>Unit tests</span></a> ·</li>
<li class="li4"><a href="http://sourceforge.net/tracker/?func=browse&amp;group_id=112328&amp;atid=661937"><span>Report a bug</span></a></li>
</ul></div>
</div></div></div>
<div id="main"><div id="mainInner">
<p id="breadcrumb">You are here: <a href="index.html">Documentation</a> → <a href="reference.html">Reference</a> → <span class="thispage">feed.links</span></p>
<div class="section" lang="en">
<div class="titlepage">
<div><div><h2 class="title">
<a name="reference.feed.links" class="skip" href="#reference.feed.links" title="link to this section"><img src="images/permalink.gif" alt="[link]" title="link to this section" width="8" height="9"></a> feed.links</h2></div></div>
<div></div>
</div>
<div class="abstract"><p>A list of dictionaries with details on the links associated with the feed.  Each link has a <tt class="sgmltag-attribute">rel</tt> (relationship), <tt class="sgmltag-attribute">type</tt> (content type), and <tt class="sgmltag-attribute">href</tt> (the <acronym title="Uniform Resource Locator">URL</acronym> that the link points to).  Some links may also have a <tt class="sgmltag-attribute">title</tt>.</p></div>
<div class="reference-from">
<h3>Comes from</h3>
<ul>
<li><tt class="literal">/atom10:feed/atom10:link</tt></li>
<li><tt class="literal">/atom03:feed/atom03:link</tt></li>
<li><tt class="literal">/rss/channel/link</tt></li>
<li><tt class="literal">/rdf:RDF/rdf:channel/rdf:link</tt></li>
</ul>
</div>
<div class="seealso">
<h3>See also</h3>
<ul><li><a href="reference-feed-link.html" title="feed.link">feed.link</a></li></ul>
</div>
<div class="section" lang="en">
<div class="titlepage">
<div><div><h3 class="title">
<a name="reference.feed.links.rel" class="skip" href="#reference.feed.links.rel" title="link to this section"><img src="images/permalink.gif" alt="[link]" title="link to this section" width="8" height="9"></a> feed.links[i].rel</h3></div></div>
<div></div>
</div>
<p>The relationship of this feed link.</p>
<p>Atom 1.0 defines five standard link relationships and describes the process for registering others.  Here are the five standard <tt class="sgmltag-attribute">rel</tt> values:</p>
<div class="itemizedlist"><ul>
<li><tt class="constant">alternate</tt></li>
<li><tt class="constant">self</tt></li>
<li><tt class="constant">related</tt></li>
<li><tt class="constant">via</tt></li>
<li><tt class="constant">enclosure</tt></li>
</ul></div>
</div>
<div class="section" lang="en">
<div class="titlepage">
<div><div><h3 class="title">
<a name="reference.feed.links.type" class="skip" href="#reference.feed.links.type" title="link to this section"><img src="images/permalink.gif" alt="[link]" title="link to this section" width="8" height="9"></a> feed.links[i].type</h3></div></div>
<div></div>
</div>
<p>The content type of the page that this feed link points to.</p>
</div>
<div class="section" lang="en">
<div class="titlepage">
<div><div><h3 class="title">
<a name="reference.feed.links.href" class="skip" href="#reference.feed.links.href" title="link to this section"><img src="images/permalink.gif" alt="[link]" title="link to this section" width="8" height="9"></a> feed.links[i].href</h3></div></div>
<div></div>
</div>
<p>The <acronym title="Uniform Resource Locator">URL</acronym> of the page that this feed link points to.</p>
<p>If this is a relative <acronym title="Uniform Resource Identifier">URI</acronym>, it is <a href="resolving-relative-links.html" title="Relative Link Resolution">resolved according to a set of rules</a>.</p>
</div>
<div class="section" lang="en">
<div class="titlepage">
<div><div><h3 class="title">
<a name="reference.feed.links.title" class="skip" href="#reference.feed.links.title" title="link to this section"><img src="images/permalink.gif" alt="[link]" title="link to this section" width="8" height="9"></a> feed.links[i].title</h3></div></div>
<div></div>
</div>
<p>The title of this feed link.</p>
</div>
</div>
<div style="float: left">← <a class="NavigationArrow" href="reference-feed-link.html">feed.link</a>
</div>
<div style="text-align: right">
<a class="NavigationArrow" href="reference-feed-subtitle.html">feed.subtitle</a> →</div>
<hr style="clear:both">
<div class="footer"><p class="copyright">Copyright © 2004, 2005, 2006 Mark Pilgrim</p></div>
</div></div>
</body>
</html>