My Blogger Trackback Userscript has been getting more and more broken the longer I stay away from Blogger. It was inevitable, I suppose, that some of my code would rot when I wasn’t using the service. Enough people have asked me to fix this one, however, that I finally logged in again today and fixed the code. Install the new version and it should work again 🙂
I’ve made some large updates to my picoformats plugin for WordPress (picoformats also sometimes known as microsyntax).
- Processing of comments has been removed (at least for now)
- Both trackbacks and pingbacks are sent for @ replies
- Trackbacks and pingbacks are sent for URLs in in-reply-to custom fields.
- URLs are auto-linked
- More stable regex, etc for @ reply/#hastag detection with some help from @tantek.com
- support for starting a post’s content with “reply URL”, “reply #URL”, “#URL”, “reply post-ID”, “reply #post-ID”, or “#post-ID” and having in-reply-to custom field added automatically (and the reply bit at the beginning of the content snipped off).
Download the plugin
Just a note that my XRDS-Simple plugin has undergone some major refactoring as part of the DiSo project. It now lives at WordPress Extend.
I have released an update to my Picoformats plugin. This update changes the logic so that posts are not modified in the database (thanks, @aditya!), but on the fly. It will also link to the local profile/archive of a user (thanks, @als!) that has no URL set in their profile. Also, if you use an @ reply from inside a comment and use the (one-word) name of a comment poster, it will recognize this (if they have whitespace in their name, just take it out when writing the @ reply). @ replies in comments also do not check Twitter usernames anymore, since this is expensive and breaks common use.
Download the plugin
I am pleased to announce version 0.2 of my WordPress Actionstream plugin!
It can be downloaded from the normal place.
New this release:
- Better microformats support in the output
- Some architecture improvements and bug fixes
- There is now a sanity check for zero items or less items than requested
- Posts on the host blog are now added to the actionstream
- 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();
- 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}}',
)
));