hi all
I did activate my s9y plugin to forse redirection to FeedBurner, and it works fine, since I get a 302 redirection on all my feeds to feedburner.
BUT, how can now feedburner get my feeds in they get redirected to feedburner? does it comes to an infinite loop?? or should I do any other trick?
thanks
bye, alberto.
FeedBurner redirection
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: FeedBurner redirection
Hi!
The rss.php has a Feedburner exclusion, so feedburner itself will not get redirected.
Best regards,
Garvin
The rss.php has a Feedburner exclusion, so feedburner itself will not get redirected.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
What did that person tell exactly?
Usually, since Feedburner does not get redirected, it can perform usual Etag/Last-Modified operations.
Clients that get redirected to your Feedburner feed should submit their etag/LM date to the feedburner.com servers, which should handle that strings also just fine.
So even if there were bandwidth problems, they would more likely appear on feedburners servers, not on yours. However, if you direct people directly to your feedburner link, you will not get any rss feed requests on your page - and thus save some bandwidth (a few bytes per request) on your page
Best regards,
Garvin
What did that person tell exactly?
Usually, since Feedburner does not get redirected, it can perform usual Etag/Last-Modified operations.
Clients that get redirected to your Feedburner feed should submit their etag/LM date to the feedburner.com servers, which should handle that strings also just fine.
So even if there were bandwidth problems, they would more likely appear on feedburners servers, not on yours. However, if you direct people directly to your feedburner link, you will not get any rss feed requests on your page - and thus save some bandwidth (a few bytes per request) on your page
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
another problem
of course, you were right. BUT I have another bug, right now.
it seems that all my feed went redirected, and that's good, but also my categories feed are redirected to the main feed on feedburner, which is not good. how about it?
take a look at my general feed and a category feed:
http://www.mucignat.com/blog/feeds/index.rss2
http://www.mucignat.com/blog/feeds/cate ... ojects.rss
bye, Alberto.
it seems that all my feed went redirected, and that's good, but also my categories feed are redirected to the main feed on feedburner, which is not good. how about it?
take a look at my general feed and a category feed:
http://www.mucignat.com/blog/feeds/index.rss2
http://www.mucignat.com/blog/feeds/cate ... ojects.rss
bye, Alberto.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: another problem
Hi!
Hm, your rss.php should contain this:
So this should take actions that redirection is only done when no specific category is selected?!
Oh. I see this is only contained in 1.1 snapshots, so you'd need to upgrade or use that code until you upgrade.
HTH,
Garvin
Hm, your rss.php should contain this:
Code: Select all
if ($_GET['type'] == 'content' &&
!isset($_GET['category']) &&
!isset($serendipity['GET']['tag']) &&
$plugin->get_config('show_feedburner') === 'force' &&
!preg_match('@FeedBurn@i', $_SERVER['HTTP_USER_AGENT']) &&
!(serendipity_userLoggedIn() && isset($_GET['forceLocal']))
) {
$url = 'http://feeds.feedburner.com/' . $plugin->get_config('fb_id');
header('Location: ' . $url);
exit;
}
Oh. I see this is only contained in 1.1 snapshots, so you'd need to upgrade or use that code until you upgrade.
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/