XFeed RSS/Atom feed plugin for CPG 1.5.x - Page 3 XFeed RSS/Atom feed plugin for CPG 1.5.x - Page 3
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

XFeed RSS/Atom feed plugin for CPG 1.5.x

Started by Aditya Mooley, August 14, 2009, 11:39:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Αndré

Quote from: jayhunter on January 29, 2011, 11:25:30 AM
What behavior would you expect from the default feed instead of showing the latest additions?
Sorry, bad wording. I expect that it displays the latest additions, but with working thumbnails ;)

cdeome

Just downloaded.  I'll give it a try.  Spent most of the day fixing a permissions issue that my host screwed up.

HelloDaly

Quote from: photo2pictures on October 09, 2010, 09:18:47 PM
To papukaija: Sorry, and thanks.

To jayhunter: It helped. I deleted 'cpg15x_plugin_xfeeds' from MySQL tables and xfeed files and folders. Then I made a new install, and now it seems to work :)

I will report if I run into problems, thanks for your help so far, both of you, it was really great !!

:)

I took the same steps and all is working great! Thank you so much for the plugin.

Question: how do I change or where if the file where I can change the gallery title and description that appears when I subscribe to the RSS using Live Bookmarks/in a browser like Firefox. I modified the xfeed.php and it removed the gallery title but I still cannot figure out how to change the description of the feed.

This is my page: http://cyclingphotos.hellodaly.com/

Αndré

Remove/comment out the following line in xfeed.php:
print "<description>".$CONFIG['gallery_description']."</description>\n";
(not tested).

HelloDaly

Αndré, thank you for answering my question. A couple more questions and I hope they will be the last, what would the code look like if I wanted to add the gallery title back (display the gallery title)?

For the description, if I were to display it, would I put the description where it is bolded, after the ; semicolon, or between the opening and closing carrots?

print "<description>".$CONFIG['gallery_description']."</description>\n";

I really appreciate your time in responding to me. Thank you.

Αndré

If you want to add a custom description, replace
".$CONFIG['gallery_description']."
with your custom description.

profili

 Any possibility to have the thumbnails in the feed too, instead of that standard thumbnail (thumb_nopic)?


Αndré

Works as expected in my gallery. Please post a link to your gallery.


Αndré

If you want to find out what's wrong, you have to debug the following part in include/functions.inc.php:
        $localpath = $pic_row['filepath'] . $pic_prefix[$mode] . $pic_row['filename'];
       
        // Check here that the filename we are going to return exists
        // If it doesn't exist we return a placeholder image
        // We then log the missing file for the admin's attention
        if (file_exists($url_prefix[$pic_row['url_prefix']] . $localpath)) {
            $filepathname = $url_prefix[$pic_row['url_prefix']] . path2url($localpath);
        }

profili

Should I post my /functions.inc.php here or what?

jayhunter

Just use the version that I posted somewhere on page 2.

http://forum.coppermine-gallery.net/index.php/topic,61197.msg337765.html#msg337765

It has the thumbnail bug and some other errors fixed.

Cheers,
Tobias

Αndré

Version 1.10 attached to initial post. All users should upgrade to that plugin version immediately, as all prior verisons contain a possible SQL injection vulnerability!

cmfa

in google chrome are still shown no thumbnail. It appears thumb_nopic. Is there a solution?

vg

Ludo

Quote from: Αndré on October 07, 2011, 12:11:38 PM
Version 1.10 attached to initial post. All users should upgrade to that plugin version immediately, as all prior verisons contain a possible SQL injection vulnerability!
V. 1.10 doesn't feature the option to place RSS button elsewhere than in Gallery header, doesn't display thumbnails in the feed and its RSS output is broken by special characters.
Since all of these issues were solved in v. 1.9.3, what about starting from it to release a working v. 1.10? I had to reapply all 1.9.3 fixes to 1.10 files manually to get it fully functional.

Pino

Errore interpretazione XML: tag corrispettivo mancante. Atteso: </p>.
Indirizzo: http://votalatop.altervista.org/index.php?file=xfeed/xfeed
Linea numero 14, colonna 12:</script></td>
-----------^


??????

Αndré

Quote from: Ludo on February 09, 2012, 03:53:29 PM
Since all of these issues were solved in v. 1.9.3, what about starting from it to release a working v. 1.10? I had to reapply all 1.9.3 fixes to 1.10 files manually to get it fully functional.
What about sharing that files with the community? I just fixed the vulnerability in our SVN. I haven't checked what has been changed here since the release of version 1.9, simply because of the missing personal interest. I'll release version 1.11 as soon as I get your files.

Ludo

Here they are, I attached the whole plugin folder because I can't remember exactly which files I had to edit :)
Please review my edits to ensure I didn't overwrite any security fix  ::)

Αndré

Version 1.11 (attached to initial post) contains the improvements of the 1.9.x versions by jayhunter.

Mr.Marco

Hi, I like this plugin, do you know how to move the image at the top of the page? Thanks.  :)