Advanced search  

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]

Pages: [1] 2 3   Go Down

Author Topic: BrainFeeder RSS plugin  (Read 68273 times)

0 Members and 2 Guests are viewing this topic.

halnat

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 25
BrainFeeder RSS plugin
« on: January 29, 2009, 11:22:33 pm »

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

« Last Edit: December 26, 2009, 02:08:42 pm by halnat »
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: BrainFeeder RSS plugin - alpha release
« Reply #1 on: January 30, 2009, 10:03:38 am »

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

ff

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
Re: BrainFeeder RSS plugin - alpha release
« Reply #2 on: February 05, 2009, 08:56:23 am »

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.

Logged

halnat

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 25
Re: BrainFeeder RSS plugin - alpha release
« Reply #3 on: February 07, 2009, 11:33:28 am »

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

ff

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
Re: BrainFeeder RSS plugin - alpha release
« Reply #4 on: February 07, 2009, 11:51:18 am »

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...
Logged

Halfhidden

  • Guest
Re: BrainFeeder RSS plugin - alpha release
« Reply #5 on: February 11, 2009, 01:19:48 pm »

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
Logged

halnat

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 25
Re: BrainFeeder RSS plugin - alpha release
« Reply #6 on: February 13, 2009, 11:27:20 am »

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

Halfhidden

  • Guest
Re: BrainFeeder RSS plugin - alpha release
« Reply #7 on: February 13, 2009, 04:39:34 pm »

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
Logged

Nibbler

  • Guest
Re: BrainFeeder RSS plugin - alpha release
« Reply #8 on: February 13, 2009, 05:22:52 pm »

Means you don't have PHP5.
Logged

Halfhidden

  • Guest
Re: BrainFeeder RSS plugin - alpha release
« Reply #9 on: February 13, 2009, 05:29:56 pm »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: BrainFeeder RSS plugin - alpha release
« Reply #10 on: February 17, 2009, 12:01:12 pm »

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.
Logged

Halfhidden

  • Guest
Re: BrainFeeder RSS plugin - alpha release
« Reply #11 on: February 17, 2009, 12:14:39 pm »

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.
Logged

ekhwan

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: BrainFeeder RSS plugin - alpha release
« Reply #12 on: February 27, 2009, 02:04:50 pm »

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

I get this error:

Invalid channel image: Image URL missing
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: BrainFeeder RSS plugin - alpha release
« Reply #13 on: February 27, 2009, 02:25:28 pm »

Post a real URL
Logged

goman

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
Re: BrainFeeder RSS plugin - alpha release
« Reply #14 on: March 07, 2009, 01:41:02 pm »

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
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: BrainFeeder RSS plugin - alpha release
« Reply #15 on: March 07, 2009, 04:31:41 pm »

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

goman

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
Re: BrainFeeder RSS plugin - alpha release
« Reply #16 on: March 08, 2009, 11:06:13 am »

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

Quote
No jo, na pana fotografa se všichni usmívali (http://svetfotek.net/smaily/xchat/72.gif)

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
Logged

goman

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
Re: BrainFeeder RSS plugin - alpha release
« Reply #17 on: March 08, 2009, 11:31:09 am »

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

Logged

PdLrAaTgIoNnUM

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: BrainFeeder RSS plugin - alpha release
« Reply #18 on: March 14, 2009, 11:50:31 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: BrainFeeder RSS plugin - alpha release
« Reply #19 on: March 14, 2009, 12:17:49 pm »

No leetspeak allowed here!
Logged
Pages: [1] 2 3   Go Up
 

Page created in 0.038 seconds with 23 queries.