Hi,
I have this customer, that has a customer-database, where they want to be able to import the customer-database on to the website.
They do not have any special knowledge about any type of web-system, so I made them a custom CMS, with WYSIWYG interface (FCKeditor).
This works great, and they understand how to update theire pages, but:
As I said, there is the MS Access DB, with customer-listing.
I tried checking which exports are availible in MS Access 2002, and they where (amongst other):
* XML
* RTF
* XLS
* HTM(L)
- The HTML was a very rotten export, so I dont think that is good for anything.
- The RTF looks nicely formatted
- I did not try the XLS
- The XLS looks ok.
What striked me, was:
Maybe I should make an upload-script, where I let them upload the XML file and then I retrieve information from the XML?
Or, maybe I should on upload, put this data in an mysql table?
The XML file will contain about 300 entries, and the schema will look something like:
<?xml version="1.0" encoding="UTF-8" ?>
- <dataroot xmlns
d="urn:schemas-microsoft-com
fficedata">
- <Kunstnere>
<Medl_nr>0001</Medl_nr>
<Org>Something</Org>
<Etternavn>Doe</Etternavn>
<Fornavn>John</Fornavn>
<Adresse>Secret</Adresse>
<Postnr>2323</Postnr>
<Poststed>Somewhere</Poststed>
<Noter>mail@127.0.0.1 </Kunstnere>
</dataroot>
eg:
Is the "Only" sollution here to:
1. Upload XML
2. Insert XML in SQL
3. Gather data from SQL
I think I have to LIMIT how many I show per-page, as I guess 300 is a tad too many
Olav Alexander Mjelde
Admin & Webmaster
I have this customer, that has a customer-database, where they want to be able to import the customer-database on to the website.
They do not have any special knowledge about any type of web-system, so I made them a custom CMS, with WYSIWYG interface (FCKeditor).
This works great, and they understand how to update theire pages, but:
As I said, there is the MS Access DB, with customer-listing.
I tried checking which exports are availible in MS Access 2002, and they where (amongst other):
* XML
* RTF
* XLS
* HTM(L)
- The HTML was a very rotten export, so I dont think that is good for anything.
- The RTF looks nicely formatted
- I did not try the XLS
- The XLS looks ok.
What striked me, was:
Maybe I should make an upload-script, where I let them upload the XML file and then I retrieve information from the XML?
Or, maybe I should on upload, put this data in an mysql table?
The XML file will contain about 300 entries, and the schema will look something like:
<?xml version="1.0" encoding="UTF-8" ?>
- <dataroot xmlns
- <Kunstnere>
<Medl_nr>0001</Medl_nr>
<Org>Something</Org>
<Etternavn>Doe</Etternavn>
<Fornavn>John</Fornavn>
<Adresse>Secret</Adresse>
<Postnr>2323</Postnr>
<Poststed>Somewhere</Poststed>
<Noter>mail@127.0.0.1 </Kunstnere>
</dataroot>
eg:
Is the "Only" sollution here to:
1. Upload XML
2. Insert XML in SQL
3. Gather data from SQL
I think I have to LIMIT how many I show per-page, as I guess 300 is a tad too many
Olav Alexander Mjelde
Admin & Webmaster