這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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.

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:

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

螢幕擷圖

  • 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〉的開發相關工作。

參與者

將〈Offline Pages〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

  • Initial release.