Make WordPress Core

Changeset 4495 for trunk/wp-atom.php


Ignore:
Timestamp:
11/19/2006 07:56:05 AM (18 years ago)
Author:
ryan
Message:

Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-atom.php

    r4465 r4495  
    1212<?php echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
    1313<feed version="0.3"
    14   xmlns="http://purl.org/atom/ns#"
    15   xmlns:dc="http://purl.org/dc/elements/1.1/"
    16   xml:lang="<?php echo get_option('rss_language'); ?>"
    17   <?php do_action('atom_ns'); ?>
    18   >
     14    xmlns="http://purl.org/atom/ns#"
     15    xmlns:dc="http://purl.org/dc/elements/1.1/"
     16    xml:lang="<?php echo get_option('rss_language'); ?>"
     17    <?php do_action('atom_ns'); ?>
     18>
    1919    <title><?php bloginfo_rss('name') ?></title>
    2020    <link rel="alternate" type="text/html" href="<?php bloginfo_rss('home') ?>" />
     
    2626    <?php while (have_posts()) : the_post(); ?>
    2727    <entry>
    28         <author>
     28        <author>
    2929            <name><?php the_author() ?></name>
    3030        </author>
     
    3434        <modified><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></modified>
    3535        <issued><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></issued>
    36         <?php the_category_rss('rdf') ?> 
     36        <?php the_category_rss('rdf') ?>
    3737        <summary type="text/plain" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
    3838<?php if ( !get_option('rss_use_excerpt') ) : ?>
Note: See TracChangeset for help on using the changeset viewer.