I’ve had some problems with trying to create a feed where items contain only one image and nothing else. I’ve tried to do it with the following line but it seems to always return an empty description.
body: //img[contains(@src, ‘whatever’)]
However, when this should return more than one image it seems to work.
I’ve tried setting the prune and tidy options to no but that doesn’t help.
I’ve tried using something like
body: //img[contains(@src, ‘whatever’)]/…
or
body: //img[contains(@src, ‘whatever’)]/…/…
but this may include some other stuff besides the image that have to be stripped. Is it really this hard to get only one image?
Then another thing…
Would it be possible to have a GUID element added to feeds that are created from a web page (not from an RSS feed) that is not only the URL of the page. Perhaps it could be a combination of the page URL and some random string of characters.
When the webpage gets updated, the RSS reader (Tiny Tiny RSS) seems to only change the content of the previous item from the feed. I think it would be better if it would be treated as new item when the webpage is updated and if I understand correctly, having a different GUID would solve this.