Allow the update period to be filtered in RSS/RDF feeds. Fixes #9133 props hakre.

git-svn-id: http://svn.automattic.com/wordpress/trunk@10886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2009-04-07 17:42:17 +00:00
parent a22099628c
commit 0c5293c86e
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ $more = 1;
<description><?php bloginfo_rss('description') ?></description> <description><?php bloginfo_rss('description') ?></description>
<dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date> <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date>
<?php the_generator( 'rdf' ); ?> <?php the_generator( 'rdf' ); ?>
<sy:updatePeriod>hourly</sy:updatePeriod> <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency> <sy:updateFrequency>1</sy:updateFrequency>
<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase> <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
<?php do_action('rdf_header'); ?> <?php do_action('rdf_header'); ?>