Pligg CMS Forums


Go Back   Pligg CMS Forum > Pligg Help > General Help



Replacing Pligg RSS Feeds with Feedburner ones


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-24-2007, 11:32 AM
New Pligger
 
Join Date: Oct 2006
Posts: 7
Replacing Pligg RSS Feeds with Feedburner ones

Hello,

I'm after replacing the the published/unpublished/all feeds that Pligg generates with some feedburner'd ones so I can track them. Any idea how I can do this?
Reply With Quote
Sponsor
  #2 (permalink)  
Old 02-24-2007, 12:54 PM
beatniak's Avatar
Pligg Donor
 
Join Date: Apr 2006
Location: NL - 52.100863;5.108356
Posts: 310
The best method for this is:

1) open /Pliggfolder/templates/<yourtemplate>/sidebar_modules/rss.tpl
Change the RSS-links to this:
Code:
<li><a href="{$my_pligg_base}/rss/popular" target="_blank">{#PLIGG_Visual_RSS_Published#}</a></li>
<li><a href="{$my_pligg_base}/rss/queued" target="_blank">{#PLIGG_Visual_RSS_Queued#}</a></li>
<li><a href="{$my_pligg_base}/rss/all" target="_blank">{#PLIGG_Visual_RSS_All#}</a></li>
2) open /Pliggfolder/templates/<yourtemplate>/pligg.tpl
Change the RSS link:
Code:
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://{$server_name}{$my_pligg_base}/rss/popular"/>
3) add this to your .htaccess file
Code:
Redirect /rss/popular http://feeds.feedburner.com/<yourfeed>-popular
Redirect /rss/queued http://feeds.feedburner.com/<yourfeed>-queued
Redirect /rss/all http://feeds.feedburner.com/<yourfeed>-all
NOTE: I did the redirect with the htaccess, so you can easily change the feed URL to another service if you want and your feed-users can keep the same feed URL.

Like my work? Donations are welcome if you would like to support my work!
Finger pliggin' good sites of mine: receptencocktail.nl / numarketing.nl / goboz.com
Reply With Quote
  #3 (permalink)  
Old 04-17-2007, 07:44 AM
New Pligger
 
Join Date: Mar 2007
Location: Belgium
Posts: 4
Thanks for the method but I have still a problem:

The link to the small RSS icon in the top address bar of the browser is broken.
I have tried to put the feedburner link directly but the rss is not updated.

Any idea which link can I write in pligg.tpl ?
Reply With Quote
  #4 (permalink)  
Old 09-17-2007, 10:35 AM
Constant Pligger
 
Join Date: Oct 2006
Posts: 125
Hi beatniak, does this replace all the category feeds as well ?

Or its needed to change them all manually each time a category is created ?

I have pligg 9.8 with yget, just to know the same files are the ones to edit.

Thanks.
Reply With Quote
  #5 (permalink)  
Old 11-30-2007, 04:33 PM
Constant Pligger
 
Join Date: Oct 2006
Posts: 125
Hi, how can I change the rss feed in pligg to use my feedburner address.

I am using 9.8.2.

Thanks.
Reply With Quote
  #6 (permalink)  
Old 12-04-2007, 01:45 AM
Constant Pligger
 
Join Date: Oct 2006
Posts: 125
Quote:
Originally Posted by Peter View Post
Hi, how can I change the rss feed in pligg to use my feedburner address.

I am using 9.8.2.

Thanks.
..........
Reply With Quote
  #7 (permalink)  
Old 03-14-2008, 02:04 AM
Casual Pligger
Pligg Version: 9.9.0
Pligg Template: YGet
 
Join Date: Oct 2007
Location: Minnesota
Posts: 35
Does anyone know how to do this for all the category feeds?
Reply With Quote
  #8 (permalink)  
Old 03-14-2008, 06:16 PM
Casual Pligger
Pligg Version: 9.9.0
Pligg Template: YGet
 
Join Date: Oct 2007
Location: Minnesota
Posts: 35
Replacing category RSS feeds with Feedburner

Here's what I did to replace the category feeds with Feedburner feeds. It works okay, except that I still have "?category=1" (or whatever the appropriate category number is) after each Feedburner RSS URL, but oh well. It doesn't seem to affect it much and I don't know enough to know how to get rid of it.

First I burned all my category feeds in Feedburner. Then I opened .htaccess and at the end I added this:

Code:
RewriteCond %{HTTP_USER_AGENT} !FeedBurner
RewriteRule category/1$ http://feeds.feedburner.com/PlugRug-YouthMinistry [R,L]
RewriteRule category/2$ http://feeds.feedburner.com/PlugRug-ChildrensMinistry [R,L]
RewriteRule category/3$ http://feeds.feedburner.com/PlugRug-WorshipArts [R,L]
etc....

Basically, rewriting anything that ends with "category/1" to the Feedburner feed instead. Since pligg's category feed is the only thing that ends with "category/1" "category/2" etc, there's no conflict that I know of.

My site is still a work in progress, but you can see how it works here: PlugRug.com / Published Stories
Reply With Quote
  #9 (permalink)  
Old 04-24-2008, 01:29 AM
Casual Pligger
Pligg Version: 9.9
 
Join Date: Apr 2008
Posts: 43
I'm doing something similar:

Code:
##### RSS Routing to FeedBurner
redirect 301 /rss/queued http://feeds.feedburner.com/JoomlaVote/Upcoming-Stories
redirect 301 /rss/category/2 http://feeds.feedburner.com/JoomlaVote/Joomla-Community-News
redirect 301 /rss/category/3 http://feeds.feedburner.com/JoomlaVote/Articles-Tutorials
redirect 301 /rss/category/6 http://feeds.feedburner.com/JoomlaVote/Modules
redirect 301 /rss/category/7 http://feeds.feedburner.com/JoomlaVote/Plugins
redirect 301 /rss/category/8 http://feeds.feedburner.com/JoomlaVote/Components
redirect 301 /rss/category/5 http://feeds.feedburner.com/JoomlaVote/Templates
redirect 301 /rss/category/10 http://feeds.feedburner.com/JoomlaVote/Search-Engine-Optimization
redirect 301 /rss/category/12 http://feeds.feedburner.com/JoomlaVote/Monetizing-Advertising
redirect 301 /rss/category/13 http://feeds.feedburner.com/JoomlaVote/Community-Events
redirect 301 /rss/category/9 http://feeds.feedburner.com/JoomlaVote/Sites-Powered-By-Joomla
redirect 301 /rss http://feeds.feedburner.com/JoomlaVote
I also have the problem of the category numbers getting added to the FeedBurner URL:

feeds.feedburner.com/JoomlaVote/Search-Engine-Optimization?category=10
instead of
feeds.feedburner.com/JoomlaVote/Search-Engine-Optimization


Does anybody out there have a better way to incorporate FeedBurner?
Reply With Quote
  #10 (permalink)  
Old 05-03-2008, 03:40 AM
Casual Pligger
 
Join Date: Apr 2008
Posts: 49
yeh

Switch to Drigg before you get too knee deep in a messy coded Pligg. I wish I woulda done that...
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing feedburner feeds irishjoe Module Support 0 08-15-2008 06:45 AM
Pligg integration with SMF Forum autoinc Modification Tutorials 64 05-19-2008 02:22 AM

Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Use the coupon code PLIGG at Dreamhost.com to receive a discount of up to $84.00 Make a donation to support Pligg CMS development