{"id":4434062,"date":"2013-12-20T17:46:19","date_gmt":"2013-12-20T17:46:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/importing-xml-data\/"},"modified":"2016-08-21T13:43:43","modified_gmt":"2016-08-21T13:43:43","slug":"importing-xml-data","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/importing-xml-data\/","title":{"rendered":"importing xml data"},"content":{"rendered":"<p>Hi,<\/p>\n<p>i wrote a simple php script that import some data into the media library of wordpress using as input an xml file.<br \/>\nIt works, but at the moment it has to be launched directly.<\/p>\n<p>Now i&#8217;d like to create a very simple interface in the admin of wordpress, where you can upload your xml file that it will be used from the script to import the data.<\/p>\n<p>How can I do that? Is there some plugin example in this direction?<\/p>\n","protected":false},"template":"","class_list":["post-4434062","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4434062","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4434062\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4434062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}