[WordPress] 外掛分享: Content Importer for Notion

WordPress 外掛 Content Importer for Notion 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Content Importer for Notion」是 2025-01-07 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2025-01-15,距離現在已有 108 天。
  • 外掛最低要求 WordPress 5.5 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.2 以上。
  • 有 1 人給過評分。
  • 論壇上目前有 2 個提問,問題解答率 0%

外掛協作開發者

patchang |

外掛標籤

api | notion | automation | synchronization |

內容簡介

總結:Content Importer for Notion 是一個功能強大的 WordPress 外掛,允許您將 Notion 數據庫中的內容直接拉入到您的 WordPress 網站中。該外掛提供了一個靈活的方式來使用短碼顯示和設計 Notion 頁面,管理單個頁面刷新,並在 WordPress 管理員中配置自定義樣式。

問題與答案:
1. 這個外掛的主要功能是什麼?
- 回答:這個外掛的主要功能是從任何 Notion 數據庫中提取內容,使用您的 API 金鑰和數據庫 URL,同時通過短碼來靈活顯示和設計 Notion 頁面,管理單個頁面刷新,並在 WordPress 管理員中配置自定義樣式。

2. 如何使用這個外掛?
- 回答:設定後,導航到 Content Importer for Notion > Notion Pages,查看連接的 Notion 數據庫中的頁面列表。複製頁面的短碼,並將其粘貼到任何 WordPress 文章或頁面中。在 Content Importer for Notion > Styles 下,自定義樣式和全局 CSS。

3. 這個外掛使用了哪些外部服務?
- 回答:這個外掛使用 Notion API 從 Notion 數據庫中提取內容並在 WordPress 中顯示。它不使用 Notion API 更新 Notion 中的內容。需要的數據是生成的開發者整合令牌和數據庫 URL。這些數據存儲在 WordPress 數據庫中。Notion 的內容被存儲在本地作爲自定義帖子類型,這種方式減少 API 調用,提高性能。內容可以手動刷新特定頁面或一次刷新所有頁面。

以上是有關 Content Importer for Notion 外掛的問題與答案。

原文外掛簡介

Content Importer for Notion is a powerful WordPress plugin that allows you to pull content from a Notion database directly into your WordPress site. This plugin provides a flexible way to display and style Notion pages using shortcodes, manage individual page refreshes, and configure custom styles in the WordPress admin.
Key Features

Sync Notion Content: Pull content from any Notion database using your API Key and Database URL.
Content Shortcodes: Generate shortcodes for individual Notion pages to display them easily in posts or pages.
Flexible Styling: Customize styles for tables, lists, and list items, and add global custom CSS.
Local Storage: Stores Notion content locally, reducing API calls and improving performance.
Customizable Admin Interface: Set up tabs for easy style and custom CSS management.

Usage

After setup, navigate to Content Importer for Notion > Notion Pages to see a list of pages from your connected Notion database.
Copy the shortcode for a page and paste it into any WordPress post or page.
Customize styles and global CSS under Content Importer for Notion > Styles.

External services
This plugin uses the Notion API to fetch content from Notion databases and display them in WordPress. It does not use the Notion API to update content in Notion. The data that is sent to the api are the Developer Integration Token and the Database URL. These are user generated and stored in the WordPress database. Content from Notion is stored locally as a custom post type. This reduces the number of API calls and improves performance and reduces the number of API calls to Notion. Content can be refreshed manually for specific pages or all pages at once.
This plugin uses the following API calls:
https://api.notion.com/v1/databases/{database_id}/query – Get list of pages in a database
https://api.notion.com/v1/blocks/{database_id}/children – Get list of blocks in a page
https://api.notion.com/v1/pages/{page_id} – Used for getting the title of a page
For more information on the Notion API, please refer to the Notion API documentation.
Privacy
This plugin does not collect any data from your site or users. It only uses the data that you provide to it. The Developer Integration Token and the Database URL are stored in the WordPress database and are not shared with any external services. The content is stored locally as a custom post type and is not shared with any external services.
License
This plugin is licensed under the GPLv2 or later. See https://www.gnu.org/licenses/gpl-2.0.html for details.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Content Importer for Notion」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.0.1 | trunk |

延伸相關外掛(你可能也想知道)

文章
Filter
Apply Filters
Mastodon