Package soovee_app :: Package forms :: Module htm1format
[frames] | no frames]

Module htm1format

SooVee Serial Audio Manger - Html pages with index for the forms module plugin. It will create a page for each serial audio feed in ./books and a link to it on the index page.in the parent folder.


Requires: soovee_lib.parse

Functions
None
write(filepath, workpath, data, cache=None, service=None)
Initialize and write set of html pages in ./books with an index.
basestring
item(data, feed=None, service=None)
Format an html page for a feed subscription using data found in its Opml feed entry and in its Rss file.
Variables
  METHOD = ('frm', 'html')
Tuple of type and format
  FILENAME = 'index.html'
Default file name for index
  __package__ = None
Function Details

write(filepath, workpath, data, cache=None, service=None)

 

Initialize and write set of html pages in ./books with an index. The passed Opml data is used to retrieve the data for each Rss feed.

Parameters:
  • filepath (basestring) - Local path-filename fragment.
  • workpath (basestring) - Base path-filename to store filename under.
  • data (list) - List of Opml feed data to help build pages and locate Rss feed data.
  • cache (obj) - Intialized soovee.lib.sv_read object. Default None.
  • service (obj) - Intialized soovee.regex object. Default None.
Returns: None
Raises:
  • TypeError - data passed was not a list

Requires: soovee_lib.parse

item(data, feed=None, service=None)

 

Format an html page for a feed subscription using data found in its Opml feed entry and in its Rss file. Store a filename for this page.

Parameters:
  • data (dict) - Opml data.
  • feed (dict) - Rss data. Default dict.
  • service (obj) - Intialized soovee.regex object. Default None.
Returns: basestring
Raises:
  • TypeError - item or feed passed was not a dict