Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.
/ rss-mock-server Public archive

Rails application to serve fake RSS and Atom feeds

License

Notifications You must be signed in to change notification settings

doerfli/rss-mock-server

Repository files navigation

Build Status

README

This application will create mock RSS and Atom feeds for testing purposes.

Run rails server to start the application. There is also a docker image available on DockerHub, use the docker-compose.yml for easy setup.

Once the server is up and running go to localhost:3000/feeds/randomfeed.rss to create a new rss feed (you may replace randomfeed with any id you like). New items will be added every 60 seconds by default. To create an atom feed, go to localhost:3000/feeds/randomfeed.atom

If you want a different interval, add the query parameter interval to the url. E.g. <host>:<port>/feeds/<somefeedid>.rss?interval=10

If you want a different number of items, add the query parameter items to the url. E.g. <host>:<port>/feeds/<somefeedid>.atom?items=30