{"id":54978,"date":"2017-03-13T14:25:36","date_gmt":"2017-03-13T14:25:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/rest-importer\/"},"modified":"2019-12-08T09:20:37","modified_gmt":"2019-12-08T09:20:37","slug":"rest-importer","status":"closed","type":"plugin","link":"https:\/\/arg.wordpress.org\/plugins\/rest-importer\/","author":15137674,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1.5","stable_tag":"trunk","tested":"4.7.33","requires":"4.7","requires_php":"","requires_plugins":"","header_name":"REST Importer","header_author":"jhotadhari","header_description":"","assets_banners_color":"998a62","last_updated":"2019-12-08 09:20:37","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/waterproof-webdesign.info\/donate","header_plugin_uri":"https:\/\/github.com\/jhotadhari\/rest-importer","header_author_uri":"http:\/\/waterproof-webdesign.info\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1311,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":{"":"<p>This Plugin is still in early development. Reality might be in movement.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1617230","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1617230","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1617230","resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1617230","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.0.1","0.1.0","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1617230","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1617230","resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1617230","resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Sources","2":"How to store the Response in the database","3":"Request and Import"}},"plugin_section":[],"plugin_tags":[87,1118,14512,2299],"plugin_category":[59],"plugin_contributors":[131695],"plugin_business_model":[],"class_list":["post-54978","plugin","type-plugin","status-closed","hentry","plugin_tags-import","plugin_tags-json","plugin_tags-remote","plugin_tags-rest","plugin_category-utilities-and-tools","plugin_contributors-jhotadhari","plugin_committers-jhotadhari"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/rest-importer_998a62.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/rest-importer\/assets\/screenshot-1.png?rev=1617230","caption":"Sources"},{"src":"https:\/\/ps.w.org\/rest-importer\/assets\/screenshot-2.png?rev=1617230","caption":"How to store the Response in the database"},{"src":"https:\/\/ps.w.org\/rest-importer\/assets\/screenshot-3.png?rev=1617230","caption":"Request and Import"}],"raw_content":"<!--section=description-->\n<blockquote>\n  Deprecated\n  \n  <p>This project is no longer active and not recommended for use.<\/p>\n<\/blockquote>\n\n<p>Access remote data via REST and save it as WordPress Posts or Users.<\/p>\n\n<p>UI to customize the import. Shape any kind of json response to fit your desired structure and field names.<\/p>\n\n<blockquote>\n  <p>REST Importer on <a href=\"https:\/\/github.com\/jhotadhari\/rest-importer\">GitHub<\/a><\/p>\n  \n  <p>REST Importer <a href=\"https:\/\/github.com\/jhotadhari\/rest-importer\/wiki\">wiki<\/a><\/p>\n<\/blockquote>\n\n<h4>How to use<\/h4>\n\n<ul>\n<li>Make a backup of your database! In case you import to much trash to wrong places and assign the values to wrong fields.<\/li>\n<li>Install REST Importer and go to \"Tools\" -&gt; \"REST Importer\" -&gt; \"Sources\", add a source and save.<\/li>\n<li>Switch to tab \"Requests &amp; Import\", add a request, choose the source, select \"Print as admin notice\" and push the \"Request\/Import\" button. On success, you'll see the response as some kind of tree structure.<\/li>\n<li>Switch to tab \"Value Mapping\" add a \"Map\" and customize the way the data gets imported. Rebuild the the response structure and assign the nodes to post\/user options and meta-options.<\/li>\n<li>Switch to tab \"Requests &amp; Import\", edit the request and select \"Save response\".<\/li>\n<\/ul>\n\n<h4>Currently supported authorisation<\/h4>\n\n<ul>\n<li>none<\/li>\n<li>OAuth 1.0a<\/li>\n<\/ul>\n\n<h4>Coming soon<\/h4>\n\n<ul>\n<li>More filter and hooks<\/li>\n<li>Wiki and documentation<\/li>\n<li>More authorisation types<\/li>\n<\/ul>\n\n<h4>Thanks for beautiful ressoucres<\/h4>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/WebDevStudios\/CMB2\">CMB2<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/jmarceli\/integration-cmb2-qtranslate\">Integration CMB2-qTranslate<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/jcchavezs\/cmb2-conditionals\">CMB2 Conditionals<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/EHER\/OAuth\">OAuth 1 PHP Library<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/vakata\/jstree\/\">jstree<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/deitch\/jstree-grid\">jsTreeGrid<\/a><\/li>\n<li>This Plugin is based on the <a href=\"https:\/\/github.com\/jhotadhari\/generator-pluginboilerplate\">generator-pluginboilerplate<\/a><\/li>\n<\/ul>\n\n<p>Good to know:<\/p>\n\n<ul>\n<li>Sensitive data (passwords, keys, secrets) will be stored encrypted in the database.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<h3>Requirements:<\/h3>\n\n<ul>\n<li>php 5.6<\/li>\n<li>cURL<\/li>\n<li>JavaScript needs to be enabled for the settings page (if all settings are done, you may disable js again)<\/li>\n<\/ul>\n\n<p>Upload and install this Plugin the same way you'd install any other plugin.\nGo to \"Tools\" -&gt; \"REST Importer\".<\/p>\n\n<!--section=changelog-->\n<h4>0.1.5<\/h4>\n\n<p>fix: some lost whitespaces between opening and closing php tags.<\/p>\n\n<h4>0.1.4<\/h4>\n\n<p>import user: merge_carefully, existing fields where set to null;<\/p>\n\n<h4>0.1.3<\/h4>\n\n<p>fix: climb the tree and save the value if key is 0!\nadded: some filters and hook<\/p>\n\n<h4>0.1.2<\/h4>\n\n<p>fix: fatal error on Request save and no sources existing;\nfix: the tree input works now for repeatable groups;\nsome examples removed, moved to the wiki;\nRemp_Import_{}::insert_object: skip object keys if not valid;<\/p>\n\n<h4>0.1.1<\/h4>\n\n<p>Edit Readme<\/p>\n\n<h4>0.1.0<\/h4>\n\n<p>added cron option to requests<\/p>\n\n<h4>0.0.1<\/h4>\n\n<p>yeeaaa first version, hurray<\/p>","raw_excerpt":"Get remote data and save it as posts or users. Customize the way the data gets stored.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/54978","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=54978"}],"author":[{"embeddable":true,"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jhotadhari"}],"wp:attachment":[{"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=54978"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=54978"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=54978"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=54978"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=54978"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/arg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=54978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}