WordPress.org

Make WordPress Core

Changeset 2625 for trunk/wp-rss2.php


Ignore:
Timestamp:
06/10/2005 06:45:39 PM (14 years ago)
Author:
matt
Message:

Adding hooks in syndication feeds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-rss2.php

    r2374 r2625  
    1919    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    2020    xmlns:dc="http://purl.org/dc/elements/1.1/"
     21    <?php do_action('rss2_ns'); ?>
    2122>
    2223
     
    2829    <generator>http://wordpress.org/?v=<?php bloginfo_rss('version'); ?></generator>
    2930    <language><?php echo get_option('rss_language'); ?></language>
    30 
     31    <?php do_action('rss2_head'); ?>
    3132    <?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?>
    3233    <item>
     
    5152        <wfw:commentRSS><?php echo comments_rss(); ?></wfw:commentRSS>
    5253<?php rss_enclosure(); ?>
     54    <?php do_action('rss2_item'); ?>
    5355    </item>
    5456    <?php $items_count++; if (($items_count == get_settings('posts_per_rss')) && empty($m)) { break; } } } ?>
Note: See TracChangeset for help on using the changeset viewer.