Full and excerpt RSS (custom) feeds simultaneously
-
Hi,
For Feedburner subscribers, I would like to be able to provide an excerpt only RSS feed of my WordPress articles.
For my Aweber subscribers, I would like to be able to provide a full article RSS feed.
I’ve tried creating custom feeds using the Feed Wrangler plugin. I’ve added my custom RSS feed into my active theme folder.
I’ve created (copied from the feed-rss2.php file) feed-rss2-excerpt.php (for excerpts only) and feed-rss2-full.php (for full articles).
I’ve also changed the functions.php to add the following fuctions :
/**
* Load the RSS2 Feed Excerpt Template. #### CUSTOM FEED ####
*
* @since 2.1.0
*/
function do_feed_rss2_excerpt() {
load_template( ABSPATH . WPINC . ‘/feed-rss2-excerpt.php’ );
}/**
* Load the RSS2 Feed FULL Template. #### CUSTOM FEED ####
*
* @since 2.1.0
*/
function do_feed_rss2_full() {
load_template( ABSPATH . WPINC . ‘/feed-rss2-full.php’ );
}Now that i’ve done that, I don’t get 404 anymore with the links below, but only they only display excerpts, not full.
https://www.marketeur.biz/blogue/feed/rss2-full/
https://www.marketeur.biz/blogue/feed/rss2-excerpt/
I made changes to them but it doesn’t change anything. I’m guessing the feed adresses above are just fowarded to one of my main WordPress feed.
I never thought it would be that complicated to create a custom RSS feed with WordPress. I’m not crazy about making code changes since them might get overwritten on a future WO update.
Like I said, I only what to be able to use both a full feed and a excerpt feed, simultaneously.
Is it even possible?
Thanks!
Christian
- The topic ‘Full and excerpt RSS (custom) feeds simultaneously’ is closed to new replies.