Support » Themes and Templates » RSS with image in each post

  • Hi,

    I am starting to mess with RSS now, so I am fairly new to it. I just need some guidance:

    I read in some other posts I could just create a page and then use a template to create a custom feed. That has worked so far. I opened the feed-rss2.php and created a template out of that. Great…

    So now I want to add an image to each post:

    I tried the enclosure tag, and the media:content tag and the image tag and neither one seemed to work. I was able to get an image for the <channel> but once I placed the code inside the item it didn’t work.

    Is there a specific other to the tags inside the <item> tag?

    Can some one give me an example?

Viewing 1 replies (of 1 total)
  • I use the atom format – place all content within:

    <content type="html" xml:base="<?php permalink_single_rss() ?>"> PLACE CONTENT HERE </content>

    hope that helps

Viewing 1 replies (of 1 total)
  • The topic ‘RSS with image in each post’ is closed to new replies.