Auto status
Last updated: Friday 11 June 2010 03:25
Version |
Compatible with |
0.1
|
> 4.0
|
Update status in Twitter, Identi.ca, ... when creating or updating content in eZ Publish.
Auto status provides an after publish workflow event type that can update your status in social networks using a content attribute of the published object. Currently only Twitter and Identi.ca are supported, feel free to join the project if you want to add others social networks.
Extension setup
- Download the extension
- Unpack it in the eZ Publish root directory
- Enable the extension
- Regenerate the autload array
- Clear all cache
Workflow creation
- Create or choose an existing workflow group (Setup > Workflows)
- In this group, create a workflow and add an "Event / Auto status" to it
- Fill the "Event / Auto status" form like in the screenshot and save the event
- Assign the created workflow to the "content publish after" trigger (Setup > Triggers)
How does it work ?
With the above setup, eZ Publish will trigger the auto status event when an object is published. The auto status event will update the status only if the content class of the newly published object is the one configured in the event settings and if the choosen message attribute of this object is not empty.
In the message attribute, the following variables are available :
- %title will be replaced by the name of published object
- %url will be replaced by the URL of the main node embedding the published object
Known Limitations / Bugs
- %url is the URL of the node in the siteaccess used to edit the object, so it can be the URL of the node in the admin siteacess
- There's no easy way to see status update failure and to retry status update
Screenshot
Workflow event setup
Release of Auto status 0.1
Saturday 31 October 2009 09:01
Damien Pobel