Changeset 778
- Timestamp:
- 06/29/08 06:39:34 (21 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/ActionStreams/plugins/ActionStreams/doc/recipe-guide.txt
r777 r778 210 210 The `html_form` setting is a pattern in maketext format, making it easy to . Each replacement token is numbered. The first replacement token, `[_1]`, is always the name of the MT user whose action is being displayed. The next tokens represent the fields you specify in (in this case, `url` and `title`). 211 211 212 Note that the is HTML. The HTML will be returned verbatim when used with the `mt:StreamAction` tag. For display in the Movable Type application, the HTML is removed; del.icio.us links would be just the text "*Author name* saved the link *title*" without the hyperlink.212 Note that the result of formatting an action is, in fact, HTML. This markup will be returned verbatim when used with the `mt:StreamAction` tag. For display in the Movable Type application, the HTML is removed; del.icio.us links are the text "*Author name* saved the link *title*" without the hyperlink, for example. 213 213 214 214 ## Stream recipe option reference ## 215 215 216 Recipes describe how to collect and display users' actions on profile services. They are found in `action_streams` section of the registry, as sub-entries of sections the keys of which match the related services in `profile_services`.216 Recipes describe how to collect and display users' actions on profile services. They are found in the `action_streams` section of the registry, in sections named the same as the related service in the `profile_services` section. 217 217 218 218 The options you can set for action streams are: … … 220 220 ### `name` (required) ### 221 221 222 The name of the action stream. This is displayed to authors when they enter their profile service identifier andare given the option of collecting the stream.222 The name of the action stream. This is displayed to authors when they enter their profile service identifier, where they are given the option of collecting the stream. 223 223 224 224 ### `description` (required) ### … … 228 228 ### `fields` ### 229 229 230 The list of additional fields supported by actions of this stream. The standard fields are: 231 232 * `title` 233 * `url` 234 * `thumbnail` 235 * `identifier` 236 * `created_on` 237 * `modified_on` 238 239 You need not specify these fields. 230 The list of additional fields supported by actions of this stream. 231 232 Every stream already has a set of standard fields. You need only specify additional fields beyond these. The standard fields are: 233 234 #### `title` #### 235 236 The name of the page/asset/resource the action is about. 237 238 #### `url` #### 239 240 The web address of the page/asset/resource the action is about. 241 242 #### `thumbnail` #### 243 244 The web address (URL) of a thumbnail image of the page/asset/resource the action is about. 245 246 #### `identifier` #### 247 248 A string that uniquely identifies this action in its particular stream. 249 250 #### `created_on` #### 251 252 When the action was taken. This is *not* necessarily when the page/asset/resource the action is about was created; when a link is saved or a video is favorited, for example. 253 254 #### `modified_on` #### 255 256 When the action was last altered. Many actions occur only once and will never change, but some may (such as if the author changes the rating or tags for a saved link). Action Streams will update this timestamp automatically when the action object is changed. 240 257 241 258 ### `html_form` ### … … 279 296 ### `scraper` ### 280 297 281 The Web::Scraper recipe with which to collect action data. The recipeoptions for a Web::Scraper recipe are:298 The Web::Scraper recipe with which to collect action data. The options for a Web::Scraper recipe are: 282 299 283 300 #### `foreach` (required) ####
