{"id":8367,"date":"2010-03-08T09:27:38","date_gmt":"2010-03-08T09:27:38","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/run-this\/"},"modified":"2012-07-14T10:29:53","modified_gmt":"2012-07-14T10:29:53","slug":"run-this","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/run-this\/","author":5853440,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.2","stable_tag":"0.2","tested":"3.3.2","requires":"3.3.1","requires_php":"","requires_plugins":"","header_name":"Run This","header_author":"Emmanuel Delaborde","header_description":"","assets_banners_color":"","last_updated":"2012-07-14 10:29:53","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2736,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1214,4075,17005,13536,9309],"plugin_category":[],"plugin_contributors":[88472],"plugin_business_model":[],"class_list":["post-8367","plugin","type-plugin","status-publish","hentry","plugin_tags-code","plugin_tags-execution","plugin_tags-programming","plugin_tags-sample","plugin_tags-snippet","plugin_contributors-manu","plugin_committers-manudelab"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/run-this.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin lets your readers run snippets of code directly from your blog.<\/p>\n\n<p>Simply add a class \"run-this\" and a lang attribute to the PRE tag surrounding the code. \nThe lang attribute should have one of the following values : ada, assembler, awk, bash, bc, brainf**k, c, csharp, cpp, c99, clips, clojure, cobol, clisp, d, erlang, forth, fortran, go, haskell, icon, intercal, java, rhino, javascript, lua, nemerle, nice, ocaml, pascal, perl, php, pike, prolog, python, python3, r, ruby, scala, scheme, smalltalk, tcl, unlambda, vbasic, whitespace<\/p>\n\n<p>The code is sent over to <a href=\"http:\/\/ideone.com\/\">Ideone<\/a> to run; results (output, time and language implementation details) are displayed on your blog, in a table underneath the code.<\/p>\n\n<p>This plugin is free software released under the GNU General Public License.<\/p>\n\n<h3>Release Notes<\/h3>\n\n<ul>\n<li><p>This plugin depends on the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-syntax\/\">WP-Syntax plugin<\/a> being installed and activated.<\/p><\/li>\n<li><p>This plugin uses CORS to send the code source accross to a different domain, recent browsers should work fine (See <a href=\"http:\/\/en.wikipedia.org\/wiki\/Cross-origin_resource_sharing#Browser_support\">Browser support<\/a>)<\/p><\/li>\n<li><p>This plugin uses jQuery, which is also included in the plugin archive<\/p><\/li>\n<li><p>This plugin relies on Ideone web services API (http:\/\/ideone.com\/api)<\/p><\/li>\n<li><p>This is an alpha release, please send bug reports to runthis.plugin@gmail.com<\/p><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ul>\n<li><p>Unzip the plugin archive in the folder wp-content\/plugins.<\/p><\/li>\n<li><p>Activate the plugin in admin section.<\/p><\/li>\n<li><p>if you need a spinner different from the one bundled with the plugin, make your own at http:\/\/www.ajaxload.info\/, rename it spinner.gif and copy it into the plugin folder.<\/p><\/li>\n<li><p>You are ready to jazz up your code snippets !<\/p><\/li>\n<\/ul>\n\n<!--section=changelog-->\n<p><strong>0.2<\/strong> : start using CORS instead of a Flash proxy to do cross-domain queries.<\/p>","raw_excerpt":"This plugin lets your readers run snippets of code directly from your blog.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/8367","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=8367"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/manudelab"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=8367"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=8367"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=8367"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=8367"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=8367"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=8367"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}