Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2007-10-26 22:05:39


Author: grafik
Date: 2007-10-26 22:05:38 EDT (Fri, 26 Oct 2007)
New Revision: 40491
URL: http://svn.boost.org/trac/boost/changeset/40491

Log:
Put back in the HR split for breif vs. full RSS description.
Text files modified:
   website/public_html/beta/common/code/feed.php | 2 +-
   website/public_html/beta/feed/bbook2rss.py | 12 ++++++++++++
   website/public_html/beta/feed/downloads.rss | 4 +++-
   website/public_html/beta/feed/news.rss | 11 +++++++++--
   4 files changed, 25 insertions(+), 4 deletions(-)

Modified: website/public_html/beta/common/code/feed.php
==============================================================================
--- website/public_html/beta/common/code/feed.php (original)
+++ website/public_html/beta/common/code/feed.php 2007-10-26 22:05:38 EDT (Fri, 26 Oct 2007)
@@ -76,7 +76,7 @@
                 }
                 if (isset($item['description']))
                 {
- $desc = preg_split('@<hr( /)?>@i',$item['description']);
+ $desc = preg_split('@<hr[ ]?[/]?>@i',$item['description']);
                     $item['brief'] = $desc[0];
                     if (isset($desc[1]))
                     {

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-26 22:05:38 EDT (Fri, 26 Oct 2007)
@@ -118,6 +118,13 @@
     
     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'),
+ tag='articlepurpose'
+ )
+ ))
+ description_xhtml.appendChild(self.new_node('hr'))
         body_item = self.get_child(node,tag='title').nextSibling
         while body_item:
             item = self.x(body_item)
@@ -200,6 +207,11 @@
         else:
             return None
     
+ def x_articlepurpose(self,node):
+ return self.new_node('span',
+ klass='purpose',
+ *self.x_children(node))
+
     def get_child( self, root, tag = None, id = None, name = None):
         for n in root.childNodes:
             found = True

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-26 22:05:38 EDT (Fri, 26 Oct 2007)
@@ -6,7 +6,9 @@
     <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>
+ <item><title>Boost 1.33.1</title><pubDate>Mon, 5 Dec 2005 18:00:00 GMT</pubDate><description><span class="purpose">
+ http://sourceforge.net/project/showfiles.php?group_id=7586&package_id=8041&release_id=376197
+ </span><hr/>
   <div id="boost_1_33_1.updated_libraries">
     <h3><span class="link">Updated Libraries</span></h3>
     <ul>

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-26 22:05:38 EDT (Fri, 26 Oct 2007)
@@ -6,13 +6,20 @@
     <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>
+ <item><title>asio Formal Review Begins</title><pubDate>Sun, 10 Dec 2006 12:00:00 GMT</pubDate><description><span class="purpose">
+ The review will run until Friday December 23rd. The Boost.Asio
+ library is intended for programmers using C++ for systems programming, where
+ access to operating system functionality such as networking is often required.
+ </span><hr/>
   <p>
     The review will run until Friday December 23rd. The Boost.Asio
     library is intended for programmers using C++ for systems programming, where
     access to operating system functionality such as networking is often required.
   </p>
-</description></item><item><title>Version 1.33.1</title><pubDate>Tue, 5 Dec 2006 12:00:00 GMT</pubDate><description>
+</description></item><item><title>Version 1.33.1</title><pubDate>Tue, 5 Dec 2006 12:00:00 GMT</pubDate><description><span class="purpose">
+ Updated Libraries: Any, Config, Python, Smart Pointer, Regex, Iostreams, Functional/Hash,
+ Multi-index Containers, Graph, Signals, Thread, and Wave.
+ </span><hr/>
   <div id="version_1_33_1.updated_libraries">
     <h3><span class="link">Updated Libraries</span></h3>
     <ul>


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