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

Module htm3format

SooVee Serial Audio Manger - Html page of serial audio info for the forms module plugin. It will create a page containing a section for set of serial audio info.

This plugin was developed specificaly for soovee.pages data.

Functions
None
write(filepath, workpath, data, cache=None, service=None)
Initialize and write a html page with serial audio info sections.
basestring
item(data, feed=None, service=None)
Format an html section for a feed subscription using data found in its Opml feed entry.
Variables
  METHOD = ('htm', 'view')
Tuple of type and format
  FILENAME = 'sv%s.html'
Default file name for page
  __package__ = None
Function Details

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

 

Initialize and write a html page with serial audio info sections. The passed Opml data is used to build the sections.

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 a page.
  • cache (obj) - Unused for this format. Default None.
  • service (obj) - Unused for this format. Default None.
Returns: None
Raises:
  • TypeError - data passed was not a list

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

 

Format an html section for a feed subscription using data found in its Opml feed entry.

Parameters:
  • data (dict) - Opml data
  • feed (dict) - Rss data. Default dict.
  • service (obj) - Unused for this format. Default None.
Returns: basestring
Raises:
  • TypeError - item passed was not a dict