3 ms·
The key is to store the original, and to display the tohtml output. I'm kinda skeptical about embedding stuff from external sites; the more external dependenci
by perlgeek 15y ago
The key is to store the original, and to display the tohtml output.
I'm kinda skeptical about embedding stuff from external sites; the more external dependencies you have, the less reliable your own blog becomes.
- deleted 15y ago[deleted]
- olalonde 15y agoI guess he estimates that is is more likely for him to loose the original than for gist to shutdown.
- jlarocco 15y agoI had the same complaint and wrote a script to create static HTML from GitHub's Gists. I added the gist CSS rules to the rules for the WordPress theme I'm using, and now I can copy/paste the generated HTML into blog posts without fetching from GitHub. It requires Python3 and PyQt (to execute Javascript), so it's pretty heavy weight, but I have them installed anyway, so it's worked well for me. A brief explanation and the code is here: http://jlarocco.com/2011/12/22/static-gist-creator/ http://jlarocco.com/2011/12/22/static-gist-creator/ And just the code is here: https://gist.github.com/1513192 https://gist.github.com/1513192