| 9 | | Action Streams for Movable Type collects your action on third party web sites into your |
| 10 | | Movable Type web site. Using it, you can aggregate those actions for your reference, promote |
| 11 | | specific items to blog posts, and stream the whole set to your friends and readers. Action |
| 12 | | Streams are a powerful part of your web profile. |
| | 9 | Action Streams for Movable Type collects your action on third party web sites |
| | 10 | into your Movable Type web site. Using it, you can aggregate those actions for |
| | 11 | your reference, promote specific items to blog posts, and stream the whole set |
| | 12 | to your friends and readers. Action Streams are a powerful part of your web |
| | 13 | profile. |
| 14 | | The plugin adds the ability for your Movable Type authors to list their accounts on third |
| 15 | | party web services. A periodic task then automatically imports your authors' activity on those |
| 16 | | services using XML feeds (where provided) and scraping HTML pages (where necessary). Your |
| 17 | | authors can then publish their action streams completely under their control: the provided |
| 18 | | template tags make it possible to display authors' accounts and actions on any page powered by |
| 19 | | Movable Type. The example templates and the provided template set also use the XFN and hAtom |
| 20 | | microformats and provide web feeds to integrate with tools your readers may be using. |
| | 15 | The plugin adds the ability for your Movable Type authors to list their |
| | 16 | accounts on third party web services. A periodic task then automatically |
| | 17 | imports your authors' activity on those services using XML feeds (where |
| | 18 | provided) and scraping HTML pages (where necessary). Your authors can then |
| | 19 | publish their action streams completely under their control: the provided |
| | 20 | template tags make it possible to display authors' accounts and actions on any |
| | 21 | page powered by Movable Type. The example templates and the provided template |
| | 22 | set also use the XFN and hAtom microformats and provide web feeds to integrate |
| | 23 | with tools your readers may be using. |
| 43 | | 8. Edit your templates to display your other profiles and your Action Stream. (see |
| 44 | | example_templates folder) A template set is also provided for convenience. |
| 45 | | 9. Edit the plugin's settings to enable automatically rebuilding your blog as new |
| 46 | | actions are imported. This setting is under each of your blog's plugin settings. |
| | 48 | 8. Edit your templates to display your other profiles and your Action |
| | 49 | Stream. (See the Template Author Guide in the doc/ folder.) A template |
| | 50 | set is also provided for convenience. |
| | 51 | 9. Edit the plugin's settings to enable automatically rebuilding your blog |
| | 52 | as new actions are imported. This setting is under each of your blog's |
| | 53 | plugin settings. |
| 79 | | The following template code will produce a list of actions for the author "Melody Nelson": |
| 80 | | |
| 81 | | <mt:ActionStreams display_name="Melody Nelson" lastn="20"> |
| 82 | | <mt:if name="__first__"> |
| 83 | | <div class="action-stream"> |
| 84 | | <ul class="action-stream"> |
| 85 | | </mt:if> |
| 86 | | <li class="service-icon service-<mt:var name="service_type">"><mt:StreamAction></li> |
| 87 | | <mt:if name="__last__"> |
| 88 | | </ul> |
| 89 | | </div> |
| 90 | | </mt:if> |
| 91 | | </mt:ActionStreams> |
| 92 | | |
| 93 | | It is recommended that you add the above code as a template module or widget to make it |
| 94 | | easier to include and display profile actions throughout your web site. |
| 95 | | |
| 96 | | For more detailed examples see the templates in the example_templates directory. |
| 97 | | |
| 98 | | There are additional template tags, such as mt:StreamActionThumbnailURL, which need to |
| 99 | | be documented better in the future. |
| 100 | | <mt:setvarblock name="thumb_url"><mt:StreamActionThumbnailURL></mt:setvarblock> |
| 101 | | <mt:if name="thumb_url"> |
| 102 | | <div style='padding-left: 20px; padding-bottom: 10px; padding-top: 5px;'> |
| 103 | | <img src='<mt:var name='thumb_url'>' /> |
| 104 | | </div> |
| 105 | | </mt:if> |