The simpler media website CMS
Hi,
I would like to publish newsletters from ZenPhoto RSS with mailchimp.
Is there a way to publish rss feeds based on tags?
Example : A feed for all elements with tags "ocean" AND "Germany".
getRSSLink()
looks like to support
* @param string $addl provided additional data for feeds (e.g. album object for album feeds, $categorylink for zenpage categories
Thanks for help!
David
Comments
No, sorry tags are not supported. You find a list of all supported options that can be added to a feed on the main class: https://docs.zenphoto.org/1.5.3/source-class-feed.html#169-233
In general
getRSSLink()
is a theme context dependent function so you cannot really use it standalone for your purpose anyway.Thanks. Is the tag module could provide this kind of information using a function from it?
Not sure what you mean with "tag module". You can certainly get all information via the object model. Perhaps you should explain what you want to do and if you reallly need tags. RSS supports categories for news articles and albums (dynamic albums should work as well) for the gallery. So you could use those instead.
That is wiser and will be easier to manage using dynamic album for sure.
Can you precise how to call the album object (like a dynamic album) in the parameter $addl of printRSSLink?
Function requires an object:
Thanks!
Example: printRSSLink('album','before the link','RSS Text', 'after the link', true, null, 'fr', 'dynamic album object';
Please take a look here: https://www.zenphoto.org/news/zenphotos-object-model-framework/
Thanks acrylian, it is clearer for me. In fact, I realize that with ZP, there's no limit thanks to this great development framework ;-)
Yep, the name "framework" is a bit misleading as this is actually just the base or core of Zenphoto actually ;-)