Changeset 45316

Show
Ignore:
Timestamp:
05/12/08 00:15:08 (2 months ago)
Author:
nerrad
Message:

- fixed bugs with the atom feed. Should work correctly now.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • organize-series/trunk/orgSeries-rss.php

    r42745 r45316  
    3838                  $the_list .= "\n\t\t<series:name><![CDATA[$series_name]]></series:name>\n"; 
    3939            elseif ( 'atom' == $type ) 
    40                   $the_list .= sprintf( '<series scheme="%1$s" term="%2$s" />' , attribute_escape( apply_filters( 'get_bloginfo_rss', get_bloginfo( 'url' ) ) ), attribute_escape( $series_name ) ); 
     40                  $the_list .= sprintf( '<series:name scheme="%1$s" term="%2$s" />' , attribute_escape( apply_filters( 'get_bloginfo_rss', get_bloginfo( 'url' ) ) ), attribute_escape( $series_name ) ); 
    4141            else 
    4242                  $the_list .= "\n\t\t<series:name><![CDATA[$series_name]]></series:name>\n"; 
     
    5151} 
    5252 
    53 function the_series_atom($type = 'atom') { 
    54       echo get_the_series_atom($type); 
     53function the_series_atom() { 
     54      echo get_the_series_rss('atom'); 
    5555} 
    5656