Data Source(Import Data from external XML)
-
Hi! First of all congrats for the excellent work!
I made some tests for the xml import so here is the problem.I am using the plugin Version 0.3.3. I have a test table called wp_dbt_goodys. Fields is goodysID name price.
–goodysID int(11)AUTO_INCREMENT
–name text
–price text
I am able to edit and read the database fields using the shortcode inside a post and everything works great.I need to go one step further and import XML data from http://www.w3schools.com/xml/simple.xml into wp_dbt_goodys table.
Settings I have in tab data source:
Source URL: http://www.w3schools.com/xml/simple.xml
Root Node: breakfast_menu
Table Field Source Field
goodysID BLANK
name —–name
price —–priceData Source Call: http://www.i-contact.gr/xml/dt_intfc51e532251612d/import
When trying to run the import URL from browser I get this
“Not Found
The requested URL /xml/dt_intfc51e532251612d/import was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.”When trying to run from linux terminal:
wget -O – http://www.i-contact.gr/xml/dt_intfc51e532251612d/import
–2013-07-18 11:56:11– http://www.i-contact.gr/xml/dt_intfc51e532251612d/import
Resolving http://www.i-contact.gr… 94.75.229.115
Connecting to http://www.i-contact.gr|94.75.229.115|:80… connected.
HTTP request sent, awaiting response… 404 Not Found
2013-07-18 11:56:11 ERROR 404: Not Found.I am not sure where to check for the problem…
Any ideas?
http://ww.wp.xz.cn/extend/plugins/db-toolkit/
The topic ‘Data Source(Import Data from external XML)’ is closed to new replies.