WordPress.org

Make WordPress Core

Changeset 2625 for trunk/wp-atom.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-atom.php

    r2593 r2625  
    1717  xmlns:dc="http://purl.org/dc/elements/1.1/"
    1818  xml:lang="<?php echo get_option('rss_language'); ?>"
     19  <?php do_action('atom_ns'); ?>
    1920  >
    2021    <title><?php bloginfo_rss('name') ?></title>
     
    2425    <copyright>Copyright <?php echo mysql2date('Y', get_lastpostdate('blog'), 0); ?></copyright>
    2526    <generator url="http://wordpress.org/" version="<?php bloginfo_rss('version'); ?>">WordPress</generator>
    26    
     27    <?php do_action('atom_head'); ?>
    2728    <?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?>
    2829    <entry>
     
    4142<?php endif; ?>
    4243<?php rss_enclosure(); ?>
     44<?php do_action('atom_entry'); ?>
    4345    </entry>
    4446    <?php $items_count++; if (($items_count == get_settings('posts_per_rss')) && empty($m)) { break; } } } ?>
Note: See TracChangeset for help on using the changeset viewer.