[WordPress] 外掛分享: FeedToPosts

首頁外掛目錄 › FeedToPosts
WordPress 外掛 FeedToPosts 的封面圖片
全新外掛
安裝啟用
尚無評分
2793 天前
最後更新
問題解決
WordPress 4.9.7+ v1.0 上架:2018-07-23

內容簡介

這是一個基於 JSON 流的文章匯入外掛。
可以透過表單生成文章,並處理自動化系統。

開始使用

本機伺服器環境或線上伺服器

前提條件

已在 WP 4.9.7 上進行測試

您的 Feed 必須是 JSON 格式,並按照外掛程式設定所描述的格式進行格式化。

本人不確定其是否在較早或更高版本上運作正常。

安裝

下載外掛,將檔案放入 /wp-content/plugins/ 目錄中

啟用外掛
進入管理員選單中的 Feed to posts 頁面
輸入一個 Feed,然後按一下「生成文章」
您的文章已經匯入

自動化

請注意,如果要進行自動化,您必須先透過外掛設定中的表單注入文章。完成後,您可以按照以下說明進行自動化操作。

如果您要檢查您的 Feed 中是否有新文章,請新增 cron 工作(每 5 分鐘):

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

如果需要簡單的認證,請對此 URL 添加 .htaccess require_auth 和 .htpasswd 組合。只需在 cron 工作中添加 --user user --password pass 即可。

作者

Nathan MEYER https://github.com/natinho68

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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

延伸相關外掛

文章
Filter
Mastodon