Title: WP-Lifestream2
Author: Shelby DeNike
Published: <strong>2011 年 9 月 22 日</strong>
Last modified: 2012 年 2 月 12 日

---

搜索插件

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

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

# WP-Lifestream2

 作者：[Shelby DeNike](https://profiles.wordpress.org/sdenike/)

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

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

 [支持](https://wordpress.org/support/plugin/wp-lifestream2/)

## 描述

Lifestream displays your social feeds and photos much like you would see it on many
of the social networking sites.

### Requirements

 * PHP 5
 * WordPress 2.8 or newer

### Features

 * Personalizable CSS classes.
 * Detailed configuration options.
 * Supports nearly every major social networking website
 * Unlimited number of feeds in your Lifestream.
 * Supports grouping of events.
 * Localization ready!
 * Digest available to summarize your activities.
 * WordPress MU is supported.

### Built-in Feeds

The plugin includes most of the major social networking feeds available. You may
add your own, as well as send me ideas for new feeds at the GitHub Forum. If you
wish to add custom extensions, please see extensions/README.

 * Facebook
 * Digg
 * Blog
 * Twitter
 * Reddit
 * De.licio.us
 * GetGlue
 * Instapaper
 * Jaiku
 * Last.fm (Revamped plugin in 0.38)
 * Flickr (Improved display in 0.39)
 * Photobucket
 * Pownce
 * YouTube
 * Google Plus
 * Yelp
 * MySpace Blog
 * Skitch
 * Identi.ca
 * Pandora
 * TwitPic
 * Pict.Mobi
 * Vimeo
 * StumbleUpon
 * Tumblr
 * Ma.gnolia
 * Zooomr
 * Blip.fm
 * Brightkite
 * Picasa (Web)
 * Kongregate
 * Viddler
 * coComment
 * FoodFeed
 * MyEpisodes
 * Mixx
 * SlideShare
 * Blip.tv
 * Steam
 * Xbox Live
 * Github
 * Readernaut
 * ScrnShots
 * Mobypicture
 * SmugMug
 * DeviantArt
 * BackType
 * LibraryThing
 * Netflix
 * Wikipedia
 * Upcoming.org
 * WordPress Codex
 * Raptr
 * Gowalla
 * Kiva
 * Codaset
 * Foursquare
 * Ustream
 * World of Warcraft Armory

Want to add your own? See extensions/README for more information.

### Localization

Currently the plugin is localized in the default language of English, as well as
the following languages. If you wish to submit a localization please send it to 
lifestream@fauxzen.com

 * Chinese (Simplified)
 * Japanese
 * Polish
 * Danish
 * Italian
 * Bulgarian
 * French
 * German
 * Danish
 * Spanish
 * Swedish
 * Belorussian
 * Catalan

### Credits

An [Enthropia Labs](http://www.enthropia.com/labs/) project.

Created by David Cramer ([mail](https://cn.wordpress.org/plugins/wp-lifestream2/dcramer@gmail.com?output_format=md),
[website](http://www.davidcramer.net)).

Maintained by Robert McGhee ([mail](https://cn.wordpress.org/plugins/wp-lifestream2/robert@robertmcghee.co.uk?output_format=md),
[website](http://wwww.robertmcghee.co.uk)).

Core concept inspired by [RSS Stream](http://rick.jinlabs.com/code/rss-stream).

## 安装

Upload the plugin into `/wp-content/plugins/`. You should end up with `/wp-content/
plugins/lifestream/`.

Activate the plugin under the “Plugins” menu.

Visit “Lifestream” -> “Settings” to configure the basic options, and add feeds.

There are severals methods in which you can use Lifestream in a WordPress page.

The easiest way is to use the normal context handler (works in pages and posts):

    ```
    [lifestream]
    ```

Another method requires a [custom WordPress page](https://codex.wordpress.org/Pages#Page_Templates),
or the use of a template, and is a simple function call:

    ```
    <?php lifestream(); ?>
    ```

You may also specify several parameters in the `lifestream` method (useful for sidebar
display). These should be in the standard key=>value format for PHP calls.

 * `(int) offset`: defaults to 0
 * `(int) limit`: defaults to ’50’
 * `(string) date_interval`: defaults to ‘1 month’
 * `(boolean) break_events`: defaults to false – forces grouped events to be single
 * `(array) user_ids`: defaults to all users — specify the ids of users to show
 * `(array) feed_types`: defaults to all feeds — specify the feed keys (e.g. twitter)
   to show
 * `(array) feed_ids`: defaults to all feeds — specify the ids of feeds to show,
   also overrides `feed_types` setting

For example:

    ```
    [lifestream limit="10"]
    ```

For more advanced uses, you may directly use `get_events()` which will return an
array of `Event` instances. This is the same syntax as the `lifestream()` method.

Example:

    ```
    <ul>
    <?php
    $options = array('limit' => 50);
    $events = $lifestream->get_events($options);

    foreach ($events as $event)
    {
        echo '<li>'.$event->render($options).'</li>';
    }
    ?>
    </ul>
    ```

Another popular example, would to be show your current Twitter, or Facebook status
somewhere in your templates:

    ```
    $events = $lifestream->get_events(array('feed_types'=>array('twitter'), 'number_of_results'=>1, 'break_groups'=>true);
    $event = $events[0];

    // to render it with links
    echo $event->feed->render_item($event, $event->data);

    // or render just the text
    echo $event->data['title'];
    ```

Or, use our handy shortcuts:

    ```
    <?php lifestream_twitter_status(); ?>
    ```

And

    ```
    <?php lifestream_facebook_status(); ?>
    ```

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Shelby DeNike ](https://profiles.wordpress.org/sdenike/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1.4

 * Removed Amazon plugin as it was no longer valid
 * Updated Google+ plugin so that it works again.

#### 1.1.3

 * Fixed delicious feed URL per this forum [https://wordpress.org/support/topic/plugin-wp-lifestream2-fix-for-delicious-feeds](https://wordpress.org/support/topic/plugin-wp-lifestream2-fix-for-delicious-feeds)
   post
 * Adjusted changelog to have newest changes first.

#### 1.1.2

 * Minor cleanup of various code

#### 1.1.1

 * Fixed Google+ extension
 * Removed Google Reader extension
 * Removed a Changelog/Forum link in Dashboard
 * Removed Screenshot Tab as those no longer apply at this time

#### 1.1

 * Branched from the GitHub release on 09/20/2011
 * Added Pict.Mobi extension
 * Fixed Twitter extension
 * Removed Hulu, iTunes as they no longer offer the feed

#### 1.0

 * This updated version containing a whole load of fixes and more plugins. This 
   is the version available on GitHub as at 27/07/2011

#### 0.99.9.8-BETA

 * The last release by David Cramer

## 额外信息

 *  版本 **1.1.4**
 *  最后更新：**15 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.8 或更高版本 **
 *  已测试的最高版本为 **3.3.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-lifestream2/)
 * 标签
 * [lifestream](https://cn.wordpress.org/plugins/tags/lifestream/)[miniblogging](https://cn.wordpress.org/plugins/tags/miniblogging/)
   [rss](https://cn.wordpress.org/plugins/tags/rss/)[social](https://cn.wordpress.org/plugins/tags/social/)
   [twitter](https://cn.wordpress.org/plugins/tags/twitter/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-lifestream2/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/wp-lifestream2/reviews/#new-post)

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

## 贡献者

 *   [ Shelby DeNike ](https://profiles.wordpress.org/sdenike/)

## 支持

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

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