[wp-trac] [WordPress Trac] #10689: In Firefox, RSS Feeds using Full Text displays as Excerpt
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 26 18:14:10 UTC 2009
#10689: In Firefox, RSS Feeds using Full Text displays as Excerpt
-------------------------+--------------------------------------------------
Reporter: r-a-y | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8.5
Component: Feeds | Version: 2.8.4
Severity: normal | Keywords: rss,excerpt,full text
-------------------------+--------------------------------------------------
Wasn't sure to either file this as a "bug" or an "enhancement", but anyway
this "bughancement" was originally pointed out by Rahul:
http://www.devilsworkshop.org/force-firefox-to-display-your-full-feeds-
wordpress-hack/
In wp-includes/feed-rss2.php,
{{{
<?php if (get_option('rss_use_excerpt')) : ?>
<description><![CDATA[<?php the_excerpt_rss()
?>]]></description>
<?php else : ?>
<description><![CDATA[<?php the_excerpt_rss()
?>]]></description>
}}}
The "else" statement should not be the_excerpt_rss(), it should be
the_content_rss().
The same thing would have to be modified for the other feed items.
---
I know <description> should be ideally used as an excerpt, but the main
problem is Firefox uses the <description> attribute instead of
<content:encoded> to view RSS feeds with Full Text.
Since we already do a check for using rss_use_excerpt(), couldn't we just
make the <description> full text anyway?
What do you guys think?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10689>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list