Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63932 - website/public_html/beta/feed
From: daniel_james_at_[hidden]
Date: 2010-07-12 17:50:00


Author: danieljames
Date: 2010-07-12 17:50:00 EDT (Mon, 12 Jul 2010)
New Revision: 63932
URL: http://svn.boost.org/trac/boost/changeset/63932

Log:
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.
Text files modified:
   website/public_html/beta/feed/bbook2rss.py | 9 +++++++--
   1 files changed, 7 insertions(+), 2 deletions(-)

Modified: website/public_html/beta/feed/bbook2rss.py
==============================================================================
--- website/public_html/beta/feed/bbook2rss.py (original)
+++ website/public_html/beta/feed/bbook2rss.py 2010-07-12 17:50:00 EDT (Mon, 12 Jul 2010)
@@ -184,8 +184,13 @@
             *self.x_children(node))
     
     def x_listitem(self,node):
- return self.new_node('li',
- *self.x_children(node))
+ simpara = self.get_child(node,tag='simpara')
+ if simpara:
+ return self.new_node('li',
+ *self.x_children(simpara))
+ else:
+ return self.new_node('li',
+ *self.x_children(node))
     
     def x_phrase(self,node):
         return self.new_node('span',


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk