root/trunk/ActionStreams/plugins/ActionStreams/config.yaml @ 1547

Revision 1547, 10.3 kB (checked in by mpaschal, 6 months ago)

Add Instructables favorites stream

Line 
1name: Action Streams
2id: ActionStreams
3key: ActionStreams
4author_link: http://www.sixapart.com/
5author_name: Six Apart Ltd.
6description: <MT_TRANS phrase="Manages authors' accounts and actions on sites elsewhere around the web">
7schema_version: 16
8version: 2.2
9plugin_link: http://www.sixapart.com/
10settings:
11    rebuild_for_action_stream_events:
12        Default: 0
13        Scope: blog
14l10n_class: ActionStreams::L10N
15blog_config_template: blog_config_template.tmpl
16
17init_app: $ActionStreams::ActionStreams::Init::init_app
18applications:
19    cms:
20        methods:
21            list_profileevent:       $ActionStreams::ActionStreams::Plugin::list_profileevent
22            other_profiles:          $ActionStreams::ActionStreams::Plugin::other_profiles
23            dialog_add_profile:      $ActionStreams::ActionStreams::Plugin::dialog_add_edit_profile
24            dialog_edit_profile:     $ActionStreams::ActionStreams::Plugin::dialog_add_edit_profile
25            add_other_profile:       $ActionStreams::ActionStreams::Plugin::add_other_profile
26            edit_other_profile:      $ActionStreams::ActionStreams::Plugin::edit_other_profile
27            remove_other_profile:    $ActionStreams::ActionStreams::Plugin::remove_other_profile
28            itemset_update_profiles: $ActionStreams::ActionStreams::Plugin::itemset_update_profiles
29            itemset_hide_events:     $ActionStreams::ActionStreams::Plugin::itemset_hide_events
30            itemset_show_events:     $ActionStreams::ActionStreams::Plugin::itemset_show_events
31            itemset_hide_all_events: $ActionStreams::ActionStreams::Plugin::itemset_hide_all_events
32            itemset_show_all_events: $ActionStreams::ActionStreams::Plugin::itemset_show_all_events
33    community:
34        methods:
35            profile_add_external_profile:    $ActionStreams::ActionStreams::Plugin::profile_add_external_profile
36            profile_delete_external_profile: $ActionStreams::ActionStreams::Plugin::profile_delete_external_profile
37        callbacks:
38            post_add_profile: $ActionStreams::ActionStreams::Plugin::profile_first_update_events
39callbacks:
40    MT::App::CMS::template_param.edit_author: $ActionStreams::ActionStreams::Plugin::users_content_nav
41    MT::App::CMS::template_param.list_member: $ActionStreams::ActionStreams::Plugin::param_list_member
42    MT::App::CMS::template_param.other_profiles: $ActionStreams::ActionStreams::Plugin::users_content_nav
43    MT::App::CMS::template_param.list_profileevent: $ActionStreams::ActionStreams::Plugin::users_content_nav
44    MT::App::CMS::post_add_profile: $ActionStreams::ActionStreams::Plugin::first_profile_update
45    post_action_streams_task: $ActionStreams::ActionStreams::Plugin::rebuild_action_stream_blogs
46    pre_build_action_streams_event.flickr_favorites:        $ActionStreams::ActionStreams::Fix::flickr_photo_thumbnail
47    pre_build_action_streams_event.flickr_photos:           $ActionStreams::ActionStreams::Fix::flickr_photo_thumbnail
48    pre_build_action_streams_event.gametap_scores:          $ActionStreams::ActionStreams::Fix::gametap_score_stuff
49    pre_build_action_streams_event.identica_statuses:       $ActionStreams::ActionStreams::Fix::twitter_tweet_name
50    pre_build_action_streams_event.iminta_links:            $ActionStreams::ActionStreams::Fix::iminta_link_title
51    pre_build_action_streams_event.instructables_favorites: $ActionStreams::ActionStreams::Fix::instructables_favorites_thumbnails
52    pre_build_action_streams_event.iusethis_events:         $ActionStreams::ActionStreams::Fix::iusethis_event_title
53    pre_build_action_streams_event.kongregate_achievements: $ActionStreams::ActionStreams::Fix::kongregate_achievement_title_thumb
54    pre_build_action_streams_event.magnolia_links:          $ActionStreams::ActionStreams::Fix::magnolia_link_notes
55    pre_build_action_streams_event.metafilter_favorites:    $ActionStreams::ActionStreams::Fix::metafilter_favorites_titles
56    pre_build_action_streams_event.netflix_queue:           $ActionStreams::ActionStreams::Fix::netflix_queue_prefix_thumb
57    pre_build_action_streams_event.netflix_recent:          $ActionStreams::ActionStreams::Fix::netflix_recent_prefix_thumb
58    pre_build_action_streams_event.p0pulist_stuff:          $ActionStreams::ActionStreams::Fix::p0pulist_stuff_urls
59    pre_build_action_streams_event.twitter_favorites:       $ActionStreams::ActionStreams::Fix::twitter_favorite_author
60    pre_build_action_streams_event.twitter_statuses:        $ActionStreams::ActionStreams::Fix::twitter_tweet_name
61    pre_build_action_streams_event.typepad_comments:        $ActionStreams::ActionStreams::Fix::typepad_comment_titles
62    pre_build_action_streams_event.wists_wists:             $ActionStreams::ActionStreams::Fix::wists_thumb
63    filter_action_streams_event.nytimes_links:              $ActionStreams::ActionStreams::Fix::nytimes_links_titles
64object_types:
65    profileevent: ActionStreams::Event
66    as: ActionStreams::Event
67    as_ua_cache:  ActionStreams::UserAgent::Cache
68list_actions:
69    profileevent:
70        hide_all:
71            label: Hide All
72            order: 100
73            js:    finishPluginActionAll
74            code:  $ActionStreams::ActionStreams::Plugin::itemset_hide_all_events
75            continue_prompt_handler: >
76                sub { MT->translate('Are you sure you want to hide EVERY event in EVERY action stream?') }
77        show_all:
78            label: Show All
79            order: 200
80            js:    finishPluginActionAll
81            code:  $ActionStreams::ActionStreams::Plugin::itemset_show_all_events
82            continue_prompt_handler: >
83                sub { MT->translate('Are you sure you want to show EVERY event in EVERY action stream?') }
84        delete:
85            label: Delete
86            order: 300
87            code:  $core::MT::App::CMS::delete
88            continue_prompt_handler: >
89                sub { MT->translate('Deleted events that are still available from the remote service will be added back in the next scan. Only events that are no longer available from your profile will remain deleted. Are you sure you want to delete the selected event(s)?') }
90tags:
91    function:
92        StreamAction:             $ActionStreams::ActionStreams::Tags::stream_action
93        StreamActionID:           $ActionStreams::ActionStreams::Tags::stream_action_id
94        StreamActionVar:          $ActionStreams::ActionStreams::Tags::stream_action_var
95        StreamActionDate:         $ActionStreams::ActionStreams::Tags::stream_action_date
96        StreamActionModifiedDate: $ActionStreams::ActionStreams::Tags::stream_action_modified_date
97        StreamActionTitle:        $ActionStreams::ActionStreams::Tags::stream_action_title
98        StreamActionURL:          $ActionStreams::ActionStreams::Tags::stream_action_url
99        StreamActionThumbnailURL: $ActionStreams::ActionStreams::Tags::stream_action_thumbnail_url
100        StreamActionVia:          $ActionStreams::ActionStreams::Tags::stream_action_via
101        OtherProfileVar:          $ActionStreams::ActionStreams::Tags::other_profile_var
102    block:
103        ActionStreams:      $ActionStreams::ActionStreams::Tags::action_streams
104        StreamActionTags:   $ActionStreams::ActionStreams::Tags::stream_action_tags
105        OtherProfiles:      $ActionStreams::ActionStreams::Tags::other_profiles
106        ProfileServices:    $ActionStreams::ActionStreams::Tags::profile_services
107        StreamActionRollup: $ActionStreams::ActionStreams::Tags::stream_action_rollup
108tasks:
109    UpdateEvents:
110        frequency: 1800
111        label: Poll for new events
112        code: $ActionStreams::ActionStreams::Plugin::update_events
113task_workers:
114    UpdateEvents:
115        label: Update Events
116        class: ActionStreams::Worker
117widgets:
118    asotd:
119        label: Recent Actions
120        template: widget_recent.mtml
121        permission: post
122        singular: 1
123        set: sidebar
124        handler: $ActionStreams::ActionStreams::Plugin::widget_recent
125        condition: $ActionStreams::ActionStreams::Plugin::widget_blog_dashboard_only
126template_sets:
127    streams:
128        label: Action Stream
129        base_path: 'blog_tmpl'
130        base_css: themes-base/blog.css
131        order: 100
132        templates:
133            index:
134                main_index:
135                    label: Main Index (Recent Actions)
136                    outfile: index.html
137                    rebuild_me: 1
138                archive:
139                    label: Action Archive
140                    outfile: archive.html
141                    rebuild_me: 1
142                styles:
143                    label: Stylesheet
144                    outfile: styles.css
145                    rebuild_me: 1
146                feed_recent:
147                    label: Feed - Recent Activity
148                    outfile: atom.xml
149                    rebuild_me: 1
150            module:
151                html_head:
152                    label: HTML Head
153                banner_header:
154                    label: Banner Header
155                banner_footer:
156                    label: Banner Footer
157                sidebar:
158                    label: Sidebar
159            widget:
160                elsewhere:
161                    label: Find Authors Elsewhere
162                actions:
163                    label: Recent Actions
164            widgetset:
165                2column_layout_sidebar:
166                    label: 2-column layout - Sidebar
167                    widgets:
168                        - Find Authors Elsewhere
169upgrade_functions:
170    enable_existing_streams:
171        version_limit: 9
172        updater:
173            type: author
174            label: Enabling default action streams for selected profiles...
175            code: $ActionStreams::ActionStreams::Upgrade::enable_existing_streams
176    reclass_actions:
177        version_limit: 15
178        handler: $ActionStreams::ActionStreams::Upgrade::reclass_actions
179        priority: 8
180    rename_action_metadata:
181        version_limit: 15
182        handler: $ActionStreams::ActionStreams::Upgrade::rename_action_metadata
183        priority: 9
184upgrade_data:
185    reclass_actions:
186        twitter_tweets:      twitter_statuses
187        pownce_notes:        pownce_statuses
188        googlereader_shared: googlereader_links
189    rename_action_metadata:
190        - action_type: delicious_links
191          old:         annotation
192          new:         note
193        - action_type: googlereader_links
194          old:         annotation
195          new:         note
196profile_services: services.yaml
197action_streams:   streams.yaml
Note: See TracBrowser for help on using the browser.