We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11055 ☆ A M B ☆
    • 3,112 Posts
    This is an manual-generated topic for spiefeed 1.0.0-rc1 by goldsky.

    CHANGELOG:

    * Added [+description] and [+content] placeholders
    * Properties inside snippet.

    Brief Description:

    The snippet based on SimplePie 1.2 which is already included in the package.
    Basic call: [[!spiefeed]]

    Parameters

    • &setFeedUrl
      Default: http://feeds.feedburner.com/modx-announce | http://www.voanews.com/templates/Articles.rss?sectionPath=/russian/news
      Note: multiple urls should be split by pipe ( | ) symbols
    • &enableCache
      Options: 0 | 1
      Default: 1
    • &enableOrderByDate
      Options: 0 | 1
      Default: 1
    • &setCacheDuration
      Options: integers in seconds
      Default: 3600
    • &setCacheLocation
      Option: custom path
      Default: assets/components/spiefeed/cache
    • &setFaviconHandler
      Option: [[str favicon handler file]], [[query]]
      Default: [[str $page = false]], [[$qs = ’i’]]
    • &setImageHandler
      Option: [[str image handler file]], [[query]]
      Default: [[str $page = false]], [[$qs = ’i’]]
    • &setItemLimit
      Option: integer
      Default: null
    • &setJavascript
      Option: javascript query string parameter
      Default: js
    • &stripAttributes
      Option: attributes get stripped from an entry’s content
      Default: array(’bgsound’, ’class’, ’expr’, ’id’, ’style’, ’onclick’, ’onerror’, ’onfinish’, ’onmouseover’, ’onmouseout’, ’onfocus’, ’onblur’, ’lowsrc’, ’dynsrc’)
    • &stripComments
      Options: 0 | 1
      Default: 0
    • &stripHtmlTags
      Option: HTML tags get stripped from an entry’s content
      Default: array(’base’, ’blink’, ’body’, ’doctype’, ’embed’, ’font’, ’form’, ’frame’, ’frameset’, ’html’, ’iframe’, ’input’, ’marquee’, ’meta’, ’noscript’, ’object’, ’param’, ’script’, ’style’)
    • &dateFormat
      Option: PHP’s date()
      Default: ’j F Y, g:i a’
    • &localDateFormat
      Option: PHP’s strftime() of the posting in the localized language. setlocale() matters.
      Default: ’%c’
    • &getItemStart and &getItemEnd
      Option: integers
      Default: 0 and 0
    • &forceFSockopen
      Options: 0 | 1
      Default: 1
    • &setInputEncoding and &setOutputEncoding
      Option: http://simplepie.org/wiki/faq/supported_character_encodings
      Default: false and ’UTF-8’
    • &sortBy
      Options: by placeholders
      Default: date
    • &sortOrder
      Option: ASC | DESC
      Default: DESC
    • &tpl
      Option: chunk name
      Default: defaultSpieFeedTpl
    • &rowCls
      Option: class name
      Default: spie-row
    • &firstRowCls
      Option: class name
      Default: spie-first-row
    • &lastRowCls
      Option: class name
      Default: spie-last-row
    • &oddRowCls
      Option: class name
      Default: spie-odd-row
      Rico
      Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
      MODx is great, but knowing how to use it well makes it perfect!

      www.virtudraft.com

      Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

      Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

      Maintainter/contributor of Babel

      Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.