Title: Static Feed
Author: Angelo Mandato
Published: <strong>2010 年 2 月 18 日</strong>
Last modified: 2010 年 2 月 18 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/staticfeed.svg)

# Static Feed

 由 [Angelo Mandato](https://profiles.wordpress.org/amandato/) 開發

[下載](https://downloads.wordpress.org/plugin/staticfeed.2.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/staticfeed/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/staticfeed/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/staticfeed/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/staticfeed/#developers)

 [技術支援](https://wordpress.org/support/plugin/staticfeed/)

## 外掛說明

Improve the performance of your site by serving your feeds as static (XML) files.

#### WARNING

If you are not confident with creating/editing files or changing file permissions
on your web server, this plugin may not be for you.

#### Advantages

 * Reduces server processing load (reduces PHP and MySQL processing)
 * Increases server response time (server promptly returns the feed, no need to 
   wait for PHP or MySQL)
 * Faster downloads (presuming you have compression configured on your web server)
 * Improves uptime (static files can continue to be served even if PHP or MySQL 
   are offline)

#### Supported Feeds

The Static Feed plugin can be used for any of the standard WordPress feeds as well
as other feeds added by plugins such as [Blubrry PowerPress](https://wordpress.org/extend/plugins/powerpress/).

Here’s a brief list:

 * RSS2 (default) Feed (example.com/feed/)
 * RSS 0.92 Feed (example.com/feed/rss/)
 * RDF Feed (example.com/feed/rdf/)
 * Atom Feed (example.com/feed/atom/)
 * Podcast Feed (example.com/feed/podcast/)

Category, tag and comment feeds are currently not supported.

#### How does it work?

Anytime you modify a blog post, the **Static Feed** plugin stores the latest versions
of your feeds as XML files on your web server. These locally saved XML files are
then served directly by the web server, avoiding unnecessary PHP/MySQL processing.

#### Two Ways Static Feed can serve your feeds

 1. As XML files (e.g. example.com/feed.xml)
 2.  * format commonly used by Movable Type blogs
 3. As permalinks (e.g. example.com/feed/)
 4.  * format used by WordPress when using the Permalinks feature

#### Note about Permalink Feeds

To use this plugin with your existing Permalink feeds (example.com/feed/), your .
htaccess file needs to be writable. If your .htaccess file is not writable, the 
Static Feed plugin will give you instructions how to manually update your .htaccess
file. If you cannot modify your .htaccess file, then you’re not going to be able
to use this plugin for Permalink feeds.

#### This plugin is not for everyone

If you are using a feed hosting service such as FeedBurner or if your feed includes
content that is generated by other factors (such as a star rating plugin), then 
this plugin is not for you.

#### More Information

For the latest information please visit the website.

[http://www.pluginspodcast.com/plugins/staticfeed/](http://www.pluginspodcast.com/plugins/staticfeed/)

### Contributors

Angelo Mandato, host of the [Plugins Podcast](http://www.pluginspodcast.com) – Plugin
author

### Follow us on Twitter

@[pluginspodcast](http://twitter.com/pluginspodcast)

## 螢幕擷圖

[⌊Static Feed settings page⌉⌊Static Feed settings page⌉[

Static Feed settings page

## 安裝方式

 1. Copy the entire directory from the downloaded zip file into the /wp-content/plugins/
    folder.
 2. Activate the “Static Feed” plugin in the Plugin Management page.
 3. Configure Static Feed by going to the **Settings** > **Static Feed** page.

If you plan on serving Permalink Feeds (example.com/feed/), create a folder called‘
staticfeed’ in your wp-content folder and make sure your web server can write files
to the newly created wp-content/staticfeed folder.

## 常見問題集

  Why Static Feeds?

It’s all about web server performance. It is much more efficient for a web server
to serve a static XML file than to dynamically re-create the feed in PHP/MySQL upon
each request. Since a blog feed doesn’t change as often as it is downloaded, it 
makes sense to serve this information as a static file.

  What else do you recommend?

Combine this plugin with a web server configured with compression ([mod_deflate](http://httpd.apache.org/docs/2.0/mod/mod_deflate.html)
in Apache) and a PHP Accelerator (such as APC), and you have yourself a real WordPress
serving powerhouse!

  Will this plugin work with other caching plugins?

It may work, but I wouldn’t guarantee it. If you’re using this plugin with another
caching plugin without problems, let me know and I’ll start a list of Static Feed
compatible Caching plugins.

  Do I need this plugin if I am already using a caching plugin?

Most likely no since the caching plugin may be doing something similar.

  Does Static Feed handle category, tag or comment feeds?

Not yet, sorry.

  I previously switched from Movable Type to WordPress, can this plugin continue
to maintain my original Movable Type feed?

Yes! This is what version 1.0 of this plugin was originally written for. Simply 
configure this plugin to write to the appropriate xml file on your server and you’re
all set.

  What is Web Server Compression?

Web server Compression is when the web server compresses the data before returning
it to the client (web browser). Compression will shrink XML to more than half its
normal size, resulting in less bandwidth and a faster downloading experience for
the end user.

You can test your site and feeds for compression by using the [What’s My IP HTTP Compression](http://www.whatsmyip.org/http_compression/)
test.

Note: This plugin does not add HTTP Compression to your web server. HTTP Compression
is a feature your web hosting providor or administrator would configure.

## 使用者評論

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

### 󠀁[Works as described](https://wordpress.org/support/topic/works-as-described-175/)󠁿

 [midpod](https://profiles.wordpress.org/midpod/) 2016 年 9 月 3 日

Works as described. Thanks for the plugin.

 [ 閱讀全部 2 則使用者評論 ](https://wordpress.org/support/plugin/staticfeed/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Static Feed〉的開發相關工作。

參與者

 *   [ Angelo Mandato ](https://profiles.wordpress.org/amandato/)

[將〈Static Feed〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/staticfeed)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/staticfeed/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/staticfeed/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/staticfeed/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/staticfeed/)。

## 變更記錄

#### 2.0

 * Released on 02/18/2010
 * First public release of the Static Feed plugin
 * Adds support for serving static feeds through Permalinks via .htaccess ModRewrite
   rules

#### 1.0

 * First private release of the Static Feed plugin

## 中繼資料

 *  版本 **2.0**
 *  最後更新 **16 年前**
 *  啟用安裝數 **90+**
 *  WordPress 版本需求 ** 2.9.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **2.9.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/staticfeed/)
 * 標籤:
 * [feed](https://tw.wordpress.org/plugins/tags/feed/)[feeds](https://tw.wordpress.org/plugins/tags/feeds/)
   [rss](https://tw.wordpress.org/plugins/tags/rss/)[rss2](https://tw.wordpress.org/plugins/tags/rss2/)
   [static](https://tw.wordpress.org/plugins/tags/static/)
 *  [進階檢視](https://tw.wordpress.org/plugins/staticfeed/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/staticfeed/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/staticfeed/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/staticfeed/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/staticfeed/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/staticfeed/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/staticfeed/reviews/)

## 參與者

 *   [ Angelo Mandato ](https://profiles.wordpress.org/amandato/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/staticfeed/)