Mark:
I agree whole heartedly. We've had nothing but trouble with this particular XML feed but they won't budge an inch because a lot of other developers aren't complaining. And its a major outfit (an eBay company)...
I'll try using the u code and see what I can do. I don't think I will ever flat bid a project again 🙁. I've been coding for years and never struggled this way with an XML feed. Their API lists about 10 different possible feeds you can get. That's fine when querying for categories or product listings or reviews or comparing prices or features of a product because you always now what sort of elements you will get back in your XML.
But.. their search is the most rediculous thing I've ever seen. You send their API a term and it decides if it should be a specific product or broad product search or category of products or otherwise. There are near a dozen possible sets you get back. Each set has DIFFERENT elements and hierarchies. So when parsing, I have to take the attribute to the first tag (result type) and then decide which of a dozen ways I am going to parse and handle that particular call.
And half of their result types are completely undocumented. They don't consistently provide the items they say they will provide in the API documentation. I'm so disappointed 🙁. I figured it would be nothing for me to pull and display categories, products within categories, product details, user reviews, price comparisons and a search feed. What should have been a week or two of work has turned into a couple of months.
And that doesn't count for all the particular queries I get which are completely malformed. They weren't putting stuff in CDATA where it had special characters, etc. and it took me over a month to convince them that it wasn't optional, they had to because it broke all of the standard compilers to *nix based systems and typical web languages.
Their developer base prior to me seems to be almost entirely Windows and somehow those guys are handling malformed XML like it was nothing. I am so frustrated that I've almost considered writing a customer parser just so I can do my own malformed handling instead of fighting with these guys to get their feeds right...
UGH!!!
It's no wonder there aren't that many sites running this particular companies XML feed.