elmah / Elmah

Error Logging Modules & Handlers for ASP.NET
https://elmah.github.io/
Apache License 2.0
306 stars 65 forks source link

Support RSS Version 2.0 or Atom 1.0 formats #322

Open atifaziz opened 8 years ago

atifaziz commented 8 years ago

What new or enhanced feature are you proposing?

To support RSS Version 2.0 or Atom 1.0 feeds.

What goal would this enhancement help you achieve?

Greater interoperability with the Syndication support built into .NET. Currently you are using RSS 0.91 which is not supported by System.ServiceModel.SyndicationFeed.

The main reason for doing this is so we can create an RSS aggregator of multiple Elmah RSS feeds.


Originally reported on Google Code with ID 322

Reported by ben@planetcloud.co.uk on 2012-12-21 13:03:36

atifaziz commented 8 years ago

Reported by @atifaziz on 2012-12-21 17:30:42

atifaziz commented 8 years ago

Please see http://code.google.com/r/ben-elmah-syndication/source/detail?r=686f6e84a8e7eb3dea375779d99c85a5ba7888d2.

I could not see a way to send a pull request on Google Code.

Both normal and digest feeds have been updated to create RSS 2.0 compatible feeds (both validated by w3c validator). Technically it would also be possible to create Atom feeds just by changing the formatter although I don't really see much benefit in doing this.

The standard feed now adds an RSS category for the exception type making it easy to filter errors using an RSS reader. In addition to this, both feeds set the generator to the Application Name making it possible to aggregate multiple feeds (our original requirement).


Reported by ben@planetcloud.co.uk on 2012-12-22 14:33:26

atifaziz commented 8 years ago

Appreciate the submission. For sake of backward compatibility (existing installations and clients), however, it would be best to keep RSS 0.91 default and provide RSS 2.0 as an alternative.


Reported by @atifaziz on 2012-12-28 23:49:20