Title: Static Web Publisher
Author: kgcoder
Published: <strong>2025 年 3 月 19 日</strong>
Last modified: 2026 年 5 月 20 日

---

搜索插件

![](https://ps.w.org/static-web-publisher/assets/icon-256x256.png?rev=3258631)

# Static Web Publisher

 作者：[kgcoder](https://profiles.wordpress.org/kgcoder/)

[下载](https://downloads.wordpress.org/plugin/static-web-publisher.4.1.2.zip)

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

 [支持](https://wordpress.org/support/plugin/static-web-publisher/)

## 描述

Static Web Publisher adds a small block of JSON metadata to each post and page. 
This metadata allows compatible apps and browser extensions to generate reader-friendly,
static representations of your content — versions that can visually highlight connections
to other pages across the Web.

Visitors without supporting software will see your site exactly as before. Nothing
about its appearance or behavior changes for regular users.

The Static Web is a new approach to building a more interconnected Web. You can 
learn more about it [here](https://cn.wordpress.org/plugins/static-web-publisher/reinventingtheweb.com?output_format=md).

#### Background

This project is inspired by the long-standing ideas of hypertext pioneer Ted Nelson.

#### Current support

The new formats (HDOCs) this plugin works with are currently supported by:

[Visible Connections](https://chromewebstore.google.com/detail/visible-connections/hlckcdbgknflkkciojgdbhomdnegimbm)
—
a Chrome extension that shows visible connections between web pages in your browser,

[LZ Desktop](https://reinventingtheweb.com/download)
 — a standalone app for exploring
and creating Web 1.1 content.

#### Looking ahead

More apps — especially reader apps, and eventually browsers — will be able to support
Static Web data formats in the future.

## 安装

Setting up Static Web Publisher is quick and easy:

 1. Go to Plugins in your WordPress dashboard and click Add New.
 2. In the “Search plugins…” field, type Static Web Publisher.
 3. Find the plugin in the search results, hover over it, and click Install.
 4. Once installed, click Activate.
 5. Go to the plugin’s Settings page and configure top and bottom panels (optional).
 6. In the main folder of your website (usually named public), create a folder named
    static-documents. Place your standalone HDOCs, CDOCs, and CONDOCs inside this folder.
    They will be accessible via URLs like: https://yourwebsite.com/static/your_file.
    hdoc. Files in this folder are served directly in the browser rather than downloaded,
    which allows compatible extensions to handle them properly.

## 常见问题

No frequently asked questions yet. Feel free to ask!

## 评价

此插件暂无评价。

## 贡献者及开发者

「Static Web Publisher」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ kgcoder ](https://profiles.wordpress.org/kgcoder/)

[帮助将「Static Web Publisher」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/static-web-publisher)

### 对开发感兴趣吗?

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

## 更新日志

#### 4.1.2

Bug fix

#### 4.1.1

Content type of standalone files changed to text/html to allow HTML in fallback 
messages.

#### 4.1.0

Some unnecessary functionality removed.

#### 4.0.0

Introduced the embedded HDOC format.
 The plugin no longer creates additional endpoints
for serving HDOCs. Support for custom URL schemes has been removed.

#### 3.0.0

Big changes in HDOC format.

#### 2.1.0

It’s now possible to order comments with ‘order’ parameter. Values: asc, desc. Title
for comments section and ‘no comments yet’ message can now be specified in the Settings.

#### 2.0.0

Color configuration of panels was removed from Settings.
 Now a link to the original
page can be added to the panels. The same link was removed from the bottom of each
page. Comments are now exported in JSON format.

#### 1.2.0

The site name and link are automatically added to the HDOC top panel after the plugin
is activated. This ensures the top panel is populated even if you don’t configure
panels after installation.

#### 1.1.1

Bugfix

#### 1.1.0

 * Download buttons are now optional and are not visible by default.
 * An alternate link is added to the head of each page. This way sw:// and sws://
   links can be found on the page using a browser extension. That’s why download
   buttons are now optional.
 * Minor improvements

#### 1.0

Initial release.

## 额外信息

 *  版本 **4.1.2**
 *  最后更新：**3 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.1 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/static-web-publisher/)
 * 标签
 * [publish](https://cn.wordpress.org/plugins/tags/publish/)[static](https://cn.wordpress.org/plugins/tags/static/)
   [web](https://cn.wordpress.org/plugins/tags/web/)
 *  [高级视图](https://cn.wordpress.org/plugins/static-web-publisher/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/static-web-publisher/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/static-web-publisher/reviews/)

## 贡献者

 *   [ kgcoder ](https://profiles.wordpress.org/kgcoder/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/static-web-publisher/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://reinventingtheweb.com/donate)