Page 1 of 2

New FeedFlare Plugin

Posted: Sat Dec 02, 2006 7:49 pm
by Bidimus
I don't know who who fixed my forum account but thanks. :) I've been trying to get on to let everyone know about a small plugin I threw together for adding Feedburner FeedFlare to my blog.

You can check it out here.

I'm not sure what the process is but I wouldn't mind if it was added to Spartacus though I will likely only keep it maintained on my website. If it is added to Spartacus would it be possible to have it downloaded through the file manager at my site? I'd like to track downloads so I have some indication whether or not it is being used.

Anyway, just some thoughts. Feel free to leave me comments here or at my blog or file manager. :)

Re: New FeedFlare Plugin

Posted: Mon Dec 04, 2006 9:52 am
by garvinhicking
Hi!

Thanks for that plugin! I currently am a bit short on time, but I could add it to spartacus if you like.

However, spartacus does not easily track download numbers right now, so there would be no way for you to see download counts. :( Should I add it despite of that, or would you prefer to make your plugin hosted on your site only?

I plan to add a section to the spartacus homepage to add links to other peoples plugin pages, so that they can be found better - would you prefer this?

Best regards,
Garvin

Posted: Mon Dec 04, 2006 10:17 pm
by Bidimus
Hmmm... If I gave you an external link that went through a hit counter like my file manager would that work in Sparticus? I am using a similar method with one of my podcasts where I make the mp3 available through a counter/redirector so I can track plays through a third party flash feed player.

I'd be willing to arrange some tests if your interested in trying...

For example. This link should return the file by way of my file manager:

http://dl.bidiworld.net/download.php?file=2&go=1

If it isn't possible then go ahead and put it in Spartacus and I'll just keep you up to date via this forum when I make updates. :)

I really believe in Spartacus as a tool. I know it has made my life so much easier.

Posted: Mon Dec 04, 2006 10:48 pm
by garvinhicking
Hi!

No, Spartacus is a direct-download mirror. Redirection etc. will not work, also because we could then not validate and secure the download facility.

So I can only point a link to your general download manager location where you can put all the plugins, and then on the spartacus site give a link: "Bidiworlds Plugins"?

Or, of course I can commit the plugin to spartacus.

Regards,
Garvin

Posted: Tue Dec 05, 2006 6:23 am
by Bidimus
Go ahead and post it to Spartacus then... :) I think making it easily available outweighs tracking downloads... Once I get the web site more organized I might take you up on your other suggestion as well but I want to do some customizing on the file manager first...

Thanks,

- Bidi

Posted: Tue Dec 05, 2006 10:20 am
by garvinhicking
Hi!

Okay, thanks a lot! Just committed the files!

Best regards,
Garvin

Posted: Wed Dec 06, 2006 7:55 pm
by Bidimus
Sweet thanks.

Here is a question I hadn't thought of before. I had intended the plugin to be licensed under a Creative Commons Share-Alike 2.5 license but Serendipity and the plugins on Spartacus are licensed under GNU. I really should have put a CC license in the code but forgot. I do however have my download manager setup to notify the downloader of the CC license.

Is there a conflict in licensing it as CC? If not would it be possible to update the license as it is displayed on the Spartacus plugin list page? If so I'll just switch my license on the download manager should anyone decide to direct download it.

Thanks,

- Bidi

Posted: Wed Dec 06, 2006 8:50 pm
by garvinhicking
Hi!

Plugins in Spartacus can each have their own license(s)! You can even put LGPL, BSD, CC or even commercial licenses in there. Just use the propbag "license" attribute to tell the plugin which license it has.

Of course what people do with it is on a different side of the paper; but generally, spartacus/s9y shows under which license a plugin operates.

What would be the exact license string/name? Then I can commit it.

Best regards,
Garvin

Posted: Thu Dec 07, 2006 7:28 pm
by Bidimus
That would be awesome. The creative commons wording for the license is "Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License".

The specifics of the license is at http://creativecommons.org/licenses/by-nc-sa/2.5/.

I think it can be abbreviated CC BY-NC-SA 2.5 but I'm a bit new to the specifics of Createive Commons.

I'm not exactly sure what the best way to do it in code would be so I'll leave the details to you and I'll follow your example for future plugins.

I looked through the API docs but didn't find anything specific other than a copyright property bag. Are there two different properties?

Thanks agian,

- Bidi

Posted: Thu Dec 07, 2006 7:41 pm
by garvinhicking
Hi!

Thanks, I've updated your plugin in CVS:

http://php-blog.cvs.sourceforge.net/php ... feedflare/

Best regards,
Garvin

Posted: Mon Jan 29, 2007 9:01 am
by tuler
I've installed this plugin, but the FeedFlare does not show up on the footer of the entries.

I'm using version 1.1 with the plainjane template. Is there something I need to do different?

Posted: Mon Jan 29, 2007 9:21 am
by tuler
I checked my page source and I do see that the plugin is adding the script into the page, but nothing shows in the post.

Code: Select all

<script src="http://feeds.feedburner.com/~s/SlyBaldGuysBlog?i=http://www.slybaldguys.com/serendipity/archives/53-Matte-For-Men-Complete-Head-Care-Lotion.html" type="text/javascript" charset="utf-8"></script>

Posted: Mon Jan 29, 2007 9:24 am
by garvinhicking
Hi!

Yes, you do see no output! Feedflare is just for statistics, you must see the "output" in your FeedBurner panel!

HTH,
Garvin

Posted: Sat Feb 17, 2007 12:05 am
by robw
Hi Garvin,

It is not just for stats - Feedflare should be able to display various enhancements (email me, digg, etc etc) via this plugin. I also have the problem of feedflare enhancements not showing up.

I temporarily added a javascript alert to the end of the feedflare plugin in one of my blogs, and this worked fine, so the javascript executes - the fact that the enhancements so not appear seems to be a feedburner problem?

Cheers
Rob

Posted: Sun Feb 18, 2007 10:12 am
by robw
Hi Garvin,

The feedflare plugin has a bug - the script url that it calls is incorrect, which is why the feedflare does not show in the blog. On line 71:

Change:

Code: Select all

script src="http://feeds.feedburner.com/' . $this->get_config
To:

Code: Select all

script src="http://feeds.feedburner.com/~s/' . $this->get_config
i.e. - addition of ~s/ into the url.

Then it works fine!
Cheers
Rob