1. Actionstream Plugin Update

    body

    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}}',
      
                  )
      
            ));
      
      
    Creative Commons Licence © 2006-2008 Stephen Paul Weber. Some Rights Reserved.
    There is an RSS Feed for comments on this post.
    You can trackback from you own site.

    2 Comments

    1. Comment at 2008-03-18 02:58 by UNITED STATES Windows XP Mozilla Firefox 2.0.0.12 James Kirk
      body

      SPW, how do I call the out put in the WP template code? Not immediately seeing a reference to it. Thanks!

    2. Comment at 2008-03-18 09:24 by CANADA Windows Vista Mozilla Firefox 2.0.0.12 Stephen Paul Weber
      body

      Ah, so sorry. The template tag is:

      <?php actionstream_render(); ?>

      You can optionally call it like this:

      <?php actionstream_render(USERID, MAX_ITEMS, HIDE_USERNAMES(true/false)); ?>

    1 Trackbacks

    1. Trackback at 2008-03-18 11:53 by New Actionstreams Wordpress Plugin released
      body

      [...] 18, 2008: Stephen released v0.2 of the plugin. Download [...]

    Post a Comment

    You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Stephen Paul Weber