|
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><div class="description"><span class="purpose">
- <a href="http://sourceforge.net/project/showfiles.php?group_id=7586&amp;package_id=8041&amp;release_id=376197">http://sourceforge.net/project/showfiles.php?group_id=7586&amp;package_id=8041&amp;release_id=376197</a>
- </span><hr/>
+ <item><title>Boost 1.33.1</title><pubDate>Mon, 5 Dec 2005 18:00:00 GMT</pubDate><description><div class="description">
<div id="boost_1_33_1.updated_libraries">
<h3><span class="link">Updated Libraries</span></h3>
<ul>
@@ -167,5 +165,7 @@
for the new Boost logo.
</p>
</div>
-</div></description></item></channel>
+</div>&lt;hr/&gr;<div class="brief"><span class="purpose">
+ <a href="http://sourceforge.net/project/showfiles.php?group_id=7586&amp;package_id=8041&amp;release_id=376197">http://sourceforge.net/project/showfiles.php?group_id=7586&amp;package_id=8041&amp;release_id=376197</a>
+ </span></div></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><div class="description"><span class="purpose">
- The review will run until Friday December 23rd. The <a href="http://asio.sourceforge.net/">Boost.Asio</a>
- library is intended for programmers using C++ for systems programming, where
- access to operating system functionality such as networking is often required.
- </span><hr/>
+ <item><title>asio Formal Review Begins</title><pubDate>Sun, 10 Dec 2006 12:00:00 GMT</pubDate><description><div class="description">
<p>
The review will run until Friday December 23rd. The <a href="http://asio.sourceforge.net/">Boost.Asio</a>
library is intended for programmers using C++ for systems programming, where
access to operating system functionality such as networking is often required.
</p>
-</div></description></item><item><title>Version 1.33.1</title><pubDate>Tue, 5 Dec 2006 12:00:00 GMT</pubDate><description><div class="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>&lt;hr/&gr;<div class="brief"><span class="purpose">
+ The review will run until Friday December 23rd. The <a href="http://asio.sourceforge.net/">Boost.Asio</a>
+ library is intended for programmers using C++ for systems programming, where
+ access to operating system functionality such as networking is often required.
+ </span></div></description></item><item><title>Version 1.33.1</title><pubDate>Tue, 5 Dec 2006 12:00:00 GMT</pubDate><description><div class="description">
<div id="version_1_33_1.updated_libraries">
<h3><span class="link">Updated Libraries</span></h3>
<ul>
@@ -178,5 +175,8 @@
for the new Boost logo.
</p>
</div>
-</div></description></item></channel>
+</div>&lt;hr/&gr;<div class="brief"><span class="purpose">
+ Updated Libraries: Any, Config, Python, Smart Pointer, Regex, Iostreams, Functional/Hash,
+ Multi-index Containers, Graph, Signals, Thread, and Wave.
+ </span></div></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