[geeklog-cvs] Geeklog-1.x/system/classes/syndication atom.feed.class.php, 1.11, 1.12 parserfactory.class.php, 1.9, 1.10

Michael Jervis mjervis at qs1489.pair.com
Wed Jun 13 02:22:50 EDT 2007


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

Modified Files:
	atom.feed.class.php parserfactory.class.php 
Log Message:
- Bugfix: Atom always assumes 0.3 and doesn't handle article dates. (Reported by
  mystral kk on the forums).

Index: parserfactory.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/syndication/parserfactory.class.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** parserfactory.class.php	28 Apr 2007 17:23:37 -0000	1.9
--- parserfactory.class.php	13 Jun 2007 06:22:48 -0000	1.10
***************
*** 254,258 ****
              $this->readerName = 'Atom10';
            }
-           $this->readerName = 'Atom03';
          } elseif ( $name == 'RSS' ) {
            if( array_key_exists('VERSION', $attributes) )
--- 254,257 ----

Index: atom.feed.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/system/classes/syndication/atom.feed.class.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** atom.feed.class.php	18 May 2006 20:27:31 -0000	1.11
--- atom.feed.class.php	13 Jun 2007 06:22:48 -0000	1.12
***************
*** 225,231 ****
            $this->_currentItem['date'] = $data;
          } else if( $this->_currentTag == 'ISSUED' ) {
!           if( empty( $this->currentItem['date'] ) )
            {
!             $this->currentITem['date'] = $data;
            }
          }
--- 225,231 ----
            $this->_currentItem['date'] = $data;
          } else if( $this->_currentTag == 'ISSUED' ) {
!           if( empty( $this->_currentItem['date'] ) )
            {
!             $this->_currentItem['date'] = $data;
            }
          }
***************
*** 445,451 ****
            $this->_currentItem['date'] = $data;
          } else if( $this->_currentTag == 'PUBLISHED' ) {
!           if( empty( $this->currentItem['date'] ) )
            {
!             $this->currentITem['date'] = $data;
            }
          }
--- 445,451 ----
            $this->_currentItem['date'] = $data;
          } else if( $this->_currentTag == 'PUBLISHED' ) {
!           if( empty( $this->_currentItem['date'] ) )
            {
!             $this->_currentItem['date'] = $data;
            }
          }




More information about the geeklog-cvs mailing list