RSS didn't work!
git-svn-id: https://develop.svn.wordpress.org/trunk@183 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
41214251bd
commit
05b6b22b6a
@ -32,14 +32,14 @@ if (!isset($rss_language)) { $rss_language = 'en'; }
|
||||
|
||||
<items>
|
||||
<rdf:Seq>
|
||||
<?php $items_count = 0; while($row = mysql_fetch_object($result)) { start_b2(); ?>
|
||||
<?php $items_count = 0; foreach ($posts as $post) { start_b2(); ?>
|
||||
<rdf:li rdf:resource="<?php permalink_single_rss() ?>"/>
|
||||
<?php $b2_items[] = $row; $items_count++; if (($items_count == $posts_per_rss) && empty($m)) { break; } } ?>
|
||||
</rdf:Seq>
|
||||
</items>
|
||||
</channel>
|
||||
|
||||
<?php foreach($b2_items as $row) { start_b2(); ?>
|
||||
<?php foreach ($posts as $post) { start_b2(); ?>
|
||||
<item rdf:about="<?php permalink_single_rss() ?>">
|
||||
<title><?php the_title_rss() ?></title>
|
||||
<link><?php permalink_single_rss() ?></link>
|
||||
|
@ -20,7 +20,7 @@ if (!isset($rss_excerpt_length) || ($rss_encoded_html == 1)) { $rss_excerpt_leng
|
||||
<webMaster><?php echo $admin_email ?></webMaster>
|
||||
<language><?php echo $rss_language ?></language>
|
||||
|
||||
<?php $items_count = 0; while($row = mysql_fetch_object($result)) { start_b2(); ?>
|
||||
<?php $items_count = 0; foreach ($posts as $post) { start_b2(); ?>
|
||||
<item>
|
||||
<title><?php the_title_rss() ?></title>
|
||||
<?php
|
||||
|
@ -30,7 +30,7 @@ if (!isset($rss_excerpt_length) || ($rss_encoded_html == 1)) { $rss_excerpt_leng
|
||||
<sy:updateFrequency>1</sy:updateFrequency>
|
||||
<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
|
||||
|
||||
<?php $items_count = 0; while($row = mysql_fetch_object($result)) { start_b2(); ?>
|
||||
<?php $items_count = 0; foreach ($posts as $post) { start_b2(); ?>
|
||||
<item rdf:about="<?php permalink_single_rss() ?>">
|
||||
<title><?php the_title_rss() ?></title>
|
||||
<link><?php permalink_single_rss() ?></link>
|
||||
|
Loading…
Reference in New Issue
Block a user