Advanced search  

News:

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

Pages: 1 2 3 4 [5] 6 7   Go Down

Author Topic: Easy RSS feed  (Read 133822 times)

0 Members and 1 Guest are viewing this topic.

davieb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: Easy RSS feed
« Reply #80 on: October 30, 2008, 04:49:44 pm »

Hi I think this is the first RSS feed I've ever got to work out of the box  ;D

However is it possible to remove the image description from the feed? The idea i have is to use the feed on the front page of our site but some members have a habit of writting REALLY long descriptions which throws the page out of whack.

Cheers
Logged

goku

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: Easy RSS feed
« Reply #81 on: November 06, 2008, 07:44:50 pm »

hiiiz sorry to annoy but i installed this plugin but it doesnt show anything. i read the forum and did find the same issue but im not exactly sure what to do with php my admin to fix it. can u please help me in simple language :)
Logged

goku

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
Re: Easy RSS feed
« Reply #82 on: November 06, 2008, 08:01:16 pm »

heyz it sumhow started working. i can see the feeds and yahoo google add butttons below but the problem is if i click on the feed button this error is displayed. please help
Code: [Select]
XML Parsing Error: XML or text declaration not at start of entity
Location: http://www.gokufanclub.com/cpg/rss.php
Line Number 2, Column 1:<?xml version="1.0" encoding="iso-8859-7"?>
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Easy RSS feed
« Reply #83 on: November 07, 2008, 02:58:44 pm »

Works as expected for me on http://www.gokufanclub.com/cpg/ :
However, you should make sure not to use an apostrophe in your description, as that translates to &#39;, which looks pretty ugly imo.
« Last Edit: November 08, 2008, 11:27:17 pm by Joachim Müller »
Logged

davieb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: Easy RSS feed
« Reply #84 on: November 08, 2008, 04:37:43 pm »

Hi I think this is the first RSS feed I've ever got to work out of the box  ;D

However is it possible to remove the image description from the feed? The idea i have is to use the feed on the front page of our site but some members have a habit of writting REALLY long descriptions which throws the page out of whack.

Cheers

Any help on this anyone?
Logged

Nibbler

  • Guest
Re: Easy RSS feed
« Reply #85 on: November 08, 2008, 04:58:15 pm »

Edit the rss.php and remove the <description> bit.
Logged

almararn

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Easy RSS feed
« Reply #86 on: November 12, 2008, 02:48:23 am »

Nice app, but is there any way of getting the album description in the feed ?
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: Easy RSS feed
« Reply #87 on: November 13, 2008, 11:29:36 pm »

However, you should make sure not to use an apostrophe in your description, as that translates to &#39;, which looks pretty ugly imo.

Very useful and...easy ;D plugin, but it needs a fix to work with titles containing HTML entities.
In rss.php, change the line
Code: [Select]
              <title>'.($picture[$titlefield]?$picture[$titlefield]:$lang_plugin_easyrss['no'].$lang_plugin_easyrss['label_'.$titlefield]).'</title>to
Code: [Select]
              <title>'.($picture[$titlefield] ? html_entity_decode($picture[$titlefield], ENT_NOQUOTES) : $lang_plugin_easyrss['no'].$lang_plugin_easyrss['label_'.$titlefield]).'</title>
;)
« Last Edit: November 14, 2008, 12:17:20 am by Pascal YAP »
Logged

cly

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 4
Re: Easy RSS feed
« Reply #88 on: November 19, 2008, 09:26:14 pm »

Hello,

I have fixed the problem with categories, it should work now. At least, it works for me :-)

In addition, I have added the album name in the feed title in case one wants to subscribe to several feeds in the same gallery.
You can now also choose to use the picture filename as entry name, it is useful if people don't write titles nor captions.

Christophe.
Logged

ff

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
Re: Easy RSS feed
« Reply #89 on: December 13, 2008, 08:24:04 am »

Maybe it's just me.

Unzipped `Easy_RSS-1.2.zip'
Moved `Easy_RSS' from directory `Easy_RSS-1.2' into `plugins'
Selected Easy RSS to be installed from pluginmgr.php, but when selecting the install-button at the Easy RSS settings it won't install anything
I already tried to set the permissions of the root directory of my album to 777, but no results

Any hints?

(album at http://www.xarno.nl/fotoalbum/)

All I want to do is show the normal images in a RSS-feed so they can be showed at my new digital picture frame ;)
Logged

HF OADA

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Easy RSS feed
« Reply #90 on: December 13, 2008, 11:59:16 am »

Maybe it's just me.

Unzipped `Easy_RSS-1.2.zip'
Moved `Easy_RSS' from directory `Easy_RSS-1.2' into `plugins'
Selected Easy RSS to be installed from pluginmgr.php, but when selecting the install-button at the Easy RSS settings it won't install anything
I already tried to set the permissions of the root directory of my album to 777, but no results

Any hints?

(album at http://www.xarno.nl/fotoalbum/)

All I want to do is show the normal images in a RSS-feed so they can be showed at my new digital picture frame ;)
I've had the same problem to install it. But when you set the language of Coppermine to English, then go to the Plug-in Manager. Install the Easy RSS and then it's been installed. Then you can set the language of Coppermine back to Durch and you have your Easy RSS working.
Logged

ff

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
Re: Easy RSS feed
« Reply #91 on: December 13, 2008, 05:20:14 pm »

I've had the same problem to install it. But when you set the language of Coppermine to English, then go to the Plug-in Manager. Install the Easy RSS and then it's been installed. Then you can set the language of Coppermine back to Durch and you have your Easy RSS working.

That did the trick.

I think I blew some stuff with my 'own' theme ;)

I had to switch to the default theme and turn the language switch on to be able to change the language.
It didn't work with my own theme :)

Now reconfiguring the feed so that I get the normal pictures and more than 10.

Thank you for your tip.
Logged

ff

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
FramechannelRSS (edit of Easy RSS feed)
« Reply #92 on: December 27, 2008, 08:22:18 pm »

Now reconfiguring the feed so that I get the normal pictures and more than 10.

Done :)

I've edited your plugin to a 'new' one which is an image-only feed.
My digital picture frame and http://www.framechannel.com/ only support this kind of feed.

At framechannel.com you can choose multiple feeds to be shown at random, at my frame I can only choose one feed.
I wanted multiple categories, but not all to be shown at my frame.

Basically I just edited your rss.php and renamed it to framechannelrss.php and created a framechannelrss.gif.
The references to them are also edited.

Now I can just go to the desired album, copy the feed-url and paste it at framechannel.com

The installation is the same as it was with Easy RSS feed:
  • The directory of the gallery (root) has to be writable for the installation script to put framechannelrss.php in it, or you have to copy it there yourself.
  • The language of the gallery have to be English.

Logged

tilusnet

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
    • tilusNet photoGallery
Re: Easy RSS feed
« Reply #93 on: January 22, 2009, 08:31:34 pm »

Hi all,

Once installed and configured, how can I reconfigure the plugin?
I seem to not be able to do it in the Coppermine.... Any hints?

Thanks, and by the way, an excellent and transparent plugin! Well done!
Logged

tilusnet

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
    • tilusNet photoGallery
Re: Easy RSS feed
« Reply #94 on: January 22, 2009, 08:45:12 pm »

Hi all,

Once installed and configured, how can I reconfigure the plugin?
I seem to not be able to do it in the Coppermine.... Any hints?

Thanks, and by the way, an excellent and transparent plugin! Well done!

I found a solution: you have to edit the database:
Table: e107_cpg_config
Entries: plugin_easyrss_*

I can live with this config at the moment.
Logged

ff

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 108
Re: Easy RSS feed
« Reply #95 on: February 04, 2009, 10:26:12 am »

Randomise RSS?

I've been looking for a way to randomise the created feed.
I wan't to have randomly chosen images in stead of the last X-images.

I guess some of the variables in
Code: [Select]
$data = get_pic_data($album, $thumb_count, $album_name, $lower_limit, $thumb_p
er_page);
has to be changed.

Am I correct?
I thought about
Code: [Select]
$thumb_count = 0;?
Logged

Halfhidden

  • Guest
Re: Easy RSS feed
« Reply #96 on: February 09, 2009, 07:46:33 pm »

Is there anyway that this rss feed can be edited to show the last comments?
Thanks :)
Logged

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: Easy RSS feed
« Reply #97 on: February 12, 2009, 11:20:56 pm »

Houston, We have a problem.

I installed the Easy RSS 1.2 plug-in, and all seemed well in the plugin manager, HOWEVER, I notice that everyone else on here has their rss.php in the root of the gallery, and I don't. I have to navigate to /gallery/plugins/Easy_RSS/rss.php to find the file, and when I try to open it, all I get is a page with:

Code: [Select]
Warning: require(plugins/Easy_RSS/lang/english.php) [function.require]: failed to open stream: No such file or directory in /home/brummie/public_html/gallery/plugins/Easy_RSS/include/init.inc.php on line 21

Warning: require(plugins/Easy_RSS/lang/english.php) [function.require]: failed to open stream: No such file or directory in /home/brummie/public_html/gallery/plugins/Easy_RSS/include/init.inc.php on line 21

Fatal error: require() [function.require]: Failed opening required 'plugins/Easy_RSS/lang/english.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/brummie/public_html/gallery/plugins/Easy_RSS/include/init.inc.php on line 21

Looking at the directory in FTP, all the CHMOD settings seem not to be quite right. I'd have thought that they would need to be 755 to be able to execute, but they all seem to be 644

Any idea what may be going wrong? Is there a way to install this manually in case the plugin manger is at fault?

Thanks in advance.

Martin
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: Easy RSS feed
« Reply #98 on: February 12, 2009, 11:24:13 pm »

Cut RSS.PHP from your actual directory, and Past this file in the Gallery's root.
Try it.
Enjoy
Logged

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: Easy RSS feed
« Reply #99 on: February 13, 2009, 05:53:13 pm »

Cut RSS.PHP from your actual directory, and Past this file in the Gallery's root.
Try it.
Enjoy

Thanks for that...it works...sort of - http://www.brummiesfans.com/gallery/rss.php

Any idea how I can clean up all the broken image links though?

Logged
Pages: 1 2 3 4 [5] 6 7   Go Up
 

Page created in 0.029 seconds with 20 queries.