前言介紹
- 這款 WordPress 外掛「Nostrtium」是 2023-04-27 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2023-06-23,距離現在已有 681 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 8.1 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
pjv |
外掛標籤
nostr | social media |
內容簡介
總結:Nostrtium 外掛讓你可以從 WordPress 發佈到 Nostr,並提供基本的 Nostr 設置和信箱,供使用者在 WordPress 文章編輯頁面使用。使用者可以在信箱中自由編輯內容,也可以透過外掛新增功能,例如生成鑰匙、支援 NIP-07 瀏覽器擴充、提供個別 Nostr 個人檔案,以及支援長篇完整內容等。
問題與答案:
1. Nostrtium 是什麼?
答案:Nostrtium 是一個 WordPress 外掛,可以讓使用者發佈文章到 Nostr。
2. Nostrtium 外掛的基本功能是什麼?
答案:Nostrtium 外掛的基本功能是提供基本的 Nostr 設置和信箱,在 WordPress 文章編輯頁面使用,讓使用者可以自由編輯內容。
3. 在使用 Nostrtium 外掛時,可以對信箱中的內容進行編輯嗎?
答案:可以。使用者可以在信箱中自由編輯內容,並在送出前調整內容。
4. Nostrtium 外掛支援哪些新增功能?
答案:Nostrtium 外插支援生成鑰匙、支援 NIP-07 瀏覽器擴充、提供個別 Nostr 個人檔案,以及支援長篇完整內容等。
5. 安裝 Nostrtium 外掛前需要注意哪些系統要求?
答案:安裝 Nostrtium 外掛需要在 WordPress 系統中,安裝 PHP 8.1+、PHP-GMP 模組、WordPress 6.0+,並且需要具備可寫入的安裝目錄。
原文外掛簡介
Nostrtium lets you post from WordPress to nostr.
This version implements basic nostr settings (private key, relays) and provides a metabox in the WordPress Post editing page which is pre-populated with the Post Excerpt and a link to the Post and lets you post the content of that metabox to your configured relays.
You can change the content in the metabox as you like. If you have a good excerpt and post it as-is, it creates a twitter-style “announcement” note on nostr. A lot of nostr clients will render the link to the WordPress post as a nice-looking summary card with featured image and etc. This functionality is probably enough for many use-cases but I have plans to add more functionality to this plugin in the future, including generation of keys; support for NIP-07 browser extensions; separate nostr profiles for individual WP users; support for full, long-form content from WP to nostr; and more.
There are also options (on the settings page) to auto-post to nostr the excerpt, the permalink, or both upon WordPress post publication.
[Note that the private key is stored encrypted in the WordPress database using libsodium cryptography.]
Support and Development
Development is taking place on github and the best (fastest) way to get support is to raise an issue or start a discussion there.
Requirements
Some of the included libraries have relatively recent dependency requirements so you will need the following in your WordPress platform:
* PHP 8.1+
* php-gmp module must be installed (Installation on Ubuntu)
* php-bcmath module must be installed (Installation on Ubuntu)
* WordPress 6.0+
* Writable uploads directory (on activation, the plugin writes a cryptographic keyfile to a storage directory)
How to Use
After installing and activating the plugin, go into Settings -> Nostrtium and copy/paste the private key (nsec1…) that you want to post from and tweak the relays to your liking.
Then visit the post editor page for an existing post and at or near the bottom you should see the Nostrtium metabox which is pre-populated with the excerpt and permalink for the post (you can change the content in the metabox as you like before posting):
User Role / Capability Filter
You can create a filter snippet (in your theme’s functions.php) to choose what user role or capability has access to Nostrtium functionality. The default is edit_posts. Here is a sample snippet that would change it so only adminstrators can see / use the plugin’s functionality:
add_filter ('nostrtium_role', function($role){
return 'administrator';
});
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Nostrtium」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.6.1 | 0.7.0 | 0.7.1 | 0.7.2 | 0.7.3 | 0.7.4 | trunk |
延伸相關外掛(你可能也想知道)
Nostr Verify 》總結:Nostr Verify 是一個 WordPress 外掛,可以透過 NIP-05 在 Nostr 上進行實名認證。, , 問題與答案:, , 問題:什麼是 Nostr Verify?, 答案:Nostr Ver...。
Postr For Nostr 》- 外掛名稱:Postr For Nostr, - 功能:, - 只能與NIP-07瀏覽器擴展一起使用,不需要在WordPress中保存私鑰。, - 可將稅目分類添加到記事中作為標籤。, ...。
easyNostr-Nip05 》總結:使用這個外掛可以讓你的 WordPress 成為 Nostr NIP-05 端點伺服器,並新增一個使用者設定檔專門放置 Nostr 的公鑰,必須以十六進制格式輸入。轉換 Nost...。
YEGHRO Nostr Login 》總結:這款外掛允許使用者使用 Nostr 進行登錄。, , 問題與答案:,
- ,
- 問題:這個外掛的功能是什麼?,
- ,
- 問題:這個外掛的功能是什麼?,