ember-blog-rss-feed-timeline

1.0.1 • Public • Published

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

  • fast-xml-parser (https://github.com/NaturalIntelligence/fast-xml-parser)
  • ember-browserify (https://github.com/ef4/ember-browserify)

Running

Building

  • ember build

Package Sidebar

Install

npm i ember-blog-rss-feed-timeline

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

7.5 kB

Total Files

11

Last publish

Collaborators

  • brandontksmith