• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

RSS Feeder with NASA Image of The Day?


Well-known member
I'm going through one of my sites that will be converted to XF (one more to go :cool:, but it is the most important one :cautious:) and I'm comparing the RSS feeds that I'm currently using.

In particular, the NASA Image of the Day feed. http://www.nasa.gov/rss/image_of_the_day.rss

With XF, anybody know if it'd be possible to grab the enclosure tag so that the image can then be embedded in the post?

Jake Bunce

XenForo moderator
Staff member
That image is defined like this in the feed:

<enclosure length="1234567" type="image/jpeg" url="http://www.nasa.gov/images/content/578637main_image_2033_516-387.jpg"/>
I can't figure a way to access that URL from within the message template. This may require custom code.