Skip to content

rheajt/gatsby-source-rss

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gatsby-source-rss

Fork of the gatsby-source-rss plugin to allow for custom RSS fields.

Usage

Add the following to your gatsby-config.js

module.exports = {
  plugins: [
    {
      resolve: 'gatsby-source-rss',
      options: {
        rssURL: 'https://blog.jordanrhea.com/rss.xml',
        customFields: {
          item: ['tags'],
        },
      },
    },
  ],
};

Then, grab the data in graphql:

allRssFeedItem {
  edges {
    node {
      id
      youtube
      tags
      title
      content
      link
    }
  }
}

About

Gatsby source plugin for building websites using RSS feeds as a data source

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%