Changeset 901

Show
Ignore:
Timestamp:
02/21/04 12:28:36 (5 years ago)
Author:
saxmatt
Message:

Feed improvements and suggestions from Mark Pilgrim.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/index.php

    r880 r901  
    2020     
    2121    <link rel="stylesheet" type="text/css" media="print" href="<?php echo $siteurl; ?>/print.css" /> 
    22     <link rel="alternate" type="text/xml" title="RDF" href="<?php bloginfo('rdf_url'); ?>" /> 
    23     <link rel="alternate" type="text/xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> 
     22    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" /> 
     23    <link rel="alternate" type="application/rdf+xml" title="RDF" href="<?php bloginfo('rdf_url'); ?>" /> 
    2424    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" /> 
    2525    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" /> 
  • trunk/wp-atom.php

    r836 r901  
    3737<?php $more = 1; if ($rss_use_excerpt) { 
    3838?> 
    39         <summary type="text/html"><?php the_excerpt_rss($rss_excerpt_length, 2) ?></summary> 
     39        <summary type="text/html" mode="escaped"><?php the_excerpt_rss($rss_excerpt_length, 2) ?></summary> 
    4040<?php 
    4141} else { // use content 
  • trunk/wp-rdf.php

    r836 r901  
    66} 
    77 
    8 header('Content-type: text/xml', true); 
     8header('Content-type: application/rdf+xml', true); 
    99 
    1010/* This doesn't take into account edits 
  • trunk/wp-rss2.php

    r836 r901  
    66} 
    77 
    8 header('Content-type: text/xml', true); 
     8header('Content-type: application/rss+xml', true); 
    99 
    1010/* This doesn't take into account edits