root/trunk/ActionStreams/README.txt @ 1279

Revision 1279, 3.4 kB (checked in by mpaschal, 12 months ago)

Rewrap to 78 character lines
Point to the Template Author Guide for template authoring help

Line 
1# Action Streams Plugin for Movable Type
2# Authors: Mark Paschal, Bryan Tighe, Brad Choate, Alex Bain
3# Copyright 2008 Six Apart, Ltd.
4# License: Artistic, licensed under the same terms as Perl itself
5
6
7OVERVIEW
8
9Action Streams for Movable Type collects your action on third party web sites
10into your Movable Type web site. Using it, you can aggregate those actions for
11your reference, promote specific items to blog posts, and stream the whole set
12to your friends and readers. Action Streams are a powerful part of your web
13profile.
14
15The plugin adds the ability for your Movable Type authors to list their
16accounts on third party web services. A periodic task then automatically
17imports your authors' activity on those services using XML feeds (where
18provided) and scraping HTML pages (where necessary). Your authors can then
19publish their action streams completely under their control: the provided
20template tags make it possible to display authors' accounts and actions on any
21page powered by Movable Type. The example templates and the provided template
22set also use the XFN and hAtom microformats and provide web feeds to integrate
23with tools your readers may be using.
24
25
26PREREQUISITES
27
28- Movable Type 4.1 or higher
29- Scheduled task or cron job to execute the Periodic Tasks script (see below)
30
31The Action Streams plugin ships with all of the external libraries you should
32need to run it.
33
34Note: Action Streams does not work when run-periodic-tasks is run in daemon
35mode.
36
37
38INSTALLATION
39
40  1. Configure a cronjob (see below) for the script run-periodic-tasks.
41  2. Unpack the ActionStreams archive.
42  3. Copy the contents of ActionStreams/extlib into /path/to/mt/extlib/
43  3. Copy the contents of ActionStreams/mt-static into /path/to/mt/mt-static/
44  4. Copy the contents of ActionStreams/plugins into /path/to/mt/plugins/
45  5. Navigate to your profile, and click on "Other Profiles."
46  6. Build a list of your accounts from which to display and stream actions.
47  7. Edit your stylesheet to include needed CSS. (see STYLES below)
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.
54
55
56CRONJOB
57
58Action Streams uses Movable Type's scheduled task system to collect your
59action data from remote services. To run scheduled tasks, configure a cron job
60to run MT's tools/run-periodic-tasks script periodically.
61
62Add the following lines to your crontab to execute the script every 10
63minutes:
64
65  # Movable Type scheduled tasks
66  */10 * * * * cd /path/to/mt; perl ./tools/run-periodic-tasks
67
68
69STYLES
70
71To add icons to your Action Streams and other basic styling, add the following
72line to the top of your main stylesheet (normally styles.css).
73
74  @import url(<MT:StaticWebPath>plugins/ActionStreams/css/action-streams.css);
75
76The classes used in the template code examples use the same classes as the
77default templates and thus they work well with the default themes.
78
79
80TEMPLATE CODE
81
82See the Template Author Guide in the doc/ folder for help with Action Streams'
83template tags.
84
85
86CREDITS
87
88This distribution contains icons from Silk, an icon set by Mark James,
89licensed under the Creative Commons Attribution 2.5 License.
90
91http://www.famfamfam.com/lab/icons/silk/
92
93
Note: See TracBrowser for help on using the browser.