You are here:  » Combining multiple xml pages


Combining multiple xml pages

Submitted by andupetcu on Fri, 2017-08-25 21:55 in

Hello,

I use an affiliate platform that provides product feeds only broken down into pages. I was wondering if there is any possibility to auto-combine all pages from the same link into one xml.

Each page contains the same fields and provides 495 products.

combine, for example:
{code saved}

The manual solution would be to create a new job for each page and then register each page which is less than ideal.

Thank you for your time,
Andrei

Submitted by support on Sat, 2017-08-26 07:37

Hello Andrei and welcome to the forum!

Sure - I have helped a number of users with similar situations, what I do is create "proxy" scripts e.g. proxy/example_com.php which fetches the individual feeds and returns them as one (so you would set-up an Automation Tool job pointing at the proxy script on your own server).

I'll help you with this method for this example first thing next week and I'll follow up by email with a proxy script to use...

Cheers,
David.
--
PriceTapestry.com

Submitted by support on Tue, 2017-08-29 09:02

Hello Andrei,

The format was straight forward to loop the requests and re-combine into a single XML, I have just forwarded a proxy script to work as described by email...

Cheers,
David.
--
PriceTapestry.com