#10689 closed enhancement (invalid)
In Firefox, RSS Feeds using Full Text displays as Excerpt
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 2.8.4 |
| Component: | Feeds | Keywords: | rss, excerpt, full text |
| Focuses: | Cc: |
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?
Change History (4)
Note: See
TracTickets for help on using
tickets.
The other possibility is removing the <description> element when Full Text feeds are in use.