Click to See Complete Forum and Search --> : XML Feeds Into oScommerce - Complete Newbie


cheshire_trader
05-06-2009, 08:07 PM
Hi There,

I will probably ask about things you all know as second knowledge, but i do learn...lol

Any way I use OsCommerce as a store front and after many attempts of simplyfying a csv stock import I have given uop and am now looking to use an XML feed from my supplier and when this done i will look at using for my future projects.

Upon starting to learn about the feeds i looked on here and tried a simple php test to see if my server supported XML.

The code I used is as follows:

<?
echo function_exists("domxml_open_file") ? "true" : "false";
?>

This returned as FALSE, so i once again asked my hosts if the server was XML and they said it was and this is what is installed

This is what is installed on the server.
http://www.php.net/manual/en/ref.xmlrpc.php

So i guess as a starting point i need to know the following:

1) With what my server has can i use an XML feed with oscommerce?
2) Do i need to find a new host?

Well its a start!

cheshire_trader
05-10-2009, 03:05 PM
any one start me off?

jkmyoung
05-12-2009, 06:12 PM
All that you've given us is that your server supports XML Remote Procedure Calls. That doesn't tell us anything about what other modules are installed, particularly DOM in your case. You may want to see if simple xml is installed.

cheshire_trader
05-12-2009, 08:35 PM
Thank you for your reply.

My hosts have stated that the server now has XML. When i questioned why the script i run showed false, they sent me the link stating that this was what was installed.

I am completley unaware of XML modules etc, what is it i need to to know, or what modules am i asking is intalled?

Sorry for the novice but we all start somewhere

dmboyd
05-13-2009, 08:42 AM
Start with something basic in PHP:
<?php phpinfo(); ?>

Go through the list of PHP modules and search for "DOM" or "DOM XML" and "SimpleXML". Let us know which ones you find. Also on that page is your PHP version. That might be helpful to know as well.

cheshire_trader
05-13-2009, 02:40 PM
Simplexml support enabled
Revision $Revision: 1.151.2.22.2.45 $
Schema support enabled

DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.7.3
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled

cheshire_trader
05-14-2009, 05:29 PM
Any thing else?