该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

FeedToPosts

描述

A posts importer based on a JSON stream.
Posts generation by form and handle an automation system.

Getting Started

  • Local server environment or live server

Prerequisites

  • Tested on WP 4.9.7

  • Your Feed must be a JSON, and formatted like describe in the plugin settings.

I do not know if it will work on previous or higher versions

Installing

Download the plugin, and put files into /wp-content/plugins/

  • Activate the plugin
  • Go to the Feed to posts page in the admin menu
  • Put a feed and click on “Generate Posts”
  • Your posts have been imported

Automation

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.

If you want to check that new posts are available in your feed, add a cron job like this (here every 5 minutes) :

*/5 * * * * wget http://YOURDOMAIN.DOMAIN/?rest_route=/FeedToPosts/v1/feedtoposts

If you want simple authentication, add a .htaccess require_auth and .htpasswd pair, for this url. Just add --user user --password pass to your cron job.

Author

Nathan MEYER https://github.com/natinho68

屏幕截图

  • plugin settings
  • json response from automation

评价

此插件暂无评价。

贡献者及开发者

「FeedToPosts」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「FeedToPosts」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

v1.0