Jump to main content Jump to doc navigation

The 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

  1. Quip.Quip
    1. Quip.Quip.tplComment
    2. Quip.Quip.tplCommentOptions
    3. Quip.Quip.tplComments
    4. Quip.Quip.tplReport
  2. Quip.QuipCount
  3. Quip.QuipLatestComments
  4. Quip.QuipReply
    1. Quip.QuipReply.tplAddComment
    2. Quip.QuipReply.tplLoginToComment
    3. Quip.QuipReply.tplPreview
  5. Quip.QuipRss
  6. Quip.Upgrading
    1. Quip.Upgrading to 1.0.1

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

  • modmore
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • Chris Fickling
  • CrewMark
  • deJaya
  • Lefthandmedia
  • Murray Wood
  • eydolan
  • Following Sea
  • Anton Tarasov
  • Stéphane Jäggi
  • Raffy
  • Snow Creative
  • A. Moreno
  • Nick Clark
  • JT Skaggs
  • Helen
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

$301 per month—let's make that $500!

Learn more