#10689 closed enhancement (invalid)
In Firefox, RSS Feeds using Full Text displays as Excerpt
| Reported by: | r-a-y | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Feeds | Version: | 2.8.4 |
| Severity: | normal | Keywords: | rss, excerpt, full text |
| Cc: | Focuses: |
Description
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?
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
The other possibility is removing the <description> element when Full Text feeds are in use.