Boost logo

Boost-Commit :

From: grafikrobot_at_[hidden]
Date: 2008-03-14 13:19:38


Author: grafik
Date: 2008-03-14 13:19:37 EDT (Fri, 14 Mar 2008)
New Revision: 43604
URL: http://svn.boost.org/trac/boost/changeset/43604

Log:
Remove date from RSS items.
Text files modified:
   website/public_html/beta/common/code/boost_feed.php | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: website/public_html/beta/common/code/boost_feed.php
==============================================================================
--- website/public_html/beta/common/code/boost_feed.php (original)
+++ website/public_html/beta/common/code/boost_feed.php 2008-03-14 13:19:37 EDT (Fri, 14 Mar 2008)
@@ -72,8 +72,9 @@
             else if ($val['tag'] == 'item' && $val['type'] == 'close' && $item)
             {
                 //~ $item['guid'] = md5('['.$item['pubdate'].'] '.$item['title']);
- $item['guid'] = gmdate('Y-m-d-',$item['pubdate'])
- . preg_replace('@[\W]@i',"_",strtolower($item['title']));
+ //~ $item['guid'] = gmdate('Y-m-d-',$item['pubdate'])
+ //~ . preg_replace('@[\W]@i',"_",strtolower($item['title']));
+ $item['guid'] = preg_replace('@[\W]@i',"_",strtolower($item['title']));
                 if (!isset($item['link']) || ! $item['link'])
                 {
                     $item['link'] = $item_base_uri.'/'.$item['guid'];


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