Changeset 4144 for trunk/wp-rdf.php
- Timestamp:
- 08/30/2006 09:46:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-rdf.php
r2860 r4144 6 6 } 7 7 8 header('Content-type: application/rdf+xml; charset=' . get_ settings('blog_charset'), true);8 header('Content-type: application/rdf+xml; charset=' . get_option('blog_charset'), true); 9 9 $more = 1; 10 10 11 11 ?> 12 <?php echo '<?xml version="1.0" encoding="'.get_ settings('blog_charset').'"?'.'>'; ?>12 <?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?> 13 13 <!-- generator="wordpress/<?php echo $wp_version ?>" --> 14 14 <rdf:RDF … … 46 46 <dc:creator><?php the_author() ?></dc:creator> 47 47 <?php the_category_rss('rdf') ?> 48 <?php if (get_ settings('rss_use_excerpt')) : ?>48 <?php if (get_option('rss_use_excerpt')) : ?> 49 49 <description><?php the_excerpt_rss() ?></description> 50 50 <?php else : ?> 51 <description><?php the_content_rss('', 0, '', get_ settings('rss_excerpt_length'), 2) ?></description>51 <description><?php the_content_rss('', 0, '', get_option('rss_excerpt_length'), 2) ?></description> 52 52 <content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded> 53 53 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.