Update of /cvsroot/boost/website/common/code
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv6944/common/code

Modified Files:
        feed.php 
Log Message:
Add sidebar boxes for various list feeds.

Index: feed.php
===================================================================
RCS file: /cvsroot/boost/website/common/code/feed.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- feed.php    21 May 2006 20:23:41 -0000      1.2
+++ feed.php    10 Nov 2006 05:59:28 -0000      1.3
@@ -61,6 +61,8 @@
                     case 'description':
                     case 'guid':
                     case 'pubdate':
+                    case 'link':
+                    case 'dc:date':
                     {
                         if (isset($val['value']))
                         {
@@ -71,6 +73,11 @@
                                 $item['pubdate'] = strtotime($item['pubdate']);
                                 $item['date'] = gmdate('F jS, Y H:i 
',$item['pubdate']).'GMT';
                                 break;
+                                
+                                case 'dc:date':
+                                $item['pubdate'] = strtotime($item['dc:date']);
+                                $item['date'] = gmdate('F jS, Y H:i 
',$item['pubdate']).'GMT';
+                                break;
                             }
                         }
                         else { $item[$val['tag']] = ''; }


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to