Componette

Componette

nexendrie

nexendrie / rss 0.10.0

Rss Channel Generator

download-cloud-line composer require nexendrie/rss
  • 0.10.0 Version 0.10.0

    Changelog:

    • raised minimal version of PHP to 7.4
    • used typed properties (possible BC break)
  • 0.9.0 Version 0.9.0

    Changelog:

    • BC break: RssChannelItem's constructor now accepts an array with all data
    • BC break: RssChannelItem cannot be changed once constructed now
    • added support for RSS extensions
    • marked RssChannelItem as final
    • raised minimal version of PHP to 7.3
  • 0.8.0 Version 0.8.0

    Changelog:

    • dropped support for Nette 2.4
  • 0.7.1 Version 0.7.1

    Changelog:

    • RssResponse now sets encoding
    • fixed values for <skipHours><hour>
  • 0.6.0 Version 0.6.0

    Changelog:

    • BC break: info about channel is now passed via parameter to Generator::generate/response()
    • added support for rating in channel
    • added support for categories in channel and items
    • raised minimal required version of nexendrie/utils to 1.3
    • events onBeforeGenerate and onAfterGenerate of Generator now get channel info as second parameter
    • prettified output of Generator::generate()
  • 0.7.0 Version 0.7.0

    Changelog:

    • fixed content type in RssResponse
    • added support for skipDays, skipHours, image, cloud and textInput in channel
    • raised minimal required version of nexendrie/utils to 1.4
    • RSSChannelItem now renders itself
    • added support for enclosures and source in items

    Now everything from specifications is supported. Future versions may include support for extensions and stricter validations.

  • 0.5.1 Version 0.5.1

    Changelog:

    • changed default time format to r
    • changed default value for docs
  • 0.5.0 Version 0.5.0

    Chagelog:

    • marked some classes as final
    • added events onBeforeGenerate, onAddItem and onAfterGenerate to Generator
    • allowed customization of RSS channel's template
    • BC break: Generator::generate() now returns string, RssResponse::__construct() now takes string as parameter
    • raised minimal version of PHP to 7.2
    • BC break: RssChannelItem::$pubDate has to be integer (timestamp) now
    • added support for language, copyright, managingEditor, webMaster, pubDate and ttl in channel
    • Generator now adds generator and docs to channel by default
    • added support for author, comments and guid in items
    • changed default time format to D, d M Y H:i:s
  • 0.4.0 Version 0.4.0

    Changes in dependencies:

    • raised minimal version of PHP to 7.1
    • added dependency on nexendrie/utils

    Changes:

    • callback for Generator::$dataSource now has to return Nexendrie\Rss\Collection (BC break)
    • title, link and description for Generator and all properties of RssChannelItem now has to be strings

    Improvements:

    • allowed setting lastBuildDate for channel
  • 0.3.0 Version 0.3.0

    New version is out. You can now set dateTimeFormat via Nette DI extension. Type of thrown exceptions in Generator were changed.

  • 0.2.0 Version 0.2.0

    Changelog:

    • added method Generator::response()
    • added extension for Nette DI
  • 0.1.0 Version 0.1.0

    Initial version.

bar-chart-fill

Statistics

download-cloud-fill
756
star-fill
2
bug-fill
0
flashlight-fill
1.2y
price-tag-2-line

Badges

guide-fill

Dependencies

php (>=7.2.0)
ext-simplexml (*)
ext-dom (*)
Componette Componette felix@nette.org