Skip to content

Dummy RSS/Atom feed generator, for testing purposes

Notifications You must be signed in to change notification settings

paulkamer/fakenews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fake news generator

Serves HTTPS on port 8443. Generate a self-signed certificate with:

openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes

TODO

  • Add endpoints for semi-invalid responses
    • RSS response but with Atom header and vice versa
    • RSS response but with HTML header
  • Add endpoints for invalid responses
    • HTML (error page or whatever) returned as RSS
    • Malformed XML
  • Support Atom 1.0
  • Weird redirects
  • http -> https and vice versa
  • Responses with wrong/unexpected status codes