<content> type from XHTML to HTML
This is to resolve the problem that we can generate markdown with named entities like ` `. These are valid in XHTML's DTD but because entities aren't namespaced they aren't valid in Atom documents, even within the XHTML namespace. The fix is to switch to the RSS style double-escaped HTML type for `<content>` blocks Another approach would be to used numeric entities instead, but since we allow users to type HTML entities we'd have to replace them too. That's a pretty large change for such a small problem. As a side effect of this approach, this means we also have to get rid of the "[23 comments]" label on Link's feed items because the double-escaping breaks the StringTemplate replacement
Greetings!
This is the primary codebase that powers reddit.com.
For notices about major changes and general discussion of reddit development, subscribe to the /r/redditdev and /r/changelog subreddits.
You can also chat with us via IRC in #reddit-dev on freenode.
Quickstart
To set up your own instance of reddit to develop with, we have a handy install script for Ubuntu that will automatically install and configure most of the stack.
Alternatively, refer to our Install Guide for instructions on setting up reddit from scratch. Many frequently asked questions regarding local reddit installs are covered in our FAQ.
APIs
To learn more about reddit's API, check out our automated API documentation and the API wiki page. Please use a unique User-Agent string and take care to abide by our API rules.
Happy hacking!
Issues and Contribution Guidelines
Thanks for wanting to help make reddit better! First things first, though: github issues is only for confirmed, active bugs. Please submit ideas to /r/ideasfortheadmins.
Please read more on contributions in CONTRIBUTING.md.