Ticket #9134: 9134-v2.patch
| File 9134-v2.patch, 2.1 KB (added by , 17 years ago) |
|---|
-
feed-atom.php
47 47 <?php endif; ?> 48 48 <?php atom_enclosure(); ?> 49 49 <?php do_action('atom_entry'); ?> 50 <link rel="replies" type="text/html" href="<?php the_permalink_rss() ?>#comments" thr:count="<?php echo get_comments_number()?>"/> 51 <link rel="replies" type="application/atom+xml" href="<?php echo get_post_comments_feed_link(0,'atom') ?>" thr:count="<?php echo get_comments_number()?>"/> 52 <thr:total><?php echo get_comments_number()?></thr:total> 50 <?php if(($comments_number=get_comments_number())>0||comments_open()===true):?> 51 <link rel="replies" type="text/html" href="<?php the_permalink_rss() ?>#comments" thr:count="<?php echo $comments_number;?>" /> 52 <link rel="replies" type="application/atom+xml" href="<?php echo get_post_comments_feed_link(0,'atom') ?>" thr:count="<?php echo $comments_number;?>" /> 53 <thr:total><?php echo $comments_number;?></thr:total> 54 <?php endif;?> 53 55 </entry> 54 56 <?php endwhile ; ?> 55 57 </feed> -
feed-rss2.php
35 35 <item> 36 36 <title><?php the_title_rss() ?></title> 37 37 <link><?php the_permalink_rss() ?></link> 38 <comments><?php comments_link(); ?></comments>39 38 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate> 40 39 <dc:creator><?php the_author() ?></dc:creator> 41 40 <?php the_category_rss() ?> … … 51 50 <content:encoded><![CDATA[<?php the_excerpt_rss() ?>]]></content:encoded> 52 51 <?php endif; ?> 53 52 <?php endif; ?> 53 <?php if(get_comments_number()>0||comments_open()===true):?> 54 <comments><?php comments_link(); ?></comments> 54 55 <wfw:commentRss><?php echo get_post_comments_feed_link(); ?></wfw:commentRss> 55 56 <slash:comments><?php echo get_comments_number(); ?></slash:comments> 57 <?php endif;?> 56 58 <?php rss_enclosure(); ?> 57 59 <?php do_action('rss2_item'); ?> 58 60 </item>