BrainFeeder RSS plugin BrainFeeder RSS plugin
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

BrainFeeder RSS plugin

Started by halnat, January 29, 2009, 11:22:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

halnat

BrainFeeder for Cpg 1.4x provides a simple user interface that lets you configure your feeds without any knowledge of PHP or the technical aspects of RSS feeds and Coppermine. Test it before using it on your live site.

BrainFeeder for Cpg lets you easily configure most of the attributes of the feeds so that you can create titles and description as you need them to be without you having to modify any code.

You can set up a number of different feeds that send pictures to your subscribers based on various criteria, such as:
   * Keyword
   * Category including child categories
   * Album
   * Latest pictures
   * Most viewed pictures
   * The most highly rated pictures
   * Random pictures selected based on any of the criteria above
   * Meta data from coppermine and Exif can be dynamically added to the picture caption in the feed

If you want, you can also make BrainFeeder publish individual pictures from restricted albums. This is a handy feature if you need to protect most pictures in an album, but still want to publish some of them. Users need to login in order to click through from the feed.

BrainFeeder can be run in two ways:
   * In realtime mode: The feed is generated each time it is called.
   * In batch mode: BrainFeeder generates a static RSS file that is downloaded by subscribers.

More info here: http://www.natvik.com/bfdoc/brainfeeder_doc.html

Example feed: http://www.natvik.com/rss.php?fid=1

BrainFeeder for Coppermine is also available for Coppermine 1.5.

UPDATE
Version 0.6 - new feature: Random pictures in a feed
Version 0.61 - minor bugfixes
Version 0.7 - Improved handling of movies and other media types and made thumbnails in feeds clickable
Version 0.9 - Context sensitive RSS icon (optional), One click feed setup, choose intermediate (normal) or thumbnail to be shown in feed
Version 1.0 - Improved the lay out of the configuration screen. Implemented dynamic picture captions that let you include information from coppermine and exif meta data in the feed.
Version 1.1 - Fixed incorrect default anchor in picture caption
Version 1.2 - Fixed error causing default title to be used also for pictures with their own title


Hein Traag

Natvik thanks for this welcome plugin. Taking a quick look it does look promising. Nice work.

ff

Hya Natvik,

Are you planning on having a random-function in your feed?
Like random X-number of pictures of the complete album on creation of the feed.


halnat

Yes, I will look into the possibility of creating a feed of random pictures.

ff

Great :D

I've been trying to get that working with different RSS-plugins, but I didn't succeed.

The little ajustments to be made for my Kodak W1020-digital photoframe are easy (media-tag), but the real randomizing (or is it randomising? ;)) with each request. ... pfew...

Halfhidden

Hi I installed this great plugin but get an error:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/mysite/public_html/coppermine/plugins/brainfeeder/brainfeeder.php on line 26

I get this when I try to see the feed:
http://mysite.co.uk/coppermine/rss.php?fid=1

Any idea's what could be wrong.
Thanks

halnat

looks like the brainfeeder.php file has been edited. Please try to download again and reinstall.

Halfhidden

Although I hadn't edited this file I did try your advise and uploaded a new copy of the plugin but the error is the same.
I've attached the brainfeeder.php file for you to see.
Thanks

Nibbler


Halfhidden

OK... That never occurred to me and an extremely valid point indeed.... Thanks again Nibbler. I shall upgrade to PHP5 today and report back. Can I confirm that Coppermine1.4.19 is happy with PHP5?
Thanks for all your help again.

Joachim Müller

cpg1.4.x will work with PHP4.2 or better as per docs (section "minimum requirements"). The word "or better" means in this case: yes - will work with PHP5.x as well.
This very plugin needs PHP5 though - the initial posting in this thread should be edited accordingly.

Halfhidden

Thanks for the reply Joachim Müller. I'm pleased that you have edited the post to state PHP5 or better required to run this plugin. I'm going to upgrade this week.

ekhwan

When I try this url http://www.mysite.com/gallery/rss.php?fid=1

I get this error:

Invalid channel image: Image URL missing

Joachim Müller


goman

Please advice.
When install this plugin, writes to this error:
Invalid channel image: Image URL missing
my gallery is here:
http://www.svetfotek.net
and RSS is here:
http://www.svetfotek.net/rss.php?fid=3
Thank you for advice

Hein Traag

@goman... update. Now. Running <!--Coppermine Photo Gallery 1.4.10 (stable)--> is not a bright idea  ;)

goman

Hey, so I did as instructed uprgade:
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade
to cpg1.4.21.
But the plugin still does not work :-(
http://www.svetfotek.net/rss.php?fid=4
and there arose the problem :-(
Everywhere where we had some Smail shows something else.
Example:
http://www.svetfotek.net/displayimage-11748.html

QuoteNo jo, na pana fotografa se všichni usmívali (https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fsvetfotek.net%2Fsmaily%2Fxchat%2F72.gif&hash=24e0ddc3c9a236ebbc11e0ec246959e65a5348d3)

This: http://svetfotek.net/smaily/xchat/72.gif is shown as http://www.svetfotek.net/images/thumbnails.gif
   
Where there may be a problem?
Tahnk you

goman

and incurred additional problem with the captcha in the comments :-(
Example:
http://www.svetfotek.net/displayimage-11748.html


PdLrAaTgIoNnUM

hey halnat gr8 plugin, works great, it integrated successfully on my site (http://www.omerzohar.com/rss.php?fid=1) :)

wanted to ask, is it possible to make rss feeds of new Albums in a cat instead of new pictures?

10x

Joachim Müller