I created a plugin fetches all of the shows from the search engine, then fetches the top 100 episodes for each show as well as the data from the RSS feed. After the data is gathered for a show, it calls the Gatsby built-in function "createNode" to set things up for GraphQL.
I created a plugin fetches all of the shows from the search engine, then fetches the top 100 episodes for each show as well as the data from the RSS feed. After the data is gathered for a show, it calls the Gatsby built-in function "createNode" to set things up for GraphQL.
(Warning: ugly code ahead)
All of the data fetching and transformation happens here: github.com/codingblocks/tech-podca...