Title: Offline Pages
Author: offlinepages
Published: <strong>2016 年 1 月 27 日</strong>
Last modified: 2016 年 1 月 27 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/offline-pages/assets/icon-256x256.png?rev=1337500)

# Offline Pages

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

[下载](https://downloads.wordpress.org/plugin/offline-pages.zip)

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

 [支持](https://wordpress.org/support/plugin/offline-pages/)

## 描述

Offline Pages plugin allows you to cache your entire WordPress site locally on iPad,
iPhone, or Mac, then browse it while working offline, e.g.
 in Airplane Mode or 
when there is no network connection available. The plugin works in tandem with Offline
Pages Pro or similar app. Together they efficiently synchronize your WordPress articles
with on-device cache to provide a complete offline browsing experience for the entire
site.

The plugin itself does not offer any useful functionality without the app. All it
does is output a `<link>` element pointing to a special URL which serves XML document

with rules for synchronizing your site, e.g. `/blog/wp-admin/admin-ajax.php?action
=opwp_rules`. The URL is ignored by any browser except Offline Pages app which uses
it as a guide to crawl the site and cache the resources according to rules contained
in a document.

#### Rules Document

Unlike HTML5 cache manifest, Offline Pages rules documents don’t require listing
every individual resource used by the website. Instead, they provide high-level

instructions only. Examples of instructions are: block or allow certain URL patterns,
customize caching policy, set update frequency, or add resource dependencies not
recognizable automatically by crawler (e.g. when URLs are computed by non-trivial
JavaScript expressions).

You can find rules document DTD [here](http://codiumlabs.com/dtd/rules-1.0.dtd).

#### Supported WordPress Features

 * Page layouts of any complexity
 * Custom themes
 * Caching of videos (plain HTML5 or YouTube/Vimeo embeds)
 * Caching of AJAX requests
 * Most public facing plugins
 * Offline forms or surveys (setup required.)

Note that the plugin does NOT allow or support any admin functions, post editing
or commenting while offline.

#### Supported Apps

The plugin works with following apps:

 * Offline Pages Pro for iOS or Mac
 * Offline Kiosk
 * Offline Forms
 * custom enterprise apps built on same platform ([http://codiumlabs.com/enterprise/](http://codiumlabs.com/enterprise/))

More information available can be found at plugin website ([http://codiumlabs.com/offline-wordpress/](http://codiumlabs.com/offline-wordpress/)).

## 屏幕截图

[⌊Offline Pages plugin settings page⌉⌊Offline Pages plugin settings page⌉[

Offline Pages plugin settings page

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/` directory, or install the
    plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress.
 3. Use the Settings->Offline screen to configure the plugin.
 4. You can now start caching your WordPress site using the app.

## 常见问题

  Does it really allow browsing entire site offline?

Yes.

  Including videos and AJAX?

Yes, provided both plugin and mobile app are correctly set up.

  Can I browse entire WordPress site offline in Safari or Chrome?

No. It requires Offline Pages Pro or similar app. Regular browsers don’t support
offline browsing functions required to manage large persistent caches, update them
efficiently, or serve AJAX or media requests while working offline.

  Does it support AJAX themes?

Yes, but you will likely need to add custom rules to cache AJAX requests in WordPress
settings > Offline. See Offline Pages website or contact support with URL of your
blog and someone will help you out.

  What about cache updates?

You can update device cache manually, or configure automatic updates from the app.
See Offline Pages website for more information.

  Does the app require admin access to WordPress site?

Absolutely not! The app operates as a regular web browser with additional crawling
and offline capabilities. The app only needs to access pages that your regular web
visitors can access.

  Can mobile devices update cache automatically by Push Notification when I post
new articles?

Not yet, but it is planned.

  Is it available on Android?

Not yet.

  Is it available on Windows?

Not yet.

  Have any question not listed here?

See Offline Pages website or contact support for more information.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

[帮助将「Offline Pages」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/offline-pages)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0

 * Initial release.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**10 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 3.1.0 或更高版本 **
 *  已测试的最高版本为 **4.4.34**
 *  语言
 * [English (US)](https://wordpress.org/plugins/offline-pages/)
 * 标签
 * [offline](https://cn.wordpress.org/plugins/tags/offline/)
 *  [高级视图](https://cn.wordpress.org/plugins/offline-pages/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/offline-pages/reviews/#new-post)

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

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/offline-pages/)