Go Back   Pligg Forum > Pligg Help > General Help
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-24-2007, 10:32 AM
msdi msdi is offline
New Pligger
 
Join Date: Oct 2006
Posts: 7
Downloads: 2
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
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
  #2 (permalink)  
Old 02-24-2007, 11:54 AM
beatniak's Avatar
beatniak beatniak is offline
Pligg Dev/MB creator
 
Join Date: Apr 2006
Location: NL - 52.100863;5.108356
Posts: 310
Downloads: 32
Uploads: 0
Thanks: 14
Thanked 77 Times in 48 Posts
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, 06:44 AM
euspirit euspirit is offline
New Pligger
 
Join Date: Mar 2007
Location: Belgium
Posts: 4
Downloads: 15
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
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, 09:35 AM
Peter Peter is offline
Constant Pligger
 
Join Date: Oct 2006
Posts: 123
Downloads: 38
Uploads: 0
Thanks: 3
Thanked 1 Time in 1 Post
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, 03:33 PM
Peter Peter is offline
Constant Pligger
 
Join Date: Oct 2006
Posts: 123
Downloads: 38
Uploads: 0
Thanks: 3
Thanked 1 Time in 1 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
  #6 (permalink)  
Old 12-04-2007, 12:45 AM
Peter Peter is offline
Constant Pligger
 
Join Date: Oct 2006
Posts: 123
Downloads: 38
Uploads: 0
Thanks: 3
Thanked 1 Time in 1 Post
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, 01:04 AM
godrox godrox is offline
Casual Pligger
Pligg Version: 9.9.0
Pligg Template: YGet
 
Join Date: Oct 2007
Location: Minnesota
Posts: 35
Downloads: 11
Uploads: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Does anyone know how to do this for all the category feeds?
Reply With Quote
  #8 (permalink)  
Old 03-14-2008, 05:16 PM
godrox godrox is offline
Casual Pligger
Pligg Version: 9.9.0
Pligg Template: YGet
 
Join Date: Oct 2007
Location: Minnesota
Posts: 35
Downloads: 11
Uploads: 0
Thanks: 1
Thanked 0 Times in 0 Posts
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, 12:29 AM
swese44 swese44 is offline
Casual Pligger
Pligg Version: 9.9
 
Join Date: Apr 2008
Posts: 30
Downloads: 6
Uploads: 0
Thanks: 0
Thanked 1 Time in 1 Post
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?
__________________
JoomlaVote.com
Reply With Quote
  #10 (permalink)  
Old 05-03-2008, 02:40 AM
na3s na3s is offline
Casual Pligger
 
Join Date: Apr 2008
Posts: 34
Downloads: 6
Uploads: 0
Thanks: 0
Thanked 1 Time in 1 Post
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
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Pligg and Advertising popo General Help 2 01-16-2007 12:16 AM
RSS feeds still say PLIGG even though i edited language files s0me0ne General Help 1 10-29-2006 06:31 PM
Page titles & breadcrumbs AshDigg Core Development 11 06-30-2006 06:35 PM


LinkBacks Enabled by vBSEO 3.0.0