volto-rss-block

3.0.0 • Public • Published

Volto RSS Block

RSS block for Volto.

From version 2.1.0 you can aggregate more than one RSS feed.

To be used with mrs-developer, see Volto docs for further usage informations.

This block needs a specific service to be installed on your Plone backend. See redturtle.rssservice.

Usage

If you're using Volto < 12, then use v1.2.0.

If you're using Volto < 16, then use v2.3.2.

If you're usign volto-rss-block > 2.0.0., the use redturtle.rssservice >= 0.1.1

Load this addon (see https://docs.voltocms.com/addons/#configuring-a-volto-project-to-use-an-addon).

You can add custom templates like this:

// src/config.js

import { rssBlock as customRssBlock } from 'volto-rss-block';

const rssBlock = {
  ...customRssBlock,
  templates: {
    ...customRssBlock.templates,
    card_without_image: {
      label: 'Card template with images',
      template: CardWithImageRssTemplate,
    },
    card_with_image: {
      label: 'Card template without images',
      template: CardWithoutImageRssTemplate,
    },
  },
};

Dependencies (1)

Dev Dependencies (2)

Package Sidebar

Install

npm i volto-rss-block

Weekly Downloads

39

Version

3.0.0

License

MIT

Unpacked Size

54.1 kB

Total Files

29

Last publish

Collaborators

  • pieronicolli
  • nzambello
  • lucabel
  • giuliaghisini
  • deodorhunter