File contents
Hacking
Design:
Channel Lists are dealt with by the NewsCenter class. Channel Lists have two states
either 'retrived' which means they have been retrieved from either the fs or the
filesystem and added which means that to the NewsCenter the channel listing exists only
as a python tuple (type, url).
Channel Lists are stored in two lists one for each state.
Channels also have two states unpublished and published. In their unpublished state
the only channel data that exists is what was gotten from the channel list.
Unpublished channels are stored in the 'up_rss_storage' BtreeFolder in an instantiation
of an empty persistent class StorageItem. all of they're info is in a dictionary
dc_info (dublin core). in their published state they are an instantiation of dcRSS Channel
which is a modified RSS Channel with dublin core properties and are stored in
the 'p_rss_storage' BtreeFolder. They will update themselves based on properties of the
NewsCenter.
DOM Parsers
currently the only parser is for the ocs format
the basic interface to a parser is as follows
IN: filehandle
OUT: list of dictionaries comprising the channel info.