Google shared items macro
This is a Velocity macro, which isn't bundled with any XWiki product by default.
Macro contributed by JeromeVelociter.
This macro cannot currently be downloaded separately.
Macro contributed by JeromeVelociter.
This macro cannot currently be downloaded separately.
GoogleReaderSharedItems Macro
Displays a clip with last $n google reader shared items of user with Id $userId. Title and color are customizables, and the original source of items can be displayed, or not.Usage
#sharedItems($userId $title $n $color $source)
Parameters definition
| Name | Optional | Allowed values | Default value | Description |
|---|---|---|---|---|
| userId | No | a string | none | The google reader user Id. Also works with the shared items Web page full URL (available clicking "Shared Items" on the top left menu in google reader) |
| title | Yes | a string | empty string (no title) | The title that will be displayed in the clip |
| n | Yes | an integer (or a string containing an number) | 5 | How many of the last shared items will be displayed in the clip |
| color | Yes | "none","black","gray","khaki","green","pink","slate","blue" | "none" | The color theme the clip will be wearing |
| source | Yes | true,false | false | Will the original sources of the items be displayed |
Example
#sharedItems("0771831010XXXXXXXXXX", "My RSS shared items", "3", "khahi", "true")
Result