Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML with Images

Status
Not open for further replies.

nancy712

Technical User
Aug 19, 2007
1
US
I am trying to create an xml feed that will include images such as book covers to go with book reviews. This is the type of format I am using. It works fine but I want to be able to add an image. I have tried everything and cannot get it to work:
<?xml version="1.0" ?>

<rss version="2.0">



<channel>



<title>Bestsellersworld.com</title>

<description>The latest book reviews for Bestsellersworld.com and Mysteries Galore</description>

<link>


<item>

<title>The 5th Horseman by James Patterson</title>

<link>
</item>



<item>

<title>Mademoiselle Victorine by Debra Finerman</title>

<link>
</item>

If I have an image located at how would I add this to one of the above items where the image will show?
 
Have you tried using the rss image element?



<item>

<title>Mademoiselle Victorine by Debra Finerman</title>

<link><image>
<url> <title>Lightning</title>
<link> </image>
</item>

MCP, .Net Solutions Development <%_%>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top