04-17-2014, 10:42 AM
|
|
It's 42
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
|
Quote:
Originally Posted by Nice_Nick
I know but when I put that xml feed on my site it's not going to look like that is it?
Just wondered how I can see how it will look without needing to add it to my site.
|
You parse the feed with an xml parsing module in PHP, Perl, Python, Ruby or? then render the HTML dynamically.
Code:
$xml = simplexml_load_file("FetishModels.xml");
This is a PHP version. You cache the XML file locally.
XML Tutorial
http://www.w3schools.com/xml/default.asp
The 'style sheet' they refer to is written in XSL/XSLT.
http://www.w3schools.com/xsl/
These are very basic primers and tutorials
The problem with XSL/XSLT is that the source code is in raw XML and the search engines don't index XML. For now HTML rendering of the XML data is the way to go.
I like XML for affiliate use because it allows affiliates to build their own one-of-a-kind promo tools and they have the freedom to SEO the information or customize the information to their visitors' liking.
It's not a point and click process ;)
|
|
|