Forums

How to add image in RSS feed (4 posts)

  1. markush
    Member
    Posted 4 years ago #

    What has to be done to add an image for every entry in the RSS feed? (using wp 1.5.2)

  2. markush
    Member
    Posted 4 years ago #

    Best would be to achieve this in RSS 0.9 and 2.0

  3. Kiddeath91
    Member
    Posted 4 years ago #

    Well, in 2.0, add something like this to your wp-rss2.php file:
    <image>
    <title>YOUR BLOG NAME</title>
    <link>YOUR BLOG LINK</link>
    <url>YOUR IMAGE URL</url>
    </image>

    Title should allow text when your image is moused over and is also supposed to act like alt text in the event that the image file is not available, I believe. Providing a link as shown should also make your image clickable in aggregators. It's probably something very similar in RSS 0.9. If you have a Feedburner account, you can easily activate this service with them and not have to pick through your code...

  4. GadeTerbob
    Member
    Posted 4 years ago #

    Would this also allow me to add geo ip information to an rss feed? Here is what goes into a page header:
    <meta name="ICBM" content="32.219, -100.638" />

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags