1.0.1 • Published 6 years ago

ember-blog-rss-feed-timeline v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

ember-blog-rss-feed-timeline

An ember add-on that adds a component to place an embedded timeline of a blog's RSS feed.

Inspired by the embedded timeline offered to the WordPress.com community: https://developer.wordpress.com/2014/01/30/embed-wordpress-com-or-jetpack-blogs-on-other-websites-with-timelines/

Installation

  • npm i --save ember-blog-rss-feed-timeline

Example / Integration

Simply embed the component within a template in your ember application. At a minimum, you must pass a JSON object to the items property on the component. You may use the fast-xml-parser or any XML parser to convert the XML to JSON.

{{blog-timeline
  title='My Example Blog'
  subtitle='An example of how to use the Ember Blog RSS Feed Timeline'
  moreText='Continue reading...'
  length=400
  limit=5
  items=model.blogFeed.rss.channel.item
}}

Recommended

Running

Building

  • ember build