Singpolyma

Archive of "Actionstream"

Archive for the "Actionstream" Category

Actionstream 0.35

Posted on

I’m updating too fast.  This release brings some improvements to the UI for adding services.  There are also now options to use the plugin as a sidebar widget or with at easy-to-include post/page tag.  This release also brings the recognition of a requirement of PHP5.2.0 or higher (after much debugging with James Kirk).

And, as always, bug fixes!

See the plugin page for more information /download. 

Actionstream 0.30

Posted on

Some significant improvements to my ActionStream plugin. The plugin can always be downloaded from that page.  The changes are:

  1. Bugfix in how some feeds were handled (notably google reader)
  2. If nicknames are being displayed, they are hcards with links to your profile at that service
  3.  Including updates from your own blog is now optional
  4. There is now an option to remove services you have added
  5. Collapsed (5 more… et al) nodes may now be expanded on link click

Actionstream Plugin Update

Posted on

I am pleased to announce version 0.2 of my WordPress Actionstream plugin!

It can be downloaded from the normal place.

New this release:

  1. Better microformats support in the output
  2. Some architecture improvements and bug fixes
  3. There is now a sanity check for zero items or less items than requested
  4. Posts on the host blog are now added to the actionstream
  5. There is a well defined way to add stream items (say, from another plugin). Just create an array with the fields you need (be sure to specify identifier and created_on – GUID and unix time of publish, respectively) – usually includes title and url. Then instantiate an object of class ActionStreamItem and save in like so: (new ActionStreamItem($array_data, 'service', 'data_type', $user_id))->save();
  6. There is now a hook for other plugins to add available services. Example:
    actionstream_service_register('feed',
    
          array(
    
             'name' => 'Feed',
    
             'url' => '%s'
    
          ),
    
          array(
    
             'entries' => array(
    
                   'html_form' => '[_1] posted <a href="[_2]" rel="bookmark" class="entry-title">[_3]</a>',
    
                   'html_fields' => array('url', 'title'),
    
                   'url' => '{{ident}}',
    
                )
    
          ));
    
    

On Actionstreams and Blogging Your Own Work

Posted on

So first, the plugin.  I have basically ported the MT Actionstream plugin to WordPress (you can see it in action on my main page).  This is pretty cool, and it means we can easily share settings with other efforts.

New in this release is the ability to import a list of services from another page (like MyBlogLog or  FriendFeed) using SGAPI.

Code lesson: sometimes the WordPress docs lie.  They say that you pass a function name (or array with object reference and function name) to wp-cron hooks to schedule regular actions.  Not true.  You pass the name of a WordPress action (added with add_action).

Blogging Lesson: Blog your own work.  This plugin has been covered by at least four blogs now (more than most of my stuff) and not yet by me.  I just posted the plugin on the DiSo mailing list and people liked it.  I’m not complaining, but I’ll definately post my own stuff up front in the future!