Changeset 778

Show
Ignore:
Timestamp:
06/29/08 06:39:34 (21 months ago)
Author:
mpaschal
Message:

edits
BugzID: 80159

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ActionStreams/plugins/ActionStreams/doc/recipe-guide.txt

    r777 r778  
    210210The `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`). 
    211211 
    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. 
     212Note 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. 
    213213 
    214214## Stream recipe option reference ## 
    215215 
    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`. 
     216Recipes 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. 
    217217 
    218218The options you can set for action streams are: 
     
    220220### `name` (required) ### 
    221221 
    222 The name of the action stream. This is displayed to authors when they enter their profile service identifier and are given the option of collecting the stream. 
     222The 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. 
    223223 
    224224### `description` (required) ### 
     
    228228### `fields` ### 
    229229 
    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. 
     230The list of additional fields supported by actions of this stream. 
     231 
     232Every stream already has a set of standard fields. You need only specify additional fields beyond these. The standard fields are: 
     233 
     234#### `title` #### 
     235 
     236The name of the page/asset/resource the action is about. 
     237 
     238#### `url` #### 
     239 
     240The web address of the page/asset/resource the action is about. 
     241 
     242#### `thumbnail` #### 
     243 
     244The web address (URL) of a thumbnail image of the page/asset/resource the action is about. 
     245 
     246#### `identifier` #### 
     247 
     248A string that uniquely identifies this action in its particular stream. 
     249 
     250#### `created_on` #### 
     251 
     252When 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 
     256When 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. 
    240257 
    241258### `html_form` ### 
     
    279296### `scraper` ### 
    280297 
    281 The Web::Scraper recipe with which to collect action data. The recipe options for a Web::Scraper recipe are: 
     298The Web::Scraper recipe with which to collect action data. The options for a Web::Scraper recipe are: 
    282299 
    283300#### `foreach` (required) ####