Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-15-2012, 02:15 PM
Dave234 Dave234 is offline
 
Join Date: Mar 2012
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default NASA Image of the Day Feed - No Image

I'm trying to add the NASA Earth Observatory RSS feed to my website: http://earthobservatory.nasa.gov/Feeds/rss/eo2.rss

The code for which looks like this:

Code:
?xml version="1.0" encoding="utf-8" ?>

 <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/">

  <channel>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="" type="application/rss+xml" />
     <title>NASA Earth Observatory</title>
     <link>http://earthobservatory.nasa.gov/</link>
     <description>Your source for monitoring regional and global changes on our planet through images and stories.</description>
     <language>en-us</language>
     <rating>(PICS-1.1 "http://www.rsac.org/ratingsv01.html"
		l gen true comment "RSACi North America Server" 
		for "http://earthobservatory.nasa.gov/" on "2000.09.27T15:55-0800" 
		r (n 0 s 0 v 0 l 0))</rating>
     <pubDate>Sat, 15 Sep 2012 10:06:01 -0400</pubDate>
     <lastBuildDate>Sat, 15 Sep 2012 10:06:01 -0400</lastBuildDate>
     <webMaster>paul.d.przyborski@nasa.gov (Paul Przyborski)</webMaster>

     <image>
       <title>NASA Earth Observatory</title>
       <url>http://eoimages.gsfc.nasa.gov/images/feeds/eo_feed_logo.gif</url>
       <link>http://earthobservatory.nasa.gov/</link>
       <width>144</width>
       <height>46</height>
       <description>Your source for monitoring regional and global changes on our planet through images and stories.</description>
    </image>
    <item>
       <title>Queensland?s Channel Country</title>
       <link>http://earthobservatory.nasa.gov/IOTD/view.php?id=79175&amp;src=eorss-iotd</link>        
       <media:thumbnail url="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79175/simpsondesert_ali_2004140_tn.jpg"></media:thumbnail>    
       <description>Linear dunes and ephemeral streams converge on the eastern margin of the Simpson Desert in a region known for its floods. </description>	    
       <content:encoded><![CDATA[
	<p><a href="http://earthobservatory.nasa.gov/IOTD/view.php?id=79175&amp;src=eorss-iotd"><img src="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79175/simpsondesert_ali_2004140_tn.jpg" border="0" alt="Queensland?s Channel Country"/></a><br/>Linear dunes and ephemeral streams converge on the eastern margin of the Simpson Desert in a region known for its floods. </p>
       ]]></content:encoded>	
       <pubDate>Sat, 15 Sep 2012 00:00:00 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/IOTD/view.php?id=79175&amp;src=eorss-iotd</guid>		
       <georss:point>-24.627122769619 139.21471595764</georss:point>	
    </item>
    <item>
       <title>Wildfires in Idaho</title>
       <link>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79182&amp;src=eorss-nh</link>        
       <category>Fires</category>        
       <media:thumbnail url="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79182/UnitedStates_amo_2012257_tn.jpg"></media:thumbnail>    
       <description>By September 11, 2012, more area had burned in Idaho than any other state.</description>	    
       <content:encoded><![CDATA[
	<p><a href="http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79182&amp;src=eorss-nh"><img src="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79182/UnitedStates_amo_2012257_tn.jpg" border="0" alt="Wildfires in Idaho"/></a><br/>By September 11, 2012, more area had burned in Idaho than any other state.</p>
       ]]></content:encoded>	
       <pubDate>Fri, 14 Sep 2012 17:01:52 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79182&amp;src=eorss-nh</guid>        
       <dc:date>2012-09-13T00:00:00-04:00</dc:date>		
       <georss:point>45.567909609861 -114.9169921875</georss:point>	
    </item>
    <item>
       <title>Flooding in Pakistan</title>
       <link>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79171&amp;src=eorss-nh</link>        
       <category>Floods</category>        
       <media:thumbnail url="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79171/pakistan_tmo_2012257_tn.jpg"></media:thumbnail>    
       <description>Acquired on September 1 and 13, 2012, these images compare conditions along the Indus River.</description>	    
       <content:encoded><![CDATA[
	<p><a href="http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79171&amp;src=eorss-nh"><img src="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79171/pakistan_tmo_2012257_tn.jpg" border="0" alt="Flooding in Pakistan"/></a><br/>Acquired on September 1 and 13, 2012, these images compare conditions along the Indus River.</p>
       ]]></content:encoded>	
       <pubDate>Thu, 13 Sep 2012 17:13:58 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79171&amp;src=eorss-nh</guid>        
       <dc:date>2012-09-13T00:00:00-04:00</dc:date>		
       <georss:point>27.683528083788 68.37890625</georss:point>	
    </item>
    <item>
       <title>Volc?n de Fuego</title>
       <link>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79168&amp;src=eorss-nh</link>        
       <category>Volcanoes and Earthquakes</category>        
       <media:thumbnail url="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79168/guatemala_tmo_2012257_tn.jpg"></media:thumbnail>    
       <description>The eruption of a volcano near Guatemala City covered nearby communities with ash.</description>	    
       <content:encoded><![CDATA[
	<p><a href="http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79168&amp;src=eorss-nh"><img src="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79168/guatemala_tmo_2012257_tn.jpg" border="0" alt="Volc?n de Fuego"/></a><br/>The eruption of a volcano near Guatemala City covered nearby communities with ash.</p>
       ]]></content:encoded>	
       <pubDate>Thu, 13 Sep 2012 16:42:24 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79168&amp;src=eorss-nh</guid>        
       <dc:date>2012-09-13T00:00:00-04:00</dc:date>		
       <georss:point>14.5 -91.05</georss:point>	
    </item>
    <item>
       <title>Typhoon Sanba</title>
       <link>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79165&amp;src=eorss-nh</link>        
       <category>Severe Storms</category>        
       <media:thumbnail url="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79165/sanba_amo_2012257_tn.jpg"></media:thumbnail>    
       <description>Acquired September 13, 2012, this natural-color image shows he storm just east of the Philippines.</description>	    
       <content:encoded><![CDATA[
	<p><a href="http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79165&amp;src=eorss-nh"><img src="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79165/sanba_amo_2012257_tn.jpg" border="0" alt="Typhoon Sanba"/></a><br/>Acquired September 13, 2012, this natural-color image shows he storm just east of the Philippines.</p>
       ]]></content:encoded>	
       <pubDate>Thu, 13 Sep 2012 14:00:40 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79165&amp;src=eorss-nh</guid>        
       <dc:date>2012-09-13T00:00:00-04:00</dc:date>		
       <georss:point>13.239945499286 130.078125</georss:point>	
    </item>
    <item>
       <title>Wildfires in Siberia</title>
       <link>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79161&amp;src=eorss-nh</link>        
       <category>Fires</category>        
       <media:thumbnail url="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79161/Russia_amo_2012255_tn.jpg"></media:thumbnail>    
       <description>The summer of 2012 has proven to be one of the most severe wildfire seasons Russia has faced in a decade.</description>	    
       <content:encoded><![CDATA[
	<p><a href="http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79161&amp;src=eorss-nh"><img src="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79161/Russia_amo_2012255_tn.jpg" border="0" alt="Wildfires in Siberia"/></a><br/>The summer of 2012 has proven to be one of the most severe wildfire seasons Russia has faced in a decade.</p>
       ]]></content:encoded>	
       <pubDate>Wed, 12 Sep 2012 10:32:26 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79161&amp;src=eorss-nh</guid>        
       <dc:date>2012-09-11T00:00:00-04:00</dc:date>		
       <georss:point>59.22093407615 81.2109375</georss:point>	
    </item>
    <item>
       <title>Wildfires in central Washington</title>
       <link>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79158&amp;src=eorss-nh</link>        
       <category>Fires</category>        
       <media:thumbnail url="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79158/UnitedStates_amo_2012254_tn.jpg"></media:thumbnail>    
       <description>In September 2012, lightning sparked numerous wildfires in central Washington.</description>	    
       <content:encoded><![CDATA[
	<p><a href="http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79158&amp;src=eorss-nh"><img src="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79158/UnitedStates_amo_2012254_tn.jpg" border="0" alt="Wildfires in central Washington"/></a><br/>In September 2012, lightning sparked numerous wildfires in central Washington.</p>
       ]]></content:encoded>	
       <pubDate>Tue, 11 Sep 2012 16:22:30 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79158&amp;src=eorss-nh</guid>        
       <dc:date>2012-09-10T00:00:00-04:00</dc:date>		
       <georss:point>47.807620817181 -119.1796875</georss:point>	
    </item>
    <item>
       <title>Flooding in Nigeria</title>
       <link>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79149&amp;src=eorss-nh</link>        
       <category>Floods</category>        
       <media:thumbnail url="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79149/nigeria_tmo_2012252_tn.jpg"></media:thumbnail>    
       <description>Acquired September 8, 2012, and September 23, 2009, these false-color images compare conditions along the Benue River, which flooded in 2012.</description>	    
       <content:encoded><![CDATA[
	<p><a href="http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79149&amp;src=eorss-nh"><img src="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79149/nigeria_tmo_2012252_tn.jpg" border="0" alt="Flooding in Nigeria"/></a><br/>Acquired September 8, 2012, and September 23, 2009, these false-color images compare conditions along the Benue River, which flooded in 2012.</p>
       ]]></content:encoded>	
       <pubDate>Tue, 11 Sep 2012 08:46:29 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79149&amp;src=eorss-nh</guid>        
       <dc:date>2012-09-08T00:00:00-04:00</dc:date>		
       <georss:point>9.1454860561673 11.414794921875</georss:point>	
    </item>
    <item>
       <title>Hurricane Michael</title>
       <link>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79147&amp;src=eorss-nh</link>        
       <category>Severe Storms</category>        
       <media:thumbnail url="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79147/michael_tmo_2012253_tn.jpg"></media:thumbnail>    
       <description>Acquired September 9, 2012, this natural-color image shows Hurricane Michael over the Atlantic Ocean.</description>	    
       <content:encoded><![CDATA[
	<p><a href="http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79147&amp;src=eorss-nh"><img src="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79147/michael_tmo_2012253_tn.jpg" border="0" alt="Hurricane Michael"/></a><br/>Acquired September 9, 2012, this natural-color image shows Hurricane Michael over the Atlantic Ocean.</p>
       ]]></content:encoded>	
       <pubDate>Mon, 10 Sep 2012 16:11:07 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79147&amp;src=eorss-nh</guid>        
       <dc:date>2012-09-09T00:00:00-04:00</dc:date>		
       <georss:point>33.712777762578 -43.2259375</georss:point>	
    </item>
    <item>
       <title>Tropical Storm Leslie</title>
       <link>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79144&amp;src=eorss-nh</link>        
       <category>Severe Storms</category>        
       <media:thumbnail url="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79144/leslie_tmo_2012253_tn.jpg"></media:thumbnail>    
       <description>Acquired September 9, 2012, this natural-color image shows Tropical Storm Leslie passing over Bermuda.</description>	    
       <content:encoded><![CDATA[
	<p><a href="http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79144&amp;src=eorss-nh"><img src="http://eoimages.gsfc.nasa.gov/images/imagerecords/79000/79144/leslie_tmo_2012253_tn.jpg" border="0" alt="Tropical Storm Leslie"/></a><br/>Acquired September 9, 2012, this natural-color image shows Tropical Storm Leslie passing over Bermuda.</p>
       ]]></content:encoded>	
       <pubDate>Mon, 10 Sep 2012 13:29:26 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=79144&amp;src=eorss-nh</guid>        
       <dc:date>2012-09-09T00:00:00-04:00</dc:date>		
       <georss:point>33.100745405144 -60.6005859375</georss:point>	
    </item>
    <item>
       <title>New posts in the Earth Matters blog - Discovering Hot Towers</title>
       <link>http://earthobservatory.nasa.gov/blogs/earthmatters/?p=2617&amp;src=eorss-blogs</link>    
       <description></description>	
       <pubDate>Wed, 12 Sep 2012 07:01:48 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/blogs/earthmatters/?p=2617&amp;src=eorss-blogs</guid>	
    </item>
    <item>
       <title>New posts in the Earth Matters blog - September puzzler</title>
       <link>http://earthobservatory.nasa.gov/blogs/earthmatters/?p=2633&amp;src=eorss-blogs</link>    
       <description></description>	
       <pubDate>Mon, 10 Sep 2012 12:44:13 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/blogs/earthmatters/?p=2633&amp;src=eorss-blogs</guid>	
    </item>
    <item>
       <title>New posts in the Notes from the Field blog - Seaglider #189 Away!</title>
       <link>http://earthobservatory.nasa.gov/blogs/fromthefield/?p=4482&amp;src=eorss-blogs</link>    
       <description></description>	
       <pubDate>Fri, 14 Sep 2012 16:55:44 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/blogs/fromthefield/?p=4482&amp;src=eorss-blogs</guid>	
    </item>
    <item>
       <title>New posts in the Notes from the Field blog - Bring SPURS and Aquarius Into the Classroom!</title>
       <link>http://earthobservatory.nasa.gov/blogs/fromthefield/?p=4464&amp;src=eorss-blogs</link>    
       <description></description>	
       <pubDate>Thu, 13 Sep 2012 15:13:47 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/blogs/fromthefield/?p=4464&amp;src=eorss-blogs</guid>	
    </item>
    <item>
       <title>New posts in the Notes from the Field blog - Profiling Salinity from the Ship</title>
       <link>http://earthobservatory.nasa.gov/blogs/fromthefield/?p=4452&amp;src=eorss-blogs</link>    
       <description></description>	
       <pubDate>Thu, 13 Sep 2012 11:49:12 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/blogs/fromthefield/?p=4452&amp;src=eorss-blogs</guid>	
    </item>
    <item>
       <title>New posts in the Notes from the Field blog - Are We There Yet?</title>
       <link>http://earthobservatory.nasa.gov/blogs/fromthefield/?p=4444&amp;src=eorss-blogs</link>    
       <description></description>	
       <pubDate>Wed, 12 Sep 2012 09:12:15 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/blogs/fromthefield/?p=4444&amp;src=eorss-blogs</guid>	
    </item>
    <item>
       <title>New posts in the Notes from the Field blog - Measuring Salinity from Space</title>
       <link>http://earthobservatory.nasa.gov/blogs/fromthefield/?p=4432&amp;src=eorss-blogs</link>    
       <description></description>	
       <pubDate>Tue, 11 Sep 2012 11:17:06 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/blogs/fromthefield/?p=4432&amp;src=eorss-blogs</guid>	
    </item>
    <item>
       <title>New posts in the Notes from the Field blog - Of ship meals and science</title>
       <link>http://earthobservatory.nasa.gov/blogs/fromthefield/?p=4415&amp;src=eorss-blogs</link>    
       <description></description>	
       <pubDate>Mon, 10 Sep 2012 11:14:20 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/blogs/fromthefield/?p=4415&amp;src=eorss-blogs</guid>	
    </item>
    <item>
       <title>The Gravity of Water</title>
       <link>http://earthobservatory.nasa.gov/Features/GRACEGroundwater/?src=eorss-features</link>        
       <media:thumbnail url="http://eoimages.gsfc.nasa.gov/images/featureteasers/79000/79163/grace_tn.jpg"></media:thumbnail>    
       <description>Scientists are using novel measurements of gravity to gather indispensable information about Earth?s water supplies. The GRACE mission can see water flowing underground.</description>	    
       <content:encoded><![CDATA[
	<p><a href="http://earthobservatory.nasa.gov/Features/GRACEGroundwater/?src=eorss-features"><img src="http://eoimages.gsfc.nasa.gov/images/featureteasers/79000/79163/grace_tn.jpg" border="0" alt="The Gravity of Water"/></a><br/>Scientists are using novel measurements of gravity to gather indispensable information about Earth?s water supplies. The GRACE mission can see water flowing underground.</p>
       ]]></content:encoded>	
       <pubDate>Wed, 12 Sep 2012 00:00:00 -0400</pubDate>
       <guid>http://earthobservatory.nasa.gov/Features/GRACEGroundwater/?src=eorss-features</guid>	
    </item>


   </channel>
 </rss>
I've been trying to have the image pull into my forum posts, but it does not seem to be working. The feed template in my admincp Feed Manager is the standard

{feed:description}

More...

Does anyone know what I must do to show the image in my vBulletin post?

I've tried adding (not at the same time): {feed:enclosure_href} and also {feed:channel_href}, but neither of those worked....

--------------- Added [DATE]1347722529[/DATE] at [TIME]1347722529[/TIME] ---------------

I'm also trying to do the same thing for the NASA Image of the Day, but it is also not working.

http://www.nasa.gov/rss/image_of_the_day.rss

How come using {feed:enclosure_href} worked for people in vBulletin 3 but not for me with vBulletin 4.1.11?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03480 seconds
  • Memory Usage 2,194KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete