florianeckerstorfer / gatsby-plugin-advanced-feed Goto Github PK
View Code? Open in Web Editor NEWGatsby plugin that generates RSS 2, Atom and JSON feeds for your site.
License: MIT License
Gatsby plugin that generates RSS 2, Atom and JSON feeds for your site.
License: MIT License
Hello there,
first up, thanks for creating this plugin! :)
There's a new version of jsonfeed, 1.1: https://www.jsonfeed.org/2020/08/07/json-feed-version.html
Would be great to have support for that.
Buuuut searching more before I submitted this issue, I saw that jpmonette/feed#139 is blocking this request probably, sorry ๐
If you use a path as part of the output filenames, such as:
output: {
rss2: '/foo/rss.xml',
atom: '/foo/atom.xml',
json: '/foo/feed.json',
},
This is handled well by this:
https://github.com/florianeckerstorfer/gatsby-plugin-advanced-feed/blob/main/src/gatsby-ssr.js#L26-L34
But not by this:
https://github.com/florianeckerstorfer/gatsby-plugin-advanced-feed/blob/main/src/gatsby-node.js#L39-L43
Resulting in feed.json
having:
"feed_url": "https://example.com//foo/feed.json",
(note the double slashes)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.