QuipRss
Last updated Apr 6th, 2019 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn moreThe QuipRss Snippet¶
QuipRss is an assistance snippet for Quip that can be used to quickly show the latest comments on a thread, by user, or across the site in an RSS format.
Usage¶
To grab the latest 5 comments:
[[!QuipRss]]
To grab the number of comments on a thread:
[[!QuipRss? &type=`thread` &thread=`mythread`]]
To grab the number of comments by a user with username 'jb2009':
[[!QuipRss? &type=`user` &user=`jb2009`]]
Available Properties¶
Name | Description | Default Value |
---|---|---|
type | The type of mode to call QuipCount in. Either "all", "thread", "family" or "user". | all |
thread | If in thread mode, the thread to count comments from. | |
user | If in user mode, either the User's ID or username. | |
family | If in family mode, a string contained in the thread's name. | |
tpl | The chunk to use for each comment. | quipRssComment |
containerTpl | The chunk to use to wrap the comments in. | quipRssContainer |
limit | The number of comments to grab. | |
start | The starting index of latest comments. | 0 |
stripTags | Whether or not to strip html tags in the comment. | true |
bodyLimit | The number of characters in the comment link before it is truncated and an ellipsis is added. | 30 |
rowCss | The CSS class to put on each row. | quip-latest-comment |
altRowCss | The CSS class to put on alternate rows. | quip-latest-comment-alt |
Examples¶
Get the latest comments in thread "thread32", with a body limit of 100 characters:
[[!QuipRss? &type=`thread` &thread=`thread32` &bodyLimit=`100`]]
Get the latest 10 comments for user mikegeorge
:
[[!QuipRss? &type=`user` &user=`mikegeorge` &limit=`10`]]
Get the latest 20 comments for all threads beginning with 'blog-post':
[[!QuipRss? &type=`family` &family=`blog-post` &limit=`10`]]
See Also¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn more