Page 1 of 2
rss in head
Posted: Fri Nov 04, 2005 4:45 pm
by antoney
I want to change my RSS feed to point to feedburner in my head tags. What file do I need to modify?
Re: rss in head
Posted: Fri Nov 04, 2005 5:23 pm
by garvinhicking
Using serendipity 0.9 you can configure the syndication plugin to use Feedburner links instead of s9y ones.
If you want to transparente rewrite s9y URLs you'll need to use mod_rewrite or patch the rss.php file with HTTP header redirects.
Regards
Garvin
change in head tags
Posted: Fri Nov 04, 2005 8:59 pm
by antoney
I have the plug-in working with feedburner, but I want to change theses tags in the document head.
<link rel="alternate" type="application/rss+xml" title="Design Pornography RSS feed" href="
http://www.designpornography.com/index. ... index.rss2" />
<link rel="alternate" type="application/x.atom+xml" title="Design Pornography Atom feed" href="
http://www.designpornography.com/index. ... s/atom.xml" />
Is there a way to do this?
thanks
Re: change in head tags
Posted: Fri Nov 04, 2005 9:01 pm
by garvinhicking
Ah, okay.
You can change those in the index.tpl template of your selected template!
Best regards,
Garvin
Re: rss in head
Posted: Wed Apr 05, 2006 8:27 pm
by gotchi
garvinhicking wrote:Using serendipity 0.9 you can configure the syndication plugin to use Feedburner links instead of s9y ones.
If you want to transparente rewrite s9y URLs you'll need to use mod_rewrite or patch the rss.php file with HTTP header redirects.
Regards
Garvin
Hello!!!
I have a similar Problem - I am using Feedburner since 2 month but the blog is much older - so how is it possible to geht the old subscribers to the feedburner account.
i am using 1.0beta2 and I am not familiar with mod_rewrite - so I am not able to crate the rule by myself.
can someone help me?
original rss link:
http://blog.gotchi.at/index.php?/feeds/index.rss2
feedburner link:
http://feeds.feedburner.com/gotchi
thanx
Re: rss in head
Posted: Wed Apr 05, 2006 9:18 pm
by garvinhicking
Gotchi,
did you try to just edit your index.tpl file and edit the RSS link rel tags at the top of the document, like suggested?
Regards,
Garvin
Posted: Wed Apr 05, 2006 9:29 pm
by gotchi
the problem by fixing the rss with editing the tpl is that if I will update s9y these modifications will be deleted.
also is it a good solution for new subscribers but for old ones which subscribed to the old RSS link via a NewsReader it wont work.
feedburn will not be able to allocate them - so it is necessary to rewrite the old links to the news - for people with newsreaders.
Posted: Wed Apr 05, 2006 9:58 pm
by garvinhicking
Hi!
No, that is actually not right. If you create your own template with your own index.tpl file, this will not be touched by any upgrade.
If you don't have mod_rewrite available, you will need to patch your rss.php file to redirect to Feedburner. Of course this will be hard, because feedburner itself uses the rss.php file to get your feeds, so you would make your PHP patch exclude any redirection magic if feedburner itself reads the feeds! With mod_rewrite this would be a bit easier, I figure.
I personally have no experience with Feedburner, so I can't volunteer giving you any relocation advice in the rss.php file... but it would work something along the lines like:
Code: Select all
<?php
if ($_SERVER['HTTP_USER_AGENT'] != 'FeedBurner 1.0/xxx bla whatever') {
header('Location: http://feedburner.com/your/feed/address');
}
?>
Best regards,
Garvin
Posted: Wed Apr 05, 2006 10:08 pm
by gotchi
i have mod_rewrite available - but my knowledge is too small to check this regex und rewrite stuff. thats the problem

Posted: Wed Apr 05, 2006 10:22 pm
by garvinhicking
Ah, okay. Maybe you can ask on the feedburner forums for help? I'm sure many blog owners might have such a question on how to rewrite their links to feedburner. The mod_rewrite rules from other blog systems like WordPress or TextPattern should be very similar to Serendipity's.
HTH,
Garvin
Posted: Wed Apr 19, 2006 2:21 pm
by gotchi
ok I searched and asked - but ther wos no possibilty to find any user who can give me the right lines for the htaccess.
its a little bit strange that nobody had the same problem or wish before, serendipity is a cool blog software many people are using but nobody was able to give me the solution.
everybody meant that I should search - nice way to give away responsibiliy
perhaps someone here can help me
Posted: Wed Apr 19, 2006 3:09 pm
by garvinhicking
Hi!
If you can research working mod_rewrite rules from wordpress or other blog systems, I might be able to help you!
Best regards,
Garvin
Posted: Thu Apr 20, 2006 10:58 am
by garvinhicking
I think thanks to a german posting I have an easier solution for you:
http://nopaste.php-q.net/206731
This patch for s9y 1.0 / 1.1 allows to set the syndication plugin configuration to "Force feedburner".
Best regards,
Garvin
Posted: Thu Apr 20, 2006 11:23 am
by gotchi
thank you for this info I will test it in some days

Posted: Thu Apr 20, 2006 11:27 am
by garvinhicking
There was a bug in the patch! Instead of "Mozilla" it needs to read "FeedBurn" instead!
Regards,
Garvin