Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

aff window product feed

Status
Not open for further replies.
Joined
Jun 1, 2010
Posts
548
Reaction score
2
I'm trying to put a data feed on a site from affiliate window, but can't get it to work..?

I'm just making a quick site in sitespinner does anyone know how to put it on? I've downloaded the .xml file but it doesn't display correctly if I embed it in the page
 
I've downloaded the .xml file but it doesn't display correctly if I embed it in the page

You'll need to pull the desired data from the XML, you can't just embed an XML feed into an HTML page.

A simple for loop using PHP's SimpleXML library would probably be the simplest option for a small feed, bigger feeds that will span several pages might be better off from a local store, either build cached product specific pages or filter into a database (you'd need to run a few tests to see which performed quickest for your environment.)

Alternatively, if you did want to render just the XML file, then you could build an XSLT to pull the data into an XML format.
 
admin - cheers, I'll send the xml file as soon as I get home from work, much appreciated!

monaghan - I thought it wouldn't work as sitemaps are xml, but I didn't know any other way of even trying it. I just wanted a simple, quick store to bang on my website to maybe earn a few pennies, I never relised how complicated it was! I'll look into simpleXML
 
Status
Not open for further replies.

Rule #1: Be Respectful

Do not insult any other member. Be polite and do business. Thank you!

Premium Members

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Siusaidh AcornBot:
    Siusaidh has left the room.
      Siusaidh AcornBot: Siusaidh has left the room.
      Top Bottom