2.0.4 • Published 10 years ago

cortex-editorial-view v2.0.4

Weekly downloads
3
License
GPLv2
Repository
github
Last release
10 years ago

cortex-editorial-view

Simple view for Cortex apps to display editorial images from an XML feed.

Usage

{EditorialView} = require 'cortex-editorial-view'

view = new EditorialView 'http://example.com/feed.xml', opts
window.Cortex.view.register 'EditorialView'
view.run()

Configuration options

  • displayTime: View duration in milliseconds. Default is 7500 ms.
  • assetCacheTTL: Editorail image cache duration in milliseconds. Default is 7 days.
  • feedCacheTTL: XML feed cache duration in milliseconds. Default is 1 day.
  • feedCachePeriod: View will try to refresh the XML feed every feedCachePeriod milliseconds. Default is 30 mins.

Requirements

2.0.4

10 years ago

2.0.3

10 years ago

2.0.2

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago