I am wondering if there's a way to get the last post's revision source without these steps. Is there a more direct way?
- I need to ask the Stack Exchange API to give me the API site parameter
- I need to get revisions of current posts via the API
- I need to get that revision from
http://"+document.domain+"/revisions/"+revision_guid+"/view-source, and parse the response (jQuery
body field from
/revisions/ (in the second step) just gives HTML response, which is not what I'm looking for.
For those wanting to know WHY do I want to do this, it's because I want to show post source under the current post.