Changeset 63932


Ignore:
Timestamp:
Jul 12, 2010, 9:50:00 PM (8 years ago)
Author:
Daniel James
Message:

Get RSS generation to work with the new version of quickbook.

But I'm going to use the old version since the new one will create
whitespace changes in old entries. I think I need to work out a way to
freeze old entries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • website/public_html/beta/feed/bbook2rss.py

    r52085 r63932  
    185185   
    186186    def x_listitem(self,node):
    187         return self.new_node('li',
    188             *self.x_children(node))
     187        simpara = self.get_child(node,tag='simpara')
     188        if simpara:
     189            return self.new_node('li',
     190                *self.x_children(simpara))
     191        else:
     192            return self.new_node('li',
     193                *self.x_children(node))
    189194   
    190195    def x_phrase(self,node):
Note: See TracChangeset for help on using the changeset viewer.