1.3.12 • Published 20 hours ago

@roadiehq/backstage-plugin-home-rss v1.3.12

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
20 hours ago

RSS Home page plugin

A react component that renders a RSS feed as a homepage component. You can configure the plugin to point to a remote RSS feed and it will fetch that RSS feed and render it inside a card componenet.

Setup

If you didn't set up the HomePage plugin you can see the official documentation about it here. You'll need to have it setup to be able to include this plugin. Add the following componenet to your HomePage.tsx file. The HomePageRSS props are the following type.

yarn add @roadiehq/backstage-plugin-home-rss
export type RSSContentProps = {
  feedURL: string;
};

You will need to setup a proxy in order to bypass the CORs checks in the browser:

proxy:
  '/reuters-news-feed':
    target: 'https://www.reutersagency.com/feed'

Then you can add a card component to your Home Page.

// packages/app/src/components/home/HomePage.tsx
import { HomePageRSS } from '@roadiehq/backstage-plugin-home-rss';

export const HomePage = () => {
  return (
    ...
    <Grid item xs={12} md={6}>
        <HomePageRSS
            feedURL="http://localhost:7007/api/proxy/reuters-news-feed/?best-topics=tech&post_type=best"
            title="Reuters News"
            paging={false} // Optional. By default the paging is enabled, but it can be disabled
        />
    </Grid>
    ...
  );
};

Customization

It's also possible to customize each row in the RSS Feed table. You have to use the property rowRenderer. Check the default renderer as an example.

1.3.12

20 hours ago

1.3.11

1 month ago

1.3.10

2 months ago

1.3.9

2 months ago

1.3.8

2 months ago

1.3.5

5 months ago

1.3.4

6 months ago

1.3.3

7 months ago

1.3.2

9 months ago

1.3.1

10 months ago

1.3.0

10 months ago

1.2.14

11 months ago

1.2.12

11 months ago

1.2.13

11 months ago

1.2.9

1 year ago

1.2.10

1 year ago

1.2.11

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.2.2

1 year ago

1.2.1

1 year ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.1

2 years ago