| Server IP : 182.53.201.61 / Your IP : 216.73.217.175 Web Server : Apache/2.2.15 (Fedora) System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 User : apache ( 48) PHP Version : 5.3.3 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11490/root/usr/share/doc/python-feedparser-4.1/html/ |
Upload File : |
<!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.image [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-contributors.html" title="feed.contributors">
<link rel="next" href="reference-feed-icon.html" title="feed.icon">
</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&group_id=112328&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.image</span></p>
<div class="section" lang="en">
<div class="titlepage">
<div><div><h2 class="title">
<a name="reference.feed.image" class="skip" href="#reference.feed.image" title="link to this section"><img src="images/permalink.gif" alt="[link]" title="link to this section" width="8" height="9"></a> feed.image</h2></div></div>
<div></div>
</div>
<div class="abstract"><p>A dictionary with details about the feed image. A feed image can be a logo, banner, or a picture of the author.</p></div>
<div class="reference-from">
<h3>Comes from</h3>
<ul>
<li><tt class="literal">/rss/channel/image</tt></li>
<li><tt class="literal">/rdf:RDF/rdf:image</tt></li>
</ul>
</div>
<div class="section" lang="en">
<div class="titlepage">
<div><div><h3 class="title">
<a name="reference.feed.image.title" class="skip" href="#reference.feed.image.title" title="link to this section"><img src="images/permalink.gif" alt="[link]" title="link to this section" width="8" height="9"></a> feed.image.title</h3></div></div>
<div></div>
</div>
<p>The alternate text of the feed image, which would go in the <tt class="sgmltag-attribute">alt</tt> attribute if you rendered the feed image as an <acronym title="HyperText Markup Language">HTML</acronym> <tt class="sgmltag-element">img</tt> element.</p>
</div>
<div class="section" lang="en">
<div class="titlepage">
<div><div><h3 class="title">
<a name="reference.feed.image.href" class="skip" href="#reference.feed.image.href" title="link to this section"><img src="images/permalink.gif" alt="[link]" title="link to this section" width="8" height="9"></a> feed.image.href</h3></div></div>
<div></div>
</div>
<p>The <acronym title="Uniform Resource Locator">URL</acronym> of the feed image itself, which would go in the <tt class="sgmltag-attribute">src</tt> attribute if you rendered the feed image as an <acronym title="HyperText Markup Language">HTML</acronym> <tt class="sgmltag-element">img</tt> element.</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.image.link" class="skip" href="#reference.feed.image.link" title="link to this section"><img src="images/permalink.gif" alt="[link]" title="link to this section" width="8" height="9"></a> feed.image.link</h3></div></div>
<div></div>
</div>
<p>The <acronym title="Uniform Resource Locator">URL</acronym> which the feed image would point to. If you rendered the feed image as an <acronym title="HyperText Markup Language">HTML</acronym> <tt class="sgmltag-element">img</tt> element, you would wrap it in an <tt class="sgmltag-element">a</tt> element and put this in the <tt class="sgmltag-attribute">href</tt> attribute.</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.image.width" class="skip" href="#reference.feed.image.width" title="link to this section"><img src="images/permalink.gif" alt="[link]" title="link to this section" width="8" height="9"></a> feed.image.width</h3></div></div>
<div></div>
</div>
<p>The width of the feed image, which would go in the <tt class="sgmltag-attribute">width</tt> attribute if you rendered the feed image as an <acronym title="HyperText Markup Language">HTML</acronym> <tt class="sgmltag-element">img</tt> element.</p>
</div>
<div class="section" lang="en">
<div class="titlepage">
<div><div><h3 class="title">
<a name="reference.feed.image.height" class="skip" href="#reference.feed.image.height" title="link to this section"><img src="images/permalink.gif" alt="[link]" title="link to this section" width="8" height="9"></a> feed.image.height</h3></div></div>
<div></div>
</div>
<p>The height of the feed image, which would go in the <tt class="sgmltag-attribute">height</tt> attribute if you rendered the feed image as an <acronym title="HyperText Markup Language">HTML</acronym> <tt class="sgmltag-element">img</tt> element.</p>
</div>
<div class="section" lang="en">
<div class="titlepage">
<div><div><h3 class="title">
<a name="reference.feed.image.description" class="skip" href="#reference.feed.image.description" title="link to this section"><img src="images/permalink.gif" alt="[link]" title="link to this section" width="8" height="9"></a> feed.image.description</h3></div></div>
<div></div>
</div>
<p>A short description of the feed image, which would go in the <tt class="sgmltag-attribute">title</tt> attribute if you rendered the feed image as an <acronym title="HyperText Markup Language">HTML</acronym> <tt class="sgmltag-element">img</tt> element. This element is rare; it was available in Netscape <acronym title="Rich Site Summary">RSS</acronym> 0.91 but was dropped from Userland <acronym title="Rich Site Summary">RSS</acronym> 0.91.</p>
</div>
<div class="section" lang="en">
<div class="titlepage">
<div><div><h3 class="title">
<a name="reference.feed.image.example" class="skip" href="#reference.feed.image.example" title="link to this section"><img src="images/permalink.gif" alt="[link]" title="link to this section" width="8" height="9"></a> Annotated example</h3></div></div>
<div></div>
</div>
<p>This is a feed image:</p>
<div class="informalexample"><pre class="programlisting "><image>
<title>Feed logo</title>
<url>http://example.org/logo.png</url>
<link>http://example.org/</link>
<width>80</width>
<height>15</height>
<description>Visit my home page</description>
</image></pre></div>
<p>This feed image could be rendered in <acronym title="HyperText Markup Language">HTML</acronym> as this:</p>
<div class="informalexample"><pre class="programlisting "><a href="http://example.org/">
<img src="http://example.org/logo.png"
width="80"
height="15"
alt="Feed logo"
title="Visit my home page">
</a></pre></div>
</div>
</div>
<div style="float: left">← <a class="NavigationArrow" href="reference-feed-contributors.html">feed.contributors</a>
</div>
<div style="text-align: right">
<a class="NavigationArrow" href="reference-feed-icon.html">feed.icon</a> →</div>
<hr style="clear:both">
<div class="footer"><p class="copyright">Copyright © 2004, 2005, 2006 Mark Pilgrim</p></div>
</div></div>
</body>
</html>