...

View Full Version : xml links open in new window - simple?



babyoz
05-12-2009, 09:04 PM
I am trying to get the links in an xml document to open in a new window. The xml doc is a source for an rss feed - which works fine. My only problem is the client wants links that navigate away from their site to open in a new window.

example of link tags:

[CODE]
<item>
<title>This is my story</title>
<link>http://www.mylifestory.net</link>
<description>crazy person on the loose</description>
</item>
[CODE]

Do I add something in the link tag, like with html? Or do I need something else, a js or I don't know - this seems like it should simple and have been searching for hours.

thanks in advance for your help.

abduraooft
05-13-2009, 09:34 AM
A sample code is at http://www.codingforums.com/showpost.php?p=582775&postcount=18



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum