Walker News

A capsule of walker’s experience in life…

How To Enable Full-Text Feed RSS In Wordpress 2.1

It’s really a frustrated to get full-text feed working in Wordpress 2.1. Setting the Syndication Feeds in Reading Options to show full-text has no effect at all, if you’re using the <!--more--> (Read more…) link to show post excerpt in main page (of your blog).

I am not sure since which version of Wordpress started to have similar problem. Apparently, full-text feed is not working in Wordpress 2.1 onwards, even in the latest Wordpress 2.1.2.

So, how to enable full-text feed to work in Wordpress 2.1?


There are only two ways to resolve this problem. You could either install a full-text feed plugin or make a simple hack in post-template.php file.

Install Full Text Feed Wordpress plugin provided by Cavemonkey50

Just download this plugin from cavemonkey50, extract it, upload full_feed.php file to the Wordpress plugin directory, and activate it in Plugin page. That’s all to get full-text feed back in Wordpress 2.1.

Tweaking the post-template.php file in wp-includes directory

Thanks to Cacturion! I’ve opted to use this hack instead, as the full-text feed of both RSS 2 and ATOM 0.3 have passed the feed validation test!

Cacturion full-text feed hacking guide

1) While in the Wordpress Admin page, click on Manage tab and then the Files tab,

2) Type wp-includes/post-template.php filename in Other Files section to edit this PHP source code file,

3) Look for this line of PHP code

if(preg_match('/<!--more(.+?)?-->/',$content,$matches)){

and change it to

if(preg_match('/<!--more(.+?)?-->/',$content,$matches) && !is_feed()){

4) Click on the Update File button to save change. That’s all to get the full-text feed working in Wordpress 2.1.

Cacturion has posted this hack in Wordpress support forum since 2 months ago. By just adding back the is_feed () function to post-template.php file and the full-text feed is working in Wordpress 2.1. But, what’s the reason of Wordpress developers to take out this is_feed () function from post-template.php?


Bookmark and Share:
  • Facebook
  • StumbleUpon
  • Sphinn
  • Digg
  • Pownce
  • del.icio.us
  • Live
  • Google
  • YahooMyWeb
  • Slashdot
  • Furl
  • NewsVine
  • Reddit
  • Ma.gnolia
  • TailRank
  • Technorati
  • BlinkList
  • blogmarks
  • IndianPad
  • Haohao
Topic - Howto, Internet   Search - , , , , ,

Similar Articles:
» Enable Full Text Feed In Wordpress 2.2
» How To View RSS Feed In XML Format With Firefox
» IE 7 XML Feed Display & RSS Feed Validation
» How To Optimize Blog For Mobile Device
» How to Add Recent Comments In New Blogger Template
» Highlight Author Comment And Pingback In Wordpress Theme
» Enable Gravatar In Wordpress Comment And Pingback

Custom Search

Latest Posts @ WalkerNews.net

↑ Grab this Headline Animator

Navigation:
» HOME - WalkerNews.net
« PREV  - Nokia N73 SISX Freeware & Game Hide In Taiwan
» NEXT  - Fire Windows Vista Command Prompt With Administrator Privilege

No comments yet. Be the first.

Appreciate your comments, but please be in topic.
Please use proper English with punctuation, from 12th of May 2008 onwards.
WalkerNews.net supports Gravatar (Web ID)