Webmastersite.net
Register Log In

Image URLs in XML feeds

Title Image URLs in XML feeds
Message Text I am using feeds to display extra info on one of my WSN sites. One of the fields in the XML file is the URL of an image hosted elsewhere. When I parse the XML feed using PHP, the WSN htaccess file inserts the site URL before the Image URL. For example if I hold the image url in a variable and the add the variable to my html like this... <img src="<?php echo imgurl; ?>"> and lets say my website is www.url.com I get this... <img src="http://www.url.com/http://www.imaghostingsite.com/image.jpg"> when what I want is this... <img src="http://www.imaghostingsite.com/image.jpg"> Any ideas how to solve this and keep WSN SEO switched on?
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership webflair
Views 322 views. Averaging 0 views per day.
Similar Topics
Submission Date Mar 21, 2013 - 8:04 PM