Sorry
If you have the image in a TV, here’s what to do:
Add the &includeTVs=`1` parameter in your getResources call, that will make sure the snippet also fetches your tvs.
Next, you’ll need to reference the tv in your chunk.
-
- 81 Posts
Hmm, wait..
I made a resource domain.com/blog which is container for blog entries which are just regular resources with images, text etc..
I didn’t made any TV’s on any of blog pages and i still want those blog posts images to be in RSS.
So no TV’s anywhere..
How can i achieve that?
Radio sucks!
So where are the images?
Within the resource content, or?
-
- 81 Posts
exactly, and they wont change probably ever since they are the static part of the post so there’s no need for TV’s.
Radio sucks!
Thanks Jay - all sorted now.
Turned of TinyMCE and seems to be working fine.
Quote from: purpler at Jan 13, 2011, 02:19 PM
exactly, and they wont change probably ever since they are the static part of the post so there’s no need for TV’s.
If you’d use a TV it will still be static per post, but easily available for snippets such as getResources. You could then add the url to the image (=raw contents of the image tv) to the rsslisting chunk:
<url>[[+site_url]][[+imagetv]]</url>
If the image is in the content and not a tv it will be automatically included when using the content in your rss feeds description.. but not when using the introtext.
Bottom line: I’d use a TV for the image - even if you don’t change it often. (having a TV doesn’t mean you have to edit it at all!
)
It works but i only have one page listed, someone knows why ?