mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 07:07:04 +00:00
Adding hooks in syndication feeds.
git-svn-id: https://develop.svn.wordpress.org/trunk@2625 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -21,6 +21,7 @@ $more = 1;
|
||||
<lastBuildDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_lastpostmodified('GMT'), false); ?></lastBuildDate>
|
||||
<docs>http://backend.userland.com/rss092</docs>
|
||||
<language><?php echo get_option('rss_language'); ?></language>
|
||||
<?php do_action('rss_head'); ?>
|
||||
|
||||
<?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?>
|
||||
<item>
|
||||
@@ -31,6 +32,7 @@ $more = 1;
|
||||
<description><?php the_content_rss('', 0, '', get_settings('rss_excerpt_length')) ?></description>
|
||||
<?php } ?>
|
||||
<link><?php permalink_single_rss() ?></link>
|
||||
<?php do_action('rss_item'); ?>
|
||||
</item>
|
||||
<?php $items_count++; if (($items_count == get_settings('posts_per_rss')) && empty($m)) { break; } } } ?>
|
||||
</channel>
|
||||
|
||||
Reference in New Issue
Block a user