Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2007-10-27 11:29:51


Author: grafik
Date: 2007-10-27 11:29:51 EDT (Sat, 27 Oct 2007)
New Revision: 40502
URL: http://svn.boost.org/trac/boost/changeset/40502

Log:
Output text description instead of xml.
Text files modified:
   website/public_html/beta/feed/bbook2rss.py | 19 +++++++++++--------
   website/public_html/beta/feed/downloads.rss | 8 ++++----
   website/public_html/beta/feed/news.rss | 20 ++++++++++----------
   3 files changed, 25 insertions(+), 22 deletions(-)

Modified: website/public_html/beta/feed/bbook2rss.py
==============================================================================
--- website/public_html/beta/feed/bbook2rss.py (original)
+++ website/public_html/beta/feed/bbook2rss.py 2007-10-27 11:29:51 EDT (Sat, 27 Oct 2007)
@@ -117,14 +117,13 @@
         return result
     
     def x_article(self,node):
- description_xhtml = self.new_node('description')
- description_xhtml.appendChild(self.x(
- self.get_child(
- self.get_child(node,tag='articleinfo'),
+ description_xhtml = self.new_node('div',klass='description')
+ brief_xhtml = self.new_node('div',
+ self.x(self.get_child(self.get_child(node,tag='articleinfo'),
                 tag='articlepurpose'
- )
- ))
- description_xhtml.appendChild(self.new_node('hr'))
+ )),
+ klass='brief'
+ )
         body_item = self.get_child(node,tag='title').nextSibling
         while body_item:
             item = self.x(body_item)
@@ -135,7 +134,11 @@
             'item',
             self.new_text('title',node.getAttribute('name')),
             self.new_text('pubDate',node.getAttribute('last-revision')),
- description_xhtml
+ self.new_text('description',
+ description_xhtml.toxml('utf-8')+\
+ '<hr/&gr;'+\
+ brief_xhtml.toxml('utf-8')
+ )
             )
     
     def x__text(self,node):

Modified: website/public_html/beta/feed/downloads.rss
==============================================================================
--- website/public_html/beta/feed/downloads.rss (original)
+++ website/public_html/beta/feed/downloads.rss 2007-10-27 11:29:51 EDT (Sat, 27 Oct 2007)
@@ -6,9 +6,7 @@
     <description/>
     <language>en-us</language>
     <copyright>Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)</copyright>
- <item><title>Boost 1.33.1</title><pubDate>Mon, 5 Dec 2005 18:00:00 GMT</pubDate><description>&lt;div class=&quot;description&quot;&gt;&lt;span class=&quot;purpose&quot;&gt;
- &lt;a href=&quot;http://sourceforge.net/project/showfiles.php?group_id=7586&amp;amp;package_id=8041&amp;amp;release_id=376197&quot;&gt;http://sourceforge.net/project/showfiles.php?group_id=7586&amp;amp;package_id=8041&amp;amp;release_id=376197&lt;/a&gt;
- &lt;/span&gt;&lt;hr/&gt;
+ <item><title>Boost 1.33.1</title><pubDate>Mon, 5 Dec 2005 18:00:00 GMT</pubDate><description>&lt;div class=&quot;description&quot;&gt;
   &lt;div id=&quot;boost_1_33_1.updated_libraries&quot;&gt;
     &lt;h3&gt;&lt;span class=&quot;link&quot;&gt;Updated Libraries&lt;/span&gt;&lt;/h3&gt;
     &lt;ul&gt;
@@ -167,5 +165,7 @@
       for the new Boost logo.
     &lt;/p&gt;
   &lt;/div&gt;
-&lt;/div&gt;</description></item></channel>
+&lt;/div&gt;&amp;lt;hr/&amp;gr;&lt;div class=&quot;brief&quot;&gt;&lt;span class=&quot;purpose&quot;&gt;
+ &lt;a href=&quot;http://sourceforge.net/project/showfiles.php?group_id=7586&amp;amp;package_id=8041&amp;amp;release_id=376197&quot;&gt;http://sourceforge.net/project/showfiles.php?group_id=7586&amp;amp;package_id=8041&amp;amp;release_id=376197&lt;/a&gt;
+ &lt;/span&gt;&lt;/div&gt;</description></item></channel>
 </rss>
\ No newline at end of file

Modified: website/public_html/beta/feed/news.rss
==============================================================================
--- website/public_html/beta/feed/news.rss (original)
+++ website/public_html/beta/feed/news.rss 2007-10-27 11:29:51 EDT (Sat, 27 Oct 2007)
@@ -6,20 +6,17 @@
     <description/>
     <language>en-us</language>
     <copyright>Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)</copyright>
- <item><title>asio Formal Review Begins</title><pubDate>Sun, 10 Dec 2006 12:00:00 GMT</pubDate><description>&lt;div class=&quot;description&quot;&gt;&lt;span class=&quot;purpose&quot;&gt;
- The review will run until Friday December 23rd. The &lt;a href=&quot;http://asio.sourceforge.net/&quot;&gt;Boost.Asio&lt;/a&gt;
- library is intended for programmers using C++ for systems programming, where
- access to operating system functionality such as networking is often required.
- &lt;/span&gt;&lt;hr/&gt;
+ <item><title>asio Formal Review Begins</title><pubDate>Sun, 10 Dec 2006 12:00:00 GMT</pubDate><description>&lt;div class=&quot;description&quot;&gt;
   &lt;p&gt;
     The review will run until Friday December 23rd. The &lt;a href=&quot;http://asio.sourceforge.net/&quot;&gt;Boost.Asio&lt;/a&gt;
     library is intended for programmers using C++ for systems programming, where
     access to operating system functionality such as networking is often required.
   &lt;/p&gt;
-&lt;/div&gt;</description></item><item><title>Version 1.33.1</title><pubDate>Tue, 5 Dec 2006 12:00:00 GMT</pubDate><description>&lt;div class=&quot;description&quot;&gt;&lt;span class=&quot;purpose&quot;&gt;
- Updated Libraries: Any, Config, Python, Smart Pointer, Regex, Iostreams, Functional/Hash,
- Multi-index Containers, Graph, Signals, Thread, and Wave.
- &lt;/span&gt;&lt;hr/&gt;
+&lt;/div&gt;&amp;lt;hr/&amp;gr;&lt;div class=&quot;brief&quot;&gt;&lt;span class=&quot;purpose&quot;&gt;
+ The review will run until Friday December 23rd. The &lt;a href=&quot;http://asio.sourceforge.net/&quot;&gt;Boost.Asio&lt;/a&gt;
+ library is intended for programmers using C++ for systems programming, where
+ access to operating system functionality such as networking is often required.
+ &lt;/span&gt;&lt;/div&gt;</description></item><item><title>Version 1.33.1</title><pubDate>Tue, 5 Dec 2006 12:00:00 GMT</pubDate><description>&lt;div class=&quot;description&quot;&gt;
   &lt;div id=&quot;version_1_33_1.updated_libraries&quot;&gt;
     &lt;h3&gt;&lt;span class=&quot;link&quot;&gt;Updated Libraries&lt;/span&gt;&lt;/h3&gt;
     &lt;ul&gt;
@@ -178,5 +175,8 @@
       for the new Boost logo.
     &lt;/p&gt;
   &lt;/div&gt;
-&lt;/div&gt;</description></item></channel>
+&lt;/div&gt;&amp;lt;hr/&amp;gr;&lt;div class=&quot;brief&quot;&gt;&lt;span class=&quot;purpose&quot;&gt;
+ Updated Libraries: Any, Config, Python, Smart Pointer, Regex, Iostreams, Functional/Hash,
+ Multi-index Containers, Graph, Signals, Thread, and Wave.
+ &lt;/span&gt;&lt;/div&gt;</description></item></channel>
 </rss>
\ No newline at end of file


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