[geeklog-cvs] Geeklog-1.x/system/classes/syndication rss.feed.class.php, 1.12, 1.13

Michael Jervis mjervis at qs1489.pair.com
Fri Feb 15 14:10:30 EST 2008


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

Modified Files:
	rss.feed.class.php 
Log Message:
Support for Podcasts in portal blocks improved.
Fixed error where REALLY long syndication feeds could blow portal blocks up.

Index: rss.feed.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/syndication/rss.feed.class.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** rss.feed.class.php	9 Mar 2006 18:15:05 -0000	1.12
--- rss.feed.class.php	15 Feb 2008 19:10:28 -0000	1.13
***************
*** 434,437 ****
--- 434,440 ----
            $this->_permaLink = false;
          }
+       } else if( ($name == 'ENCLOSURE') && array_key_exists('URL', $attributes) ) {
+         /* If we have an enclosure with a URL, remember it because this is a podcast */
+         $this->_currentItem['enclosureurl'] = $attributes['URL'];
        } else {
          $this->_permaLink = false;




More information about the geeklog-cvs mailing list