INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

No image in RSS feed

No image in RSS feed

(OP)
Can anyone decypher the reason why my images aren't showing from my Wordpress RS feed?

XML feed:

CODE

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?>
<?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
<title>homebakekitchen</title>
<link>http://homebakekitchen.wordpress.com</link>
<description>Just another WordPress.com site</description>
<lastBuildDate>Tue, 16 Aug 2011 14:10:03 +0000</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>http://wordpress.com/</generator>
<cloud domain="homebakekitchen.wordpress.com" port="80" path="/?rsscloud=notify" registerProcedure="" protocol="http-post" />
<image>
<url>http://s2.wp.com/i/buttonw-com.png</url>
<title>homebakekitchen</title>
<link>http://homebakekitchen.wordpress.com</link>
</image>
<atom:link rel="search" type="application/opensearchdescription+xml" href="http://homebakekitchen.wordpress.com/osd.xml" title="homebakekitchen" />
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/homebakekitchen" />
<feedburner:info uri="homebakekitchen" />
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" />
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://homebakekitchen.wordpress.com/?pushpress=hub" />
<item>
<title>Hello world!</title>
<link>http://feedproxy.google.com/~r/homebakekitchen/~3/0fJok5DnOjM/</link>
<comments>http://homebakekitchen.wordpress.com/2011/08/09/hello-world/#comments</comments>
<pubDate>Tue, 09 Aug 2011 19:05:30 +0000</pubDate>
<dc:creator>homebakekitchen</dc:creator>
<category><![CDATA[Uncategorized]]></category>
<guid isPermaLink="false">http://homebakekitchen.wordpress.com/?p=1</guid>
<description><![CDATA[Welcome to WordPress.com Snusan O. After you read this, you should delete and write your own post, with a new title above. Or hit Add New on the left (of the admin dashboard) to start a fresh post. Here are &#8230; <a href="http://homebakekitchen.wordpress.com/2011/08/09/hello-world/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=homebakekitchen.wordpress.com&amp;blog=26024530&amp;post=1&amp;subd=homebakekitchen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
<content:encoded><![CDATA[<p>Welcome to <a href="http://wordpress.com/">WordPress.com</a> Snusan O. After you read this, you should delete and write your own post, with a new title above. Or hit <a title="Direct link to the Add New in the Admin Dashboard" href="/wp-admin/post-new.php">Add New</a> on the left (of the <a title="Direct link to this blog's admin dashboard" href="/wp-admin">admin dashboard</a>) to start a fresh post.</p>
<p><a href="http://homebakekitchen.files.wordpress.com/2011/08/photo-0111.jpg"><img class="alignnone size-medium wp-image-12" title="Photo-0111" src="http://homebakekitchen.files.wordpress.com/2011/08/photo-0111.jpg?w=300&#038;h=225" alt="Iron" width="300" height="225" /></a></p>
<p><a title="Learn WordPress.com—From zero to hero." href="http://learn.wordpress.com/">Here</a> are some suggestions for your first post.</p>
<ol>
<li>You can find new ideas for what to blog about by reading <a title="The Daily Post at WordPress.com—post something every day" href="http://dailypost.wordpress.com/">the Daily Post</a>.</li>
<li>Add <a title="Click the &quot;Press This&quot; link on this page to activate the Press this bookmark feature." href="/wp-admin/tools.php">PressThis</a> to your browser. It creates a new blog post for you about any interesting  page you read on the web.</li>
<li><a title="Edit the first post on this blog." href="/wp-admin/post.php?post=1&amp;action=edit">Make some changes to this page</a>, and then hit preview on the right. You can always preview any post or edit it before you share it to the world.</li>
</ol>
<br /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/homebakekitchen.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/homebakekitchen.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/homebakekitchen.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/homebakekitchen.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/homebakekitchen.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/homebakekitchen.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/homebakekitchen.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/homebakekitchen.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/homebakekitchen.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/homebakekitchen.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/homebakekitchen.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/homebakekitchen.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/homebakekitchen.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/homebakekitchen.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=homebakekitchen.wordpress.com&amp;blog=26024530&amp;post=1&amp;subd=homebakekitchen&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div><img src="http://feeds.feedburner.com/~r/homebakekitchen/~4/0fJok5DnOjM" height="1" width="1"/>]]></content:encoded>
<wfw:commentRss>http://homebakekitchen.wordpress.com/2011/08/09/hello-world/feed/</wfw:commentRss>
<slash:comments>1</slash:comments>
<media:content url="http://0.gravatar.com/avatar/4e3e22e3dcdc5a8ff6b8c46c922a98f0?s=96&amp;d=identicon&amp;r=G" medium="image">
<media:title type="html">homebakekitchen</media:title>
</media:content>
<media:content url="http://homebakekitchen.files.wordpress.com/2011/08/photo-0111.jpg?w=300" medium="image">
<media:title type="html">Photo-0111</media:title>
</media:content>
<feedburner:origLink>http://homebakekitchen.wordpress.com/2011/08/09/hello-world/</feedburner:origLink>
</item>
</channel>
</rss>

And the ASP/VBScript code that renders images in every other feed that I've ever used:

CODE

<table width="80%" border="0" align="center" cellpadding="0" cellspacing="10"><%
    dim xmlDom, nodeCol, oNode, oChildNode
    'set xmlDom = Server.CreateObject("Microsoft.XMLDOM")
    set xmlDom = Server.CreateObject("Msxml2.FreeThreadedDomDocument.4.0")  
    
    call xmlDom.setProperty("ServerHTTPRequest", true)
    xmlDom.async = false
    'call xmlDom.load("http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/technology/rss.xml")
    'call xmlDom.load("http://feeds.feedburner.com/Techcrunch")
    call xmlDom.load("http://feeds.feedburner.com/homebakekitchen")
    
    if not xmlDom.documentElement is nothing then
      set nodeCol = xmlDom.documentElement.selectNodes("channel/item")
      for each oNode in nodeCol
        title = ""
        set oChildNode = oNode.selectSingleNode("title")
        if not oChildNode is nothing then
          title = oChildNode.text
        end if
        
        bret = false
        set oChildNode = oNode.selectSingleNode("description")
        if not oChildNode is nothing then
            sxml=oChildNode.text
            sxml=replace(sxml,"&","&amp;")
            bret = xmlDom.loadxml("<x>" & sxml & "</x>")
        end if
        
        if bret then
            set cnodes=xmlDom.SelectNodes("//img/@src")
                if j = 0 then
                    response.write "<tr><td width='100%'><h3>" & title & "</h3>"
                    response.write "<img src='" & cnodes(j).NodeValue & "' alt='image (0," & j & ")' class='floatLeft' width='200' />"
                    response.write "<p>" & xmlDom.documentElement.text & "</p>"
                end if
            set cnodes=nothing
        end if
        ''''''''''''''''''''''''''''''''
        set oChildNode = oNode.selectSingleNode("link")
        if not oChildNode is nothing then
            if bret then
              Response.Write("<tr><td width='100%'><div align='justify'>" & vbCrLf)
              Response.Write("  <a href=""" & oChildNode.text & """ target=""_blank"">")
              Response.Write("    more..." & vbCrLf)
              Response.Write("  </a><div align='center'><br><br><a href='javascript:window.close();'>Close Window</a></div><br><br></div></td></tr>" & vbCrLf)
            end if
        end if
      next
    else
      Response.Write("<p>" & vbCrLf)
      Response.Write("  Sorry, no news today!" & vbCrLf)
      Response.Write("</p><div align='center'><br><br><a href='javascript:window.close();'>Close Window</a></div></td></tr>" & vbCrLf)
    end if %>
</table>

Hope some one can spot it clown

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close