https://github.com/mrmartineau/rsstojson
Simple API to convert RSS feeds to JSON
https://github.com/mrmartineau/rsstojson
Last synced: 3 months ago
JSON representation
Simple API to convert RSS feeds to JSON
- Host: GitHub
- URL: https://github.com/mrmartineau/rsstojson
- Owner: mrmartineau
- License: mit
- Created: 2021-11-16T09:26:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-12T08:14:01.000Z (over 3 years ago)
- Last Synced: 2025-02-05T09:16:59.175Z (4 months ago)
- Language: TypeScript
- Homepage: https://rsstojson.vercel.app
- Size: 6.84 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Once deployed, the API will be available at the following URL:
```
https://{YOUR_DOMAIN}/api/rss?url={RSS_FEED_URL}
```Example response from my blog's RSS feed: `https://zander.wtf/atom.xml`
```json
{
"title": "Zander Martineau's Blog",
"description": "Zander Martineau's personal site",
"link": "https://zander.wtf",
"generator": "GatsbyJS",
"lastBuildDate": "Tue, 11 Jan 2022 12:25:25 GMT",
"items": [
{
"title": "Announcing Code Notes",
"description": "Like a lot of developers I spend a lot of my time searching Google for answers to things that I should know how to do. For example, how to…",
"link": "https://zander.wtf/blog/code-notes-release",
"guid": "https://zander.wtf/blog/code-notes-release",
"pubDate": "Thu, 11 Jun 2020 00:00:00 GMT",
"content_encoded": "...",
"guid_isPermaLink": "false"
}
]
}
```It uses the [`rss-converter`](https://github.com/morx3x/rssConverter) library to convert the RSS feed to JSON and exposes an API to retrieve that response.
## Deploy to Vercel
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fmrmartineau%2Frsstojson)
---
## License
[MIT](https://choosealicense.com/licenses/mit/) © [Zander Martineau](https://zander.wtf)
> Made by Zander • [zander.wtf](https://zander.wtf) • [GitHub](https://github.com/mrmartineau/) • [Twitter](https://twitter.com/mrmartineau/)