Page 1 of 1
How to disable Flattr-Plugin in RSS Feed?
Posted: Tue Jun 01, 2010 7:21 am
by schimanke
Is there a way to disable the flattr-button in the RSS feed? I use the smarty variable to display the button on my blog. Thanks!
Re: How to disable Flattr-Plugin in RSS Feed?
Posted: Tue Jun 01, 2010 10:03 am
by garvinhicking
Hi!
Not yet, but I just committed a change when smarty is used, it is not automatically put there.
Thanks for the suggestion, this makes sense!
Regards,
Garvin
Re: How to disable Flattr-Plugin in RSS Feed?
Posted: Tue Jun 01, 2010 10:10 am
by schimanke
Thanks for your quick reply. Uhm... So when or how will it be possible to disable the button in rss? Any ideas already?
Re: How to disable Flattr-Plugin in RSS Feed?
Posted: Tue Jun 01, 2010 10:32 am
by garvinhicking
Hi!
schimanke wrote:Thanks for your quick reply. Uhm... So when or how will it be possible to disable the button in rss? Any ideas already?
You can download the PHP file update from here:
http://php-blog.cvs.sourceforge.net/vie ... ent_flattr
HTH,
Garvin
Re: How to disable Flattr-Plugin in RSS Feed?
Posted: Tue Jun 01, 2010 10:37 am
by schimanke
Okay, just tried it and it completely destroyed my rss feed, giving me a Content-Encoding-Error.
Restored to the old version and the feed works... There must be something in there.
Re: How to disable Flattr-Plugin in RSS Feed?
Posted: Tue Jun 01, 2010 10:42 am
by garvinhicking
Hi!
Did you download the PHP file properly? Or maybe accidentaly the HTML version of it?
Regards,
Garvin
Re: How to disable Flattr-Plugin in RSS Feed?
Posted: Tue Jun 01, 2010 10:47 am
by schimanke
Yeah, sorry, my mistake. It is working now and the button is gone from my rss feed. Thanks for your help!!!
Re: How to disable Flattr-Plugin in RSS Feed?
Posted: Thu Jun 03, 2010 9:31 am
by bernd_d
I'm using the Flattr-Plugin 1.5 with smarty and i don't see it within feed. Could someone please tell me, where i have to include it into rss.php?
Re: How to disable Flattr-Plugin in RSS Feed?
Posted: Fri Jun 04, 2010 10:32 am
by garvinhicking
Hi!
bernd_d wrote:I'm using the Flattr-Plugin 1.5 with smarty and i don't see it within feed. Could someone please tell me, where i have to include it into rss.php?
You need to edit the template files feed*.tpl (copy them from templates/default/ if your template doesn'T have it), and then place {$entry.flattr} where you want the javascript to appear.
Note that many feed readers strip javascript from their output, so the flattr-button might not appear everywhere. I don't really have a clue on what to do exactly with the feeds and how to embed a static button that serves the same prupose, or if that even is possible.
Regards,
Garvin
Re: How to disable Flattr-Plugin in RSS Feed?
Posted: Fri Jun 04, 2010 2:22 pm
by bernd_d
Thank you for your answer!
garvinhicking wrote:Note that many feed readers strip javascript from their output, so the flattr-button might not appear everywhere. I don't really have a clue on what to do exactly with the feeds and how to embed a static button that serves the same prupose, or if that even is possible.
I have "googled" for a while and i have found out, that a static button for flattr in the feed isnt't a really goog solution, because you can not flattr single entrys. With a static button you can only flattr this item one time a month.
At the moment i think i will do not use flattr in feed, until there is a better solution.