UNPKG
gatsby-source-rss-cat
Version:
latest (1.0.1)
1.0.1
1.0.0
this is a source plugin for gatsby to reed rss and provide them in categories
gatsby-source-rss-cat
/
dir
/
feed-node.js
8 lines
•
211 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
import
createNodeHelpers
from
'gatsby-node-helpers'
;
const
{ createNodeFactory } =
createNodeHelpers
({
typePrefix
:
`Rss`
});
const
FEED_TYPE
=
`FeedCat`
;
export
const
FeedNode
=
createNodeFactory
(
FEED_TYPE
);