<emclass="property">class </em><codeclass="descclassname">feedgen.feed.</code><codeclass="descname">FeedGenerator</code><aclass="headerlink"href="#feedgen.feed.FeedGenerator"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">add_entry</code><spanclass="sig-paren">(</span><em>feedEntry=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.add_entry"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">add_item</code><spanclass="sig-paren">(</span><em>item=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.add_item"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">atom_file</code><spanclass="sig-paren">(</span><em>filename</em>, <em>extensions=True</em>, <em>pretty=False</em>, <em>encoding='UTF-8'</em>, <em>xml_declaration=True</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.atom_file"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">atom_str</code><spanclass="sig-paren">(</span><em>pretty=False</em>, <em>extensions=True</em>, <em>encoding='UTF-8'</em>, <em>xml_declaration=True</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.atom_str"title="Permalink to this definition">¶</a></dt>
versions and your encoding parameters passed to this method. For
details have a look at the <aclass="reference external"href="https://docs.python.org/3/library/xml.etree.elementtree.html#xml.etree.ElementTree.tostring">lxml documentation</a></p>
<codeclass="descname">author</code><spanclass="sig-paren">(</span><em>author=None</em>, <em>replace=False</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.author"title="Permalink to this definition">¶</a></dt>
<dd><p>Get or set author data. An author element is a dictionary containing
a name, an email address and a URI. Name is mandatory for ATOM, email
<codeclass="descname">category</code><spanclass="sig-paren">(</span><em>category=None</em>, <em>replace=False</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.category"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">cloud</code><spanclass="sig-paren">(</span><em>domain=None</em>, <em>port=None</em>, <em>path=None</em>, <em>registerProcedure=None</em>, <em>protocol=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.cloud"title="Permalink to this definition">¶</a></dt>
<dd><p>Set or get the cloud data of the feed. It is an RSS only attribute.
It specifies a web service that supports the rssCloud interface which
can be implemented in HTTP-POST, XML-RPC or SOAP 1.1.</p>
<codeclass="descname">contributor</code><spanclass="sig-paren">(</span><em>contributor=None</em>, <em>replace=False</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.contributor"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">copyright</code><spanclass="sig-paren">(</span><em>copyright=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.copyright"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">description</code><spanclass="sig-paren">(</span><em>description=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.description"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>description</strong>– Description of the channel.</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body">Description of the channel.</td>
<codeclass="descname">docs</code><spanclass="sig-paren">(</span><em>docs=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.docs"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>docs</strong>– URL of the format documentation.</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body">URL of the format documentation.</td>
<codeclass="descname">entry</code><spanclass="sig-paren">(</span><em>entry=None</em>, <em>replace=False</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.entry"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>entry</strong>– FeedEntry object or list of FeedEntry objects.</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body">List ob all feed entries.</td>
<codeclass="descname">generator</code><spanclass="sig-paren">(</span><em>generator=None</em>, <em>version=None</em>, <em>uri=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.generator"title="Permalink to this definition">¶</a></dt>
<dd><p>Get or the generator of the feed which identifies the software used
to generate the feed, for debugging and other purposes. Both the uri
and version attributes are optional and only available in the ATOM
<codeclass="descname">icon</code><spanclass="sig-paren">(</span><em>icon=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.icon"title="Permalink to this definition">¶</a></dt>
<dd><p>Get or set the icon of the feed which is a small image which
provides iconic visual identification for the feed. Icons should be
<codeclass="descname">id</code><spanclass="sig-paren">(</span><em>id=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.id"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">image</code><spanclass="sig-paren">(</span><em>url=None</em>, <em>title=None</em>, <em>link=None</em>, <em>width=None</em>, <em>height=None</em>, <em>description=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.image"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">item</code><spanclass="sig-paren">(</span><em>item=None</em>, <em>replace=False</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.item"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">language</code><spanclass="sig-paren">(</span><em>language=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.language"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">lastBuildDate</code><spanclass="sig-paren">(</span><em>lastBuildDate=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.lastBuildDate"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>lastBuildDate</strong>– The modification date.</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body">Modification date as datetime.datetime</td>
<codeclass="descname">link</code><spanclass="sig-paren">(</span><em>link=None</em>, <em>replace=False</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.link"title="Permalink to this definition">¶</a></dt>
<dd><p>Get or set link data. An link element is a dict with the fields
href, rel, type, hreflang, title, and length. Href is mandatory for
<codeclass="descname">load_extension</code><spanclass="sig-paren">(</span><em>name</em>, <em>atom=True</em>, <em>rss=True</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.load_extension"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">logo</code><spanclass="sig-paren">(</span><em>logo=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.logo"title="Permalink to this definition">¶</a></dt>
<dd><p>Get or set the logo of the feed which is a larger image which
provides visual identification for the feed. Images should be twice as
wide as they are tall. This is an ATOM value but will also set the
<codeclass="descname">managingEditor</code><spanclass="sig-paren">(</span><em>managingEditor=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.managingEditor"title="Permalink to this definition">¶</a></dt>
<dd><p>Set or get the value for managingEditor which is the email address
for person responsible for editorial content. This is a RSS only
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>managingEditor</strong>– Email adress of the managing editor.</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body">Email adress of the managing editor.</td>
<codeclass="descname">pubDate</code><spanclass="sig-paren">(</span><em>pubDate=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.pubDate"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">rating</code><spanclass="sig-paren">(</span><em>rating=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.rating"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">register_extension</code><spanclass="sig-paren">(</span><em>namespace</em>, <em>extension_class_feed=None</em>, <em>extension_class_entry=None</em>, <em>atom=True</em>, <em>rss=True</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.register_extension"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">remove_entry</code><spanclass="sig-paren">(</span><em>entry</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.remove_entry"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>entry</strong>– Entry or index of entry to remove.</td>
<codeclass="descname">remove_item</code><spanclass="sig-paren">(</span><em>item</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.remove_item"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">rights</code><spanclass="sig-paren">(</span><em>rights=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.rights"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>rights</strong>– Rights information of the feed.</td>
<codeclass="descname">rss_file</code><spanclass="sig-paren">(</span><em>filename</em>, <em>extensions=True</em>, <em>pretty=False</em>, <em>encoding='UTF-8'</em>, <em>xml_declaration=True</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.rss_file"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">rss_str</code><spanclass="sig-paren">(</span><em>pretty=False</em>, <em>extensions=True</em>, <em>encoding='UTF-8'</em>, <em>xml_declaration=True</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.rss_str"title="Permalink to this definition">¶</a></dt>
versions and your encoding parameters passed to this method. For
details have a look at the <aclass="reference external"href="https://docs.python.org/3/library/xml.etree.elementtree.html#xml.etree.ElementTree.tostring">lxml documentation</a></p>
<codeclass="descname">skipDays</code><spanclass="sig-paren">(</span><em>days=None</em>, <em>replace=False</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.skipDays"title="Permalink to this definition">¶</a></dt>
<dd><p>Set or get the value of skipDays, a hint for aggregators telling
them which days they can skip This is an RSS only value.</p>
<p>This method can be called with a day name or a list of day names. The
days are represented as strings from ‘Monday’ to ‘Sunday’.</p>
<li><strong>hours</strong>– List of days the feedreaders should not check the feed.</li>
<li><strong>replace</strong>– Add or replace old data.</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">List of days the feedreaders should not check the feed.</p>
<codeclass="descname">skipHours</code><spanclass="sig-paren">(</span><em>hours=None</em>, <em>replace=False</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.skipHours"title="Permalink to this definition">¶</a></dt>
<dd><p>Set or get the value of skipHours, a hint for aggregators telling
them which hours they can skip. This is an RSS only value.</p>
<p>This method can be called with an hour or a list of hours. The hours
are represented as integer values from 0 to 23.</p>
<li><strong>hours</strong>– List of hours the feedreaders should not check the feed.</li>
<li><strong>replace</strong>– Add or replace old data.</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first last">List of hours the feedreaders should not check the feed.</p>
<codeclass="descname">subtitle</code><spanclass="sig-paren">(</span><em>subtitle=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.subtitle"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">textInput</code><spanclass="sig-paren">(</span><em>title=None</em>, <em>description=None</em>, <em>name=None</em>, <em>link=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.textInput"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">title</code><spanclass="sig-paren">(</span><em>title=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.title"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">ttl</code><spanclass="sig-paren">(</span><em>ttl=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.ttl"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>ttl</strong>– Integer value indicating how long the channel may be
<codeclass="descname">updated</code><spanclass="sig-paren">(</span><em>updated=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.updated"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">webMaster</code><spanclass="sig-paren">(</span><em>webMaster=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#feedgen.feed.FeedGenerator.webMaster"title="Permalink to this definition">¶</a></dt>
<dd><p>Get and set the value of webMaster, which represents the email
address for the person responsible for technical issues relating to the
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>webMaster</strong>– Email address of the webmaster.</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body">Email address of the webmaster.</td>