Publish and prettify source directly from a url

If you’ve been following the various posts about publishing source code from gists, google apps script, scriptdb and so on, you may have realizes there was one missing link. Publishing source code direct from a url.

Something like the example below, embedded in an iFRame, will add source code to your site or blog.

http://xliberation.com/p/gaspubcontainer.html?source=web&module=http://xliberation.com/p/gaspubcontainer.html

This turned out to be a very small amendment to the previous capability, handled in the shared mcpher library, so if you have forked any of the code, you should not need to make any changes to get this extra capability. The parameter ?source=web means that the url given by &module=url is to be prettified and displayed. All the other display options mentioned for other sources are available too of course. For full details see the Excel Liberation site.

Author: brucemcp

Leave a Reply

Your email address will not be published. Required fields are marked *