{"id":88866,"date":"2018-07-24T22:22:52","date_gmt":"2018-07-24T22:22:52","guid":{"rendered":"https:\/\/fr.wordpress.org\/plugins\/flux-to-posts\/"},"modified":"2018-07-25T22:24:53","modified_gmt":"2018-07-25T22:24:53","slug":"flux-to-posts","status":"publish","type":"plugin","link":"https:\/\/fr-be.wordpress.org\/plugins\/flux-to-posts\/","author":13833120,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"4.9.29","requires":"4.9.7","requires_php":"","requires_plugins":"","header_name":"Feed to posts","header_author":"Nathan MEYER","header_description":"Create posts automatically from JSON flux","assets_banners_color":"f2e4cc","last_updated":"2018-07-25 22:24:53","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/github.com\/natinho68","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1126,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1915004","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1915005","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1915006","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1915007","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1914423","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1914427","resolution":"2","location":"assets"}},"screenshots":{"1":"plugin settings","2":"json response from automation"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[569,252,1118,2506],"plugin_category":[56],"plugin_contributors":[159662],"plugin_business_model":[],"class_list":["post-88866","plugin","type-plugin","status-publish","hentry","plugin_tags-automation","plugin_tags-feed","plugin_tags-json","plugin_tags-stream","plugin_category-social-and-sharing","plugin_contributors-natinho68","plugin_committers-natinho68"],"banners":{"banner":"https:\/\/ps.w.org\/flux-to-posts\/assets\/banner-772x250.png?rev=1915007","banner_2x":"https:\/\/ps.w.org\/flux-to-posts\/assets\/banner-1544x500.png?rev=1915006","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/flux-to-posts\/assets\/icon-128x128.png?rev=1915004","icon_2x":"https:\/\/ps.w.org\/flux-to-posts\/assets\/icon-256x256.png?rev=1915005","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/flux-to-posts\/assets\/screenshot-1.png?rev=1914423","caption":"plugin settings"},{"src":"https:\/\/ps.w.org\/flux-to-posts\/assets\/screenshot-2.png?rev=1914427","caption":"json response from automation"}],"raw_content":"<!--section=description-->\n<p>A posts importer based on a JSON stream. \nPosts generation by form and handle an automation system.<\/p>\n\n<h3>Getting Started<\/h3>\n\n<ul>\n<li>Local server environment or live server<\/li>\n<\/ul>\n\n<h3>Prerequisites<\/h3>\n\n<ul>\n<li><p>Tested on WP 4.9.7<\/p><\/li>\n<li><p>Your Feed must be a JSON, and formatted like describe in the plugin settings.<\/p><\/li>\n<\/ul>\n\n<p>I do not know if it will work on previous or higher versions<\/p>\n\n<h3>Installing<\/h3>\n\n<p>Download the plugin, and put files into <code>\/wp-content\/plugins\/<\/code><\/p>\n\n<ul>\n<li>Activate the plugin<\/li>\n<li>Go to the Feed to posts page in the admin menu<\/li>\n<li>Put a feed and click on \"Generate Posts\"<\/li>\n<li>Your posts have been imported<\/li>\n<\/ul>\n\n<h3>Automation<\/h3>\n\n<p>Please note that for automation, you must first inject posts via the form in the settings of the plugin. Once done, you are free to do automation as explained below.<\/p>\n\n<p>If you want to check that new posts are available in your feed, add a cron job like this (here every 5 minutes) :<\/p>\n\n<pre><code>*\/5 * * * * wget http:\/\/YOURDOMAIN.DOMAIN\/?rest_route=\/FeedToPosts\/v1\/feedtoposts\n<\/code><\/pre>\n\n<p>If you want simple authentication, add a <code>.htaccess<\/code> require_auth and <code>.htpasswd<\/code> pair, for this url. Just add <code>--user user --password<\/code> pass to your cron job.<\/p>\n\n<h3>Author<\/h3>\n\n<p>Nathan MEYER https:\/\/github.com\/natinho68<\/p>\n\n<!--section=changelog-->\n<p>v1.0<\/p>","raw_excerpt":"A posts importer based on a JSON stream. Posts generation by form and handle an automation system.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/88866","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=88866"}],"author":[{"embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/natinho68"}],"wp:attachment":[{"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=88866"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=88866"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=88866"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=88866"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=88866"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fr-be.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=88866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}