前言介紹
- 這款 WordPress 外掛「GNU Terry Pratchett」是 2015-03-14 上架。
- 目前有 1000 個安裝啟用數。
- 上一次更新是 2024-12-31,距離現在已有 124 天。
- 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
- 有 13 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
http-headers | terry-pratchett |
內容簡介
GNU Terry Pratchett 外掛會發送一個名為 "X-Clacks-Overhead" 的 HTTP 標頭,標頭內容為 "GNU Terry Pratchett",這樣 Terry 的名字就能在網路世界 "overhead" 轉傳世世代代。
在 Pratchett 的 "Going Postal" 中,為了致敬在職場上殉職的人,他們的名字會被傳送到整個 Discworld 電報系統中。
這個外掛讓 WordPress 的使用者可以沒有必要修改他們的伺服器設定,輕鬆地致敬 Terry Pratchett。
GNU Terry Pratchett 標頭
這個外掛有兩種方式加入 GNU Terry Pratchett 標頭:
作為 HTTP 標頭(如果您未使用 WordPress 頁面快取外掛)。
作為 HTML 的 meta 標籤,具有 http-equiv 屬性。
設定
如果您沒有更改默認的 "X-Clacks-Overhead header" 欄位,HTTP 標頭和 meta 標籤所傳送的文字默認為「GNU Terry Pratchett」。
如果您要更改它,請訪問 WordPress 管理區中的設置->GNU Terry Pratchett,編輯 "X-Clacks-Overhead header" 欄位。
這項選項允許您通過使他人永遠成為您網站內容的一部分,來紀念其他人。
檢查是否已發送 HTTP 標頭
有幾種方法可以檢查您的網站是否顯示 HTTP 標頭:
使用終端機 (curl -I example.com )。
使用Chrome的網路選項卡。
使用 Chrome 插件 Clacks Overhead 或 Firefox 擴展 GNU Terry Pratchett 。
使用 Server Header Checker 。
請注意,如果您使用頁面緩存外掛程式,則不會發送 HTTP 標頭。 要發送 HTTP 標頭並繼續使用快取外掛,請在伺服器層面上添加標頭,有關選項請參閱 http://www.gnuterrypratchett.com/。
檢查是否添加了 meta 標籤
您可以通過查看網站的 HTML 源代碼,並搜索 "GNU Terry Pratchett",來檢查 meta 標籤是否可見。
Chrome 的 Clacks Overhead 外掛和 Firefox 的 GNU Terry Pratchett 擴展在檢測到 HTML meta 標籤或 HTTP 標頭時會亮起。
鳴謝和貢獻
受reddit文章、boingboing報導以及GNU Terry Pratchett網站啟發。
歡迎在 GitHub 存儲庫 上作出貢獻。
原文外掛簡介
The GNU Terry Pratchett plugin transmits an “X-Clacks-Overhead” header reading, “GNU Terry Pratchett” so that Terry’s name is whispered forevermore in the Internet’s “overhead”.
In Pratchett’s “Going Postal”, workers who die in the line of duty have their names transmitted up and down the Discworld’s telegraph system as a tribute.
This plugin makes it easy for WordPress users to do the same for Terry Pratchett, without having to modify their server configuration.
The GNU Terry Pratchett headers
The plugin adds the GNU Terry Pratchett header in two ways:
As an HTTP header (if you don’t use a WordPress page caching plugin).
As a meta tag in your HTML with the http-equiv attribute.
Settings
The text sent in HTTP headers and meta tags is “GNU Terry Pratchett” by default.
Change this by visiting Settings → GNU Terry Pratchett in your WordPress admin area and editing the “X-Clacks-Overhead header” field.
This option lets you honor other people you would like to remember by making them a small part of your site’s content forever.
Checking the HTTP header is sent
There are several ways to check that the HTTP header is appearing for your site:
With your terminal (curl -I example.com)
With Chrome’s Network tab.
With the Clacks Overhead Chrome plugin or the GNU Terry Pratchett Firefox extension.
Using the Server Header Checker.
Note that the HTTP header is not sent if you use a page caching plugin. To send the HTTP header and continue to use a caching plugin, add the header at the server level. See http://www.gnuterrypratchett.com/ for options.
Checking the meta tag is added
You can check that the meta tag is visible by viewing your site’s HTML source and searching for “GNU Terry Pratchett”.
The Clacks Overhead plugin for Chrome and the GNU Terry Pratchett extension for Firefox both light up when they detect the HTML meta tag or HTTP header.
Credits and contributions
Inspired by this reddit post, boingboing’s report, and the GNU Terry Pratchett website.
Contributions welcome at the GitHub repo.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「GNU Terry Pratchett」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.1.0 | 0.1.1 | 0.1.2 | 0.2.0 | 0.2.1 | 0.2.2 | 0.2.3 | 0.3.0 | 0.3.1 | 0.3.2 | 0.4.0 | 0.4.1 | trunk |
延伸相關外掛(你可能也想知道)
HTTP Headers 》HTTP Headers 外掛可以控制網站回應的 HTTP Headers。, HTTP Headers 支援的 Headers 包括:, , Access-Control-Allow-Origin, Access-Control-Allow-Credent...。
Simple Iframe Buster 》為在不允許存取網頁伺服器配置、.htaccess 或缺乏 mod_headers 類型工具的環境下託管的網站提供一種添加 X-Frame-Options 到 http 標頭的方法。, , 將 X-Fram...。
WP Secure HTTP Headers 》這個 WordPress 外掛會為你的 WordPress 網站新增安全標頭。以下包含的標頭有:, – Strict-Transport-Security:若你的網站正在使用 SSL(應該是的),...。
Sentinel Headers Unlimited Extension 》中文翻譯, Sentinel Headers Unlimited Extension 是一個最佳的免費插件,適用於所有 WordPress 使用者。如果停用此插件,您的網站配置將恢復到之前的狀態。,...。
Eazy HTTP Headers 》Eazy HTTP Headers 在一般設置頁面提供了三個核取方塊。, 其中,有兩個核取方塊可以啟用 WordPress 內建的 send_frame_options_header() 與 send_nosniff_hea...。
Strict Security Headers 》總結:, Strict Security Headers 是一個簡單且輕量級的 WordPress 外掛程式,通過實施現代安全標頭來增強你的 WordPress 網站的安全性。只需啟用該外掛程式...。
SeaSP Community Edition 》SeaSP社群版是一個自動化的內容安全性政策管理器。SeaSP允許您為您的網站創建、配置、管理和部署內容安全政策。, WordPress SeaSP社群版外掛會記錄出現在您網...。
WP Remove Authors Sitemap from Yoast SEO 》這個 WordPress 外掛可以從 Yoast SEO 網站地圖中移除作者。, , 不需要任何設定!, 。