We've had a couple of undocumented easter eggs in the API.

The first is ability to render remote restructuredText resources which are available on the web, using any of the formats and stylings available at rst2a. You can do this by passing the location of the document to the 'uri' argument in the rendering API.

open.crngames.com publish games for you to use freely under a few easy terms. They use restructuredText to generate their documentation.

You can use rst2a to create alternate views for these documents. Try these out:

Or create an on the fly pdf document, for the Django tutorial:

The other new addition to the API is the ability to check a document's syntax:

It returns a JSON list with an item for every issue encountered in the document, or an empty list, if the document's syntax is good. We'll add cross domain support for this call soon.

Check out the API documentation and have fun!

Oh, and please send us some styles if you have 'em. We could really use more styles to make this interesting.

2 Comments

Subscribe to comments

 #1

oubiwann - 18th September, 2007 at 9:22 p.m.

Nice work guys! Fantastic tool. I'll be looking at this more... possibly with a blog post with a thumbs up and encouragement for readers to check it out :-) I had an issue getting the pdf to generate a few minutes ago; will try it again in a few more days.

 #2

Andy Gayton (cablehead) - 19th September, 2007 at 1:29 p.m.

Duncan?, How are you man? :) That would be very cool. - If you are still having an issue let us know. There's a contact address at the top of the API page.

Post a comment