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.

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=""/>
I can't figure a way to access that URL from within the message template. This may require custom code.