Source Code ASCII Art – WordPress Plugin

A plugin for WordPress that inserts selected ASCII art into your site’s source code at any specified template/action hook. It doesn’t affect your site’s speed, SEO, or anything else – but provides a fun surprise for anybody inspecting your source code.

 ,-------------.                           ,------. ,----------. ,----------. 
:  Information  |                         |  Demo  |  Download  |  Comments  ;
|---------------'-------------------------'--------'------------'------------|
|                                                                            |
|           _____                               ______          __           |
|          / ___/____  __  _______________     / ____/___  ____/ /__         |
|          \__ \/ __ \/ / / / ___/ ___/ _ \   / /   / __ \/ __  / _ \        |
|         ___/ / /_/ / /_/ / /  / /__/  __/  / /___/ /_/ / /_/ /  __/        |
|        /____/\____/\__,_/_/   \___/\___/   \____/\____/\__,_/\___/         |
|                                                                            |
|             ___   _____ ______________            ___         __           |
|            /   | / ___// ____/  _/  _/           /   |  _____/ /_          |
|           / /| | \__ \/ /    / / / /   ______   / /| | / ___/ __/          |
|          / ___ |___/ / /____/ /_/ /   /_____/  / ___ |/ /  / /_            |
|         /_/  |_/____/\____/___/___/           /_/  |_/_/   \__/            |
|                                                                            |
|                                                                            |
|               **********************************************               |
|               *               __           __              *               |
|               *  |  | _  _ _||__)_ _ _ _  |__)|    _ . _   *               |
|               *  |/\|(_)| (_||  | (-_)_)  |   ||_|(_)|| )  *               |
|               *                                   _/       *               |
|               **********************************************               |
|                                                                            |
|                                                ,                           |
|                         ,-.       _,---._ __  / \                          |
|                        /  )    .-'       `./ /   \                         |
|                       (  (   ,'            `/    /|                        |
|                        \  `-'             \'\   / |                        |
|                         `.              ,  \ \ /  |                        |
|                          /`.          ,'-`----Y   |                        |
|                         (            ;        |   '                        |
|                         |  ,-.    ,-'         |  /                         |
|                         |  | (   |            | /                          |
|                         )  |  \  `.___________|/                           |
|                         `--'   `--'                                        |
|                                                                            |
|                       "O hai ... i'z in ur src code"                       |
|                                                                            |
|                                                                            |
|     Source Code ASCII Art is a free plugin for WordPress that inserts      |
|    ASCII art in HTML comments into your source code. Select from dozens    |
|       of artworks, or insert your own. A quirky surprise for anybody       |
|               inspecting your HTML code! Original blog post »              |
|                                                                            |
|                             ,----------------,                             |
|                             |  See the Demo  |                             |
|                             '----------------'                             |
|                                                                            |
|                        ,--------------------------,                        |
|                        |  Click Here to Download  |                        |
|                        '--------------------------'                        |
|                                                                            |
|          Share on Twitter  |  Share on Facebook  |  Post a Comment         |
|                                                                            |
|----------------------------------------------------------------------------|
|               Current Version: 0.1   |   Updated: 17-Jan-2011              |
|----------------------------------------------------------------------------|
:             by Joss Crowcroft (with help from this handy tool)             ;
`--------------------------------------------------------------------------'

Quick note on usage:

This plugin programmatically inserts an ASCII artwork (choose from pre-loaded, or insert your own!) at any specified ‘action hook’ in your WordPress theme – or alternatively, you can simply write <?php do_action('source_code_ascii_art');?> anywhere in your template files.

The next version will feature a load more ASCII artworks, along with the option to select a few of them and rotate at random. I’m also planning to release this for several other CMSs – most likely MODx, but also maybe Drupleh, Juhmoola and co. – if people enjoy using it!

It’s translation-ready, so if any enthusiastic foreign programmers would like to take a crack at doing the Denaakk’e-language version of the plugin, please let me know and I’ll include the relevant files on the next release.

Finally – please consider spreading the word and getting more people using it! Cheers

6 thoughts on “Source Code ASCII Art – WordPress Plugin

  1. Mike

    What would help in SEO would be a source code converter that changes ASCII to HTML in the wordpress source code. It is my understanding that a plugin such as this would greatly assist in page ranking within a very short time.

    Reply
  2. Laura

    I make my own ASCII art and would love to display it in my blog without saving it all to an image file first. I am looking at your plugin but not getting something right cause it isn’t working. Will keep trying and see if I figure it out. Thanks for working on this idea.

    Reply

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>