This weekend I took the opportunity to implement a bunch of changes, and fixes, into the wp-lifestream plugin which I created. It got a quick overhaul on the extensibility end, allowing you to do much more with complex feeds. To demonstrate the power, I went ahead and built the much-requested Pandora feed plugin.
The plugin itself, pulls from three different feeds, and displays different labels based on which feed the data comes from. The new feed format allows you to store a key, which specifies the a sort-of sub-feed within the feed. The changes also allow you to make the labels on all feeds dynamic, by overriding two new functions: get_label_single() and get_label_plural().
I also went ahead and moved the LifeStream administration into its own tab, instead of trying to integrate my CSS into WordPress. This allows it much better integration with custom administration themes.
You will find that the links to feed sites are now replaced with links to your profiles on those sites (on most feeds). This will make it easier for your visitors to interact with you on the many social networks out there which exist.
And finally among the changes, are more internal changes geared towards hackers who want to customize the output of their feed. The function lifestream_get_events() was added, which accepts the same parameters as the default lifestream() function, but instead returns an array of Event instances. This allows you to do anything from putting your lifestream in a custom sidebar template, to sticking your recent tweets on the homepage.
Among the TODO, when I get more time, is support for WPMU, and as always, more feeds.
If you think there’s something that would make a good addition, feel free to let me know. Either drop me an email or post a comment on the project page.

8 Responses to "WordPress LifeStream Plugin Updates"
WPMU support would be neat, but could you throw in support for multiple users on the same blog? That is, either multiple lifestreams on the same blog, or assigning a user / e-mail address to each feed and putting a gravatar next to their entries?
The WPMU support (should) affect things the same way as just having multiple users on the same blog.
It will contain a hook for showing a users lifestream (passing the user_id), which should be usable in any template. It will also change the database so a feed has a user_id bound to it, and some of the unique constraints will change. This would allow you to show a global lifestream feed, or individual streams. I will also include the option to show the user’s name in the event.
I just recently discovered your plugin, but when I upload and activate the plugin it doesn’t show up anywhere in the administrative panels.
I am using php5.
There seems to be a conflict with the Lighter Menus (http://wordpress.org/extend/plugins/lighter-admin-drop-menus/) extension. If “Lighter Menus” is enabled, LifeStream links don’t work, they point to http://domain.com/wp-admin/lifestream.php?page=lifestream.php, which is not correct. But after disabling Lighter Menus, LifeStream links do work.
All other extensions work properly, so there might be a problem with LifeStream.
Fyi..
Just updated. Any action performed in the plugin admin returns the error:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 72 bytes) in /home/onewalru/public_html/FORUMS/wordpress_walrus/wp-content/plugins/lifestream/lib/simplepie.inc on line 14189
Every time!
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122014 bytes) in /home/onewalru/public_html/FORUMS/wordpress_walrus/wp-content/plugins/lifestream/lib/simplepie.inc on line 14074
This looks excellent. I am on WP 2.6.1 and do not see the configuration link under settings. Is there a compatibility issue?
Hello!
Very Interesting post! Thank you for such interesting resource!
PS: Sorry for my bad english, I’v just started to learn this language
See you!
Your, Raiul Baztepo
Leave A Reply