[WordPress] 外掛分享: JCMS Connector

首頁外掛目錄 › JCMS Connector
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
全新外掛
安裝啟用
尚無評分
3011 天前
最後更新
問題解決
WordPress 4.7+ PHP 7.0+ v1.0.0 上架:2018-01-12

內容簡介

一個基於簡碼的外掛,通過 HTTP 提供嵌入遠程文本內容的功能。預期使用情境是將現有但已淘汰的 CMS 系統中先前編寫的內容重新運用到 WordPress 網站上。

此外掛允許配置遠程 CMS 伺服器的 HTTP 位址和內容取得終端點。簡碼可以指定內容 ID。服務器配置加上簡碼可以生成用於取得內容的 URL。由生成的 URL 識別的內容已在簡碼的位置嵌入到模板中。

這個「精簡」版本允許設置一個單一的伺服器連接,預期提供的內容是由帶參數的 URL (cms-server/contentscript?contentid=1234) 提供的。完整版外掛,可透過諮詢服務獲取,提供三個可配置連接,以及基於路徑的內容檢索。完整版還提供基於檢索 URL 的可配置內容緩存,以提高性能。

請注意,前提條件是您的 CMS 伺服器必須被配置為提供純文本內容。

用法

透過「設定/JCMS 連接器」配置伺服器連接。指定連接名稱、遠程伺服器、內容提供終端點和所需的內容識別 URL 參數。
添加簡碼以按 ID 呈現內容:在適當的位置添加簡碼 [jcms_connector_content_id id=nnn service=sss]。遠程 CMS 的指定內容將被呈現出來。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「JCMS Connector」→ 直接安裝(推薦)

原文外掛簡介

A shortcode-based plugin that offers embedding of remote text content via HTTP. The intended use-case is for re-purposing of previously authored content from an existing but retired CMS system into a WordPress site.
The plugin allows configuration of a remote CMS server HTTP address and a content retrieval endpoint. Shortcodes can then specify content IDs. The server configuration plus shortcode allows the generation of URLs for content retrieval. The content identified by the generated URL is embedded in the template at the shortcode position.
This ‘lite’ version allows configuration of a single server connection, with the content expected to be provided by a parameterised URL (cms-server/contentscript?contentid=1234). The full version, available via a consultancy engagement, offers three configurable connections as well as path-based content retrieval. The full version also offers configurable content caching, based on retrieval URL, for performance.
Please note that a pre-requisite is that your CMS server must be configured to provide the plain text content.
Usage

Configure a server connection via the settings/JCMS Commector. Specify a connection name, your remote server, the content provision endpoint and required content identifying URL parameter.
Add shortcode for rendering content by ID: Add shortcode [jcms_connector_content_id id=nnn service=sss] in a suitable location. The specified content from the remote CMS will be rendered.

文章
Filter
Apply Filters
Mastodon