Log in

View Full Version : NASA Image of the Day RSS Feed- no image?


BirdOPrey5
08-28-2010, 12:02 AM
I searched and Googled this but no one seems to have had this issue which I do not believe...

I'm trying to add NASA's Image of the Day RSS feed to my forum, only problem is I'm not getting the image, only the description... there is an image encoded in the feed but it's not in <img> tags.

The feed is: http://www.nasa.gov/rss/lg_image_of_the_day.rss

The feed template is the basic:
{feed:description}

More.. ({feed:link})

Anyone know what I have to do to show the image in the VB Post?

Plenty of other people show this image, just not in a vBulletin forum, but is must be possible.

Any ideas?

Lynne
08-28-2010, 02:06 AM
If you look in the source code, you'll see the image isn't included in the description. However, there is <enclosure>, so you can get {feed:enclosure_href}

BirdOPrey5
08-28-2010, 02:38 AM
Thanks... that works... I just don't understand the logic of why that's it... "href" never appears in the enclosure tag... I know href shows up in a link of course <a href="..."> but in enclosure the "link" is url="..." Oh well, it works, that's the main thing. Thanks.

Noerenberg
04-11-2011, 04:56 PM
Hi, in wich template i have to change this?

Lynne
04-11-2011, 05:09 PM
Change what? We are talking about when you add an rss feed to your site via the rss feed manager.

Noerenberg
04-11-2011, 05:29 PM
umpf, ok, sorry, english is not my mother tounge, i was thinking you make able that the rss feed from vb show the images.

sorry