Socket
Book a DemoInstallSign in
Socket

vue-rss-feed

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-rss-feed

A simple component to embed beautiful RSS feeds with Vuejs

0.2.4
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

vue-rss-feed

A simple component to embed beautiful RSS feeds with Vuejs

Demo

demo

Install

npm i vue-rss-feed

Usage

Import VueRssFeed in your component

import VueRssFeed from "../VueRssFeed.vue";
...
export default {
  name: "Demo",
  components: {
    VueRssFeed
  },
  data() {
    return {
      feedUrl: "https://rss.app/feeds/hmsyAr3PyniBpmOd.xml",
      name: "",
      limit: 5,
    };
  },
};

Then use it in your template

<template>
 <VueRssFeed :feedUrl="feedUrl" :name="name" :limit="limit"/>
</template>

Props

nametypedefaultdescription
feedUrlStringRSS Feed URL
limitNumber5Number of items to render
NameStringPass a name to replace feed title

Note

Due to CORS policy some RSS feeds can't be loaded in the browser. You can load RSS feeds from your own server to get around this.

License

MIT

Keywords

RSS

FAQs

Package last updated on 01 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.