Title: GNU Terry Pratchett
Author: Nick C
Published: <strong>2015 年 3 月 15 日</strong>
Last modified: 2026 年 5 月 26 日

---

搜索插件

![](https://ps.w.org/gnu-terry-pratchett/assets/icon-256x256.png?rev=1749521)

# GNU Terry Pratchett

 作者：[Nick C](https://profiles.wordpress.org/modernnerd/)

[下载](https://downloads.wordpress.org/plugin/gnu-terry-pratchett.0.4.1.zip)

 * [详情](https://cn.wordpress.org/plugins/gnu-terry-pratchett/#description)
 * [评价](https://cn.wordpress.org/plugins/gnu-terry-pratchett/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/gnu-terry-pratchett/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/gnu-terry-pratchett/#developers)

 [支持](https://wordpress.org/support/plugin/gnu-terry-pratchett/)

## 描述

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:

 1. As an HTTP header (if you don’t use a WordPress page caching plugin).
 2. 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:

 1. With your terminal (`curl -I example.com`)
 2. With Chrome’s Network tab.
 3. With the [Clacks Overhead](https://chrome.google.com/webstore/detail/clacks-overhead-gnu-terry/lnndfmobdoobjfcalkmfojmanbeoegab)
    Chrome plugin or the [GNU Terry Pratchett Firefox extension](https://addons.mozilla.org/en-US/firefox/addon/gnu_terry_pratchett/).
 4. Using the [Server Header Checker](http://tools.seobook.com/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](https://chrome.google.com/webstore/detail/clacks-overhead-gnu-terry/lnndfmobdoobjfcalkmfojmanbeoegab)
for Chrome and the [GNU Terry Pratchett extension](https://addons.mozilla.org/en-US/firefox/addon/gnu_terry_pratchett/)
for Firefox both light up when they detect the HTML meta tag or HTTP header.

#### Credits and contributions

Inspired by [this reddit post](http://www.reddit.com/r/bestof/comments/2yyop7/rdiscworld_redditors_with_web_servers_start/),
[boingboing’s report](http://boingboing.net/2015/03/15/sending-terry-pratchett-home-w.html),
and the [GNU Terry Pratchett](http://www.gnuterrypratchett.com/) website.

Contributions welcome at the [GitHub repo](https://github.com/nickcernis/gnu-terry-pratchett).

## 安装

 1. Unzip and upload the `gnu-terry-pratchett` folder to your `/wp-content/plugins/`
    directory.
 2. Activate the plugin on the WordPress ‘Plugins’ page.

To check that the header is appearing for your site, you can use your terminal (`
curl -I example.com`), Chrome’s Network tab, or a site such as [Server Header Checker](http://tools.seobook.com/server-header-checker/).

## 常见问题

### Why do this?

From Going Postal:

> “We keep that name moving in the Overhead,” he said, and it seemed to Princess
> that the wind in the shutter arrays above her blew more forlornly, and the everlasting
> clicking of the shutters grew more urgent. “He’d never have wanted to go home.
> He was a real linesman. His name is in the code, in the wind in the rigging and
> the shutters. Haven’t you ever heard the saying: ‘A man’s not dead while his name
> is still spoken’?”

### What does the GNU stand for?

In Going Postal, the G means that the message should be passed on, the N means “
Not Logged”, and the U means that it should be turned around at the end of the line.

## 评价

![](https://secure.gravatar.com/avatar/80f8d7e73b4c5bcd22d9a88de019fc4d75efcd3e2220183b25d4dfa5de3c12b4?
s=60&d=retro&r=g)

### 󠀁[GNU Terry Pratchett](https://wordpress.org/support/topic/gnu-terry-pratchett-2/)󠁿

 [simplypeachy](https://profiles.wordpress.org/simplypeachy/) 2019 年 1 月 13 日

Thanks to Nick, the headers will forever be sent to and fro.

![](https://secure.gravatar.com/avatar/5ab6700298643dada3ddb22e7c383e5fbc69ac0d016796159d7ad61b141f2767?
s=60&d=retro&r=g)

### 󠀁[I commend my soul to any God that can find it](https://wordpress.org/support/topic/i-commend-my-soul-to-any-god-that-can-find-it/)󠁿

 [wordpressghoul](https://profiles.wordpress.org/wordpressghoul/) 2017 年 10 月 
20 日 1 回复

It is said that your life flashes before your eyes just before you die. That is 
true, it’s called Life

 [ 阅读所有12条评价 ](https://wordpress.org/support/plugin/gnu-terry-pratchett/reviews/)

## 贡献者及开发者

「GNU Terry Pratchett」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Nick C ](https://profiles.wordpress.org/modernnerd/)

「GNU Terry Pratchett」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/gnu-terry-pratchett/contributors)
为本插件所做的贡献。

[帮助将「GNU Terry Pratchett」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/gnu-terry-pratchett)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/gnu-terry-pratchett/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/gnu-terry-pratchett/)，或通过[RSS](https://plugins.trac.wordpress.org/log/gnu-terry-pratchett/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/gnu-terry-pratchett/)。

## 更新日志

#### 0.4.1

 * Escape attributes on settings page and meta tag.

#### 0.4.0

 * Add settings page at Settings  GNU Terry Pratchett to let you adjust or extend
   the X-Clacks-Overhead header.
 * Bump “tested up to” to WordPress 6.0.

#### 0.3.2

 * Small PHP and readme docs adjustments.

#### 0.3.1

 * Add text domain to allow for readme translation.

#### 0.3.0

 * Removed mail header filtering. This was causing issues with WordPress site mail
   and plugins.

#### 0.2.3

 * Added icon. Artwork from The Grand Trunk Semaphore Company 3p Stamp, copyright
   Discworld Emporium.

#### 0.2.2

 * Correct email header issue affecting Contact Form 7.

#### 0.2.1

 * Fix issue where email header could break outgoing mail.

#### 0.2.0

 * Add X-Clacks-Overhead meta tag to site HTML.
 * Add X-Clacks-Overhead header to outgoing email sent by wp_mail().

#### 0.1.2

 * Initial release.

## 额外信息

 *  版本 **0.4.1**
 *  最后更新：**2 周前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 5.6 或更高版本 **
 *  语言
 * [English (UK)](https://en-gb.wordpress.org/plugins/gnu-terry-pratchett/) 和 [English (US)](https://wordpress.org/plugins/gnu-terry-pratchett/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/gnu-terry-pratchett)
 * 标签
 * [http-headers](https://cn.wordpress.org/plugins/tags/http-headers/)
 *  [高级视图](https://cn.wordpress.org/plugins/gnu-terry-pratchett/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  13 条 5 星评价     ](https://wordpress.org/support/plugin/gnu-terry-pratchett/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/gnu-terry-pratchett/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/gnu-terry-pratchett/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/gnu-terry-pratchett/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/gnu-terry-pratchett/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/gnu-terry-pratchett/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/gnu-terry-pratchett/reviews/)

## 贡献者

 *   [ Nick C ](https://profiles.wordpress.org/modernnerd/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/gnu-terry-pratchett/)