6 */ |
6 */ |
7 |
7 |
8 header('Content-Type: ' . feed_content_type('rdf') . '; charset=' . get_option('blog_charset'), true); |
8 header('Content-Type: ' . feed_content_type('rdf') . '; charset=' . get_option('blog_charset'), true); |
9 $more = 1; |
9 $more = 1; |
10 |
10 |
11 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> |
11 echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; |
|
12 |
|
13 /** This action is documented in wp-includes/feed-rss2.php */ |
|
14 do_action( 'rss_tag_pre', 'rdf' ); |
|
15 ?> |
12 <rdf:RDF |
16 <rdf:RDF |
13 xmlns="http://purl.org/rss/1.0/" |
17 xmlns="http://purl.org/rss/1.0/" |
14 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
18 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
15 xmlns:dc="http://purl.org/dc/elements/1.1/" |
19 xmlns:dc="http://purl.org/dc/elements/1.1/" |
16 xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" |
20 xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" |
28 <channel rdf:about="<?php bloginfo_rss("url") ?>"> |
32 <channel rdf:about="<?php bloginfo_rss("url") ?>"> |
29 <title><?php bloginfo_rss('name'); wp_title_rss(); ?></title> |
33 <title><?php bloginfo_rss('name'); wp_title_rss(); ?></title> |
30 <link><?php bloginfo_rss('url') ?></link> |
34 <link><?php bloginfo_rss('url') ?></link> |
31 <description><?php bloginfo_rss('description') ?></description> |
35 <description><?php bloginfo_rss('description') ?></description> |
32 <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date> |
36 <dc:date><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></dc:date> |
33 <?php /** This filter is documented in wp-includes/feed-rss2.php */ ?> |
37 <sy:updatePeriod><?php |
34 <sy:updatePeriod><?php echo apply_filters( 'rss_update_period', 'hourly' ); ?></sy:updatePeriod> |
38 /** This filter is documented in wp-includes/feed-rss2.php */ |
35 <?php /** This filter is documented in wp-includes/feed-rss2.php */ ?> |
39 echo apply_filters( 'rss_update_period', 'hourly' ); |
36 <sy:updateFrequency><?php echo apply_filters( 'rss_update_frequency', '1' ); ?></sy:updateFrequency> |
40 ?></sy:updatePeriod> |
|
41 <sy:updateFrequency><?php |
|
42 /** This filter is documented in wp-includes/feed-rss2.php */ |
|
43 echo apply_filters( 'rss_update_frequency', '1' ); |
|
44 ?></sy:updateFrequency> |
37 <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase> |
45 <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase> |
38 <?php |
46 <?php |
39 /** |
47 /** |
40 * Fires at the end of the RDF feed header. |
48 * Fires at the end of the RDF feed header. |
41 * |
49 * |