open-with-newsfeeder-btn

1.0.5 • Public • Published

Newsfeeder

Newsfeeder button, link your rss or atom feed with newsfeeder.

Install

npm i -S open-with-newsfeeder-btn

Usage

With a script tag:

https://unpkg.com/open-with-newsfeeder-btn/dist/open-with-newsfeeder-btn.min.js

With a bundler like webpack:

const renderNewsfeederButton = require('open-with-newsfeeder-btn');
// or
import renderNewsfeederButton from 'open-with-newsfeeder-btn';

Creating the button

renderNewsfeederButton({ 
    container: document.body, 
    href: 'https://esstudio.site/feed.xml' 
});

You don't have to specify the href if you're website has an rss or atom link hint. For example:

<link type="application/atom+xml" rel="alternate" href="https://esstudio.site/feed.xml" title="Echo Sierra Studio" />

Example of the "Open with Newsfeeder" button

License: MIT

Readme

Keywords

none

Package Sidebar

Install

npm i open-with-newsfeeder-btn

Weekly Downloads

6

Version

1.0.5

License

MIT

Unpacked Size

66.3 kB

Total Files

12

Last publish

Collaborators

  • afirus