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 auto-generated topic for spiefeed 1.0.0-pl by goldsky.

    Brief Description:

    CHANGELOG:

    • Fixed the missing assets/ folder in the transport package.
    • Edited the CSS path
    • Switch the snippet"s path as the MODX_CORE_PATH to fit the out-of-web-root core folder.
    • [#1] default tplPath is set to D:localhostmodx-revo-spiefeed/core/components/spiefeed/elements/chunks/
    • Added CHANGELOG.txt
    • Added the French translation

    The snippet based on SimplePie 1.2 which is already included in the package: http://github.com/rmccue/simplepie/downloads
    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
    • &tplOption: chunk name
      Default: defaultSpieFeedTpl
    • &rowClsOption: class name
      Default: spie-row
    • &firstRowClsOption: class name
      Default: spie-first-row
    • &lastRowClsOption: class name
      Default: spie-last-row
    • &oddRowClsOption: 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.