![]() |
|
RSS 'gallery' feed : title mod + display on all pages - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: RSS 'gallery' feed : title mod + display on all pages (/thread-8445.html) |
RSS 'gallery' feed : title mod + display on all pages - kam - 2011-04-03 Hi all, I'm new to Zenphoto but I managed to create my website (mainly a photo gallery with Zenpage to display a few additional pages (About me, news, prints available,...). I modified a template to suite my needs OK. Great software... Cleanly developped, makes it easy to tweak... I was not satisfied with the title of the RSS feed in my Google homepage : it only display the name of the gallery. I found that it should at least display the website name. So I modified the core (bad thing, I know). In /zp-core/rss/rss.php, I changed : to : If anybody knows how do that without hacking the core, I take it... Furthermore, the RSS feed is only available on the gallery page. It does not show on other pages. I would like to have the RSS 'gallery' feed available on all pages... I might be able to do that but I would probably hack the core again and I would like to quit that bad slope I'm on... Thanks, RSS 'gallery' feed : title mod + display on all pages - acrylian - 2011-04-03
RSS 'gallery' feed : title mod + display on all pages - kam - 2011-04-03 Thanks for your fast answer... Great community...
You can see that on www.kamphotog.com.
RSS 'gallery' feed : title mod + display on all pages - acrylian - 2011-04-03
We focus primarily on sites that are run with Zenphoto and the Zenpage CMS plugin alone. Add the name of your website to the gallery title then. If that is not what you need you indeed have to hack the rss feed.
RSS 'gallery' feed : title mod + display on all pages - kam - 2011-04-03 By the way, I also modified some more the /zp-core/rss/rss.php file to correct some character display in my RSS feed (french accentuated characters were : (I added some html_encode() on titles) printf('%1$s (%2$s)', html_encode(get_language_string($item->get("title"),$locale)), html_encode(get_language_string($albumobj->get("title"),$locale)));
` I could not find (with my limited skills) a better way to correct the display... RSS 'gallery' feed : title mod + display on all pages - kam - 2011-04-03 Acrylian, Thanks for your valuable help. I'll try to digest your explanations... and find the best way to do what I want to do regarding 2) : BTW : I can only see your posts (not mines) in this thread... Thanks again... RSS 'gallery' feed : title mod + display on all pages - acrylian - 2011-04-03 Yes, you can add that header link to any theme page (as it official theme have as far as I remember). Please read the theming tutorial if you haven't already. The html_encode additions are right and indeed missing somehow. [i]BTW : I can only see your posts (not mines) in this thread...[/i] RSS 'gallery' feed : title mod + display on all pages - kam - 2011-04-03 Many thanks for your help Acrylian... [I did see the red note... Just wondered how you could reply to invisible questions. I guess the force is with you ] RSS 'gallery' feed : title mod + display on all pages - acrylian - 2011-04-03 Well, I do see the posts in the backend for moderation of course...;-) RSS 'gallery' feed : title mod + display on all pages - vincent3569 - 2011-04-04 hi I have the same need about rss title RSS 'gallery' feed : title mod + display on all pages - acrylian - 2011-04-04 Open a ticket then. |