[geeklog-cvs] Geeklog-1.x/system/classes/syndication rdf.feed.class.php, 1.5, 1.5.4.1

Dirk Haun dhaun at qs1489.pair.com
Thu Jun 7 11:14:24 EDT 2007


Update of /cvsroot/geeklog/Geeklog-1.x/system/classes/syndication
In directory qs1489.pair.com:/tmp/cvs-serv23455/system/classes/syndication

Modified Files:
      Tag: geeklog_1_4_1_1
	rdf.feed.class.php 
Log Message:
Ported RDF fixes over from the trunk


Index: rdf.feed.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/syndication/rdf.feed.class.php,v
retrieving revision 1.5
retrieving revision 1.5.4.1
diff -C2 -d -r1.5 -r1.5.4.1
*** rdf.feed.class.php	6 Nov 2005 12:15:37 -0000	1.5
--- rdf.feed.class.php	7 Jun 2007 15:14:22 -0000	1.5.4.1
***************
*** 88,94 ****
          }
        }
!       if( is_array( $article->extensions ) )
        {
!         foreach( $article->extensions as $extendingTag )
          {
              $xml .= "$extendingTag\n";
--- 88,94 ----
          }
        }
!       if( is_array( $article['extensions'] ) )
        {
!         foreach( $article['extensions'] as $extendingTag )
          {
              $xml .= "$extendingTag\n";
***************
*** 111,114 ****
--- 111,115 ----
        $this->namespaces[] = 'xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"';
        $this->namespaces[] = 'xmlns="http://purl.org/rss/1.0/"';
+       $this->namespaces[] = 'xmlns:content="http://purl.org/rss/1.0/modules/content/"';
        $xml .= '<rdf:RDF'.$this->_injectNamespaces().">\n";
        $xml .= "<channel  rdf:about=\"{$this->feedlogo}\">\n";




More information about the geeklog-cvs mailing list