這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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