Is there such thing as a comments rss feed? Similar to the feed on the admin page, that displays all comments made on all images.
I have RSS Feed Enabled: Comments - in the options section. But when I pull up the rss page:
http://www.airplanefood.net/images/zp-core/rss/rss-comments.php
I get an error:
Fatal error: Call to undefined function getRSSHost() in /home/content/39/4645039/html/images/zp-core/rss/rss-comments.php on line 2
Is there something I need to change on line 2? Any help is appreciated. Thanks in advance!
Which version of Zenphoto are you running? Sounds like you have upgraded to the 1.4 Zenphoto but left the old root based rss files or linkages.
If rss-comments.php is being loaded from the index.php as it should then that function will be defined. But if somehow it is being called directly then it will not work.
BTW, this is exactly why we ask (see the forum rules) for such information as Zenphoto release and theme. Else we are just guessing.
I apologize for the missing info. I'm using 1.4.0.3 ... and I'm using a customized version of the "zenpage" theme.
So the page would be:
http://www.airplanefood.net/images/index.php?rss-comments&lang=en_US
When I do that the error is gone, but the feed is completely blank. Is there something I'm missing?
Thanks for the quick response btw.
Well, that call indeed does get nothing as the comments RSS feed needs to have the type parameter set as well. Otherwise it does not know what to call. Why don't you use the rss link functions we provide?
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionprintRSSLink
http://www.zenphoto.org/documentation/plugins/zenpage/_zp-extensions---zenpage---zenpage-template-functions.php.html#functionprintZenpageRSSLink