| Home | Trees | Index | Help |
|
|---|
| Package bridge :: Package filter :: Module atom |
|
| Function Summary | |
|---|---|
_cmp_date(func,
name,
element,
dt_pivot,
strict,
recursive,
include_feed)
| |
_is_after_date(node,
dt_pivot,
strict)
| |
_is_before_date(node,
dt_pivot,
strict)
| |
Return a list of atom:author elements which have an empty text for the children specified in 'matching' (which if not provided defaults to "name") | |
Returns the first entry matching the id provided in parameter | |
returns a list of links matching the attributes passed as parameters. | |
Returns the list of elements which have been published after the given date. | |
Returns the list of elements which have been published before the given date. | |
Returns True if the entry requires an atom:author to be added based on section 4.1.2 of RFC 4287. | |
Returns True if the entry requires an atom:summary to be added based on section 4.1.2 of RFC 4287. | |
Returns the list of elements which have been updated after the given date. | |
Returns the list of elements which have been updated before the given date. | |
valid_categories(element,
test_set,
matching)
| |
| Function Details |
|---|
fetch_empty_authors(element, matching=None)Return a list of atom:author elements which have an empty text for the children specified in 'matching' (which if not provided defaults to "name") fetch_empty_authors(entry, matching=['name', 'email']) |
lookup_entry(element, id)Returns the first entry matching the id provided in parameter |
lookup_links(element, **kwargs)returns a list of links matching the attributes passed as parameters. For instance: lookup_links(entry, rel=u'alternate', type=u'text/html') |
published_after(element, dt_pivot, strict=True, recursive=False, include_feed=True)Returns the list of elements which have been published after the given date. Keyword arguments: element -- atom feed or entry element dt_pivot -- datetime instance to compare to strict -- if True only accepts elements which are published strictly after the dt_pivot. if False elmeents which published date equal dt_pivot will be included in the result recursive -- if the element is a feed and recursive is True it will iterate through the feed entries as well include_feed -- if the element is a feed, recursive is True but you don't want the feed element to be part of the result set this to False |
published_before(element, dt_pivot, strict=True, recursive=False, include_feed=True)Returns the list of elements which have been published before the given date. Keyword arguments: element -- atom feed or entry element dt_pivot -- datetime instance to compare to strict -- if True only accepts elements which are published strictly before the dt_pivot. if False elements which published date equals dt_pivot will be included in the result recursive -- if the element is a feed and recursive is True it will iterate through the feed entries as well include_feed -- if the element is a feed, recursive is True but you don't want the feed element to be part of the result set this to False |
requires_author(element)Returns True if the entry requires an atom:author to be added based on section 4.1.2 of RFC 4287. Keyword argument: element -- entry element |
requires_summary(element)Returns True if the entry requires an atom:summary to be added based on section 4.1.2 of RFC 4287. Keyword argument: element -- entry element |
updated_after(element, dt_pivot, strict=True, recursive=False, include_feed=True)Returns the list of elements which have been updated after the given date. Keyword arguments: element -- atom feed or entry element dt_pivot -- datetime instance to compare to strict -- if True only accepts elements which are published strictly after the dt_pivot. if False elements which published date equals dt_pivot will be included in the result recursive -- if the element is a feed and recursive is True it will iterate through the feed entries as well include_feed -- if the element is a feed, recursive is True but you don't want the feed element to be part of the result set this to False |
updated_before(element, dt_pivot, strict=True, recursive=False, include_feed=True)Returns the list of elements which have been updated before the given date. Keyword arguments: element -- atom feed or entry element dt_pivot -- datetime instance to compare to strict -- if True only accepts elements which are updated strictly before the dt_pivot. if False elements which updated date equals dt_pivot will be included in the result recursive -- if the element is a feed and recursive is True it will iterate through the feed entries as well include_feed -- if the element is a feed, recursive is True but you don't want the feed element to be part of the result set this to False |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Tue May 22 18:09:00 2007 | http://epydoc.sf.net |