David Bethel | |||
I added some stuff to the market_text.php page that you can get the retruns in XML - may be useful for ppl doing parsers etc. If the XML is not complient just mention it. It seemed to work in IE6 and a few XML browsers i downloaded.
BTW its quite possible i missed the whole point with XML so if its a total cludge up then i will not be surprised. Also you will have to wait for mica to upload the new file before it will work. | |||
ptb | |||
I don't actually get anything different than without the format=xml bit... in firefox or ie 6. Unless it's some wierd cacheing somewhere. http header viewer ![]() | |||
David Bethel | |||
| |||
ptb | |||
that'll teach me to click links before i finish reading the post ![]() | |||
David Bethel | |||
looks like its on now | |||
Steve-Law | |||
Yup, that works. | |||
Steve-Law | |||
Would it be a huge pain to add a <type> under <item> (perishable, lifeform, perishable lifeform, normal) then everything we need is in one file (and market message of course ;) Perhaps even <item> <size> as well?. Just for completeness ;) | |||
ptb | |||
as to perishable / lifeform my preference would be that it's two tags either <perishable>true</perishable or <lifeform>true</lifeform> or both, but i'd be happy with just type ![]() The xml looks fine though ![]() | |||
Steve-Law | |||
I didn't necessarily mean those should be the data given, just explaining what I meant by type ![]() | |||
ptb | |||
Bah Humans | |||
David Bethel | |||
I can do the type without too much problem but not the mus as its not on the market bit of the website - so i would have to do that later as it involves the phoenix editor code that is a bit in the middle of something at the moment. | |||
ptb | |||
Type is good ![]() Type is important though ![]() | |||
ptb | |||
Oh one more favour to ask ![]() Could you make it so the php page sets the last-modified time in it's headers? to save unnessery downloading, or alternativly it writes the xml to another file which we can then just use hte HEAD command on it to get that information ![]() It would save kjcgames bandwidth somewhat. |