DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:processing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:processing [2010-08-25 15:24] – [processing plugin] 130.89.207.237plugin:processing [2023-10-30 22:55] (current) Klap-in
Line 1: Line 1:
-====== processing plugin ======+====== processing Plugin ======
  
 ---- plugin ---- ---- plugin ----
-description: +description: FIXME
 author     : Edwin Dertien  author     : Edwin Dertien 
 email      : mail@edwindertien.nl  email      : mail@edwindertien.nl 
 type       : syntax type       : syntax
 lastupdate : 2010-08-25 lastupdate : 2010-08-25
-compatible : 2005-09-22 and later. +compatible : 2005-09-22+ 
-depends    : geshi+depends    : 
 conflicts  : S5 conflicts  : S5
 similar    :  similar    : 
-tags       : javascript, processing, syntax highlight+tags       : !obsolete, javascript, processing, syntax highlight
  
-downloadurl:  http://github.com/downloads/edwindertien/dokuwiki-plugin-processing/processing.zip +downloadurl: https://github.com/downloads/edwindertien/dokuwiki-plugin-processing/processing.zip 
-bugtracker :  http://github.com//dokuwiki-plugin-processing/issues +bugtracker : https://github.com/edwindertien/dokuwiki-plugin-processing/issues 
-sourcerepo :  http://github.com//dokuwiki-plugin-processing/+sourcerepo : https://github.com/edwindertien/dokuwiki-plugin-processing
 donationurl:  donationurl: 
 ---- ----
 +
 +Processing module used by this plugin is discontinued and deprecated.
 +
 ===== About this plugin ===== ===== About this plugin =====
  
-[[http://processing.org|Processing]] is an environment that is widely being used for interaction design, interactive installations, graphic art, artistic programming, etc... A subset of functions of the processing environment has been ported to a single javascript file, which allows users to execute their code in a browser environment. +[[http://processing.org/|Processing]] is an environment that is widely being used for interaction design, interactive installations, graphic art, artistic programming, etc... A subset of functions of the processing environment has been ported to a single javascript file called [[http://processingjs.org|processing.js]], which allows users to execute their code in a browser environment. 
  
 This plugin parses processing(java) code to the [[http://processingjs.org|processing.js]] script (which for this plugin has been renamed 'script.js' to be compliant with the dokuwiki plugin format) and outputs the resulting java applet to the wiki, as well as the syntax highlighted sketch code. This plugin parses processing(java) code to the [[http://processingjs.org|processing.js]] script (which for this plugin has been renamed 'script.js' to be compliant with the dokuwiki plugin format) and outputs the resulting java applet to the wiki, as well as the syntax highlighted sketch code.
  
 +The plugin is pretty much a 0.0001 release. Some example sketches work, but by far not all of them. Also a number of extra features would increase usability tremendously. Any help or contribution is highly appreciated
  
 +==== Safety ====
 +
 +This plugin allows users to execute their own javascript within the wiki. Although the processing.js function set is pretty harmless (screen output, mouse capture, etc) executing user scripts can be vulnerable.
 ===== Download and Installation ===== ===== Download and Installation =====
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the URL given above. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ===== Syntax and Usage ===== ===== Syntax and Usage =====
  
-Using <processing> and </processing> a snippet of code is both highlighted and parsed trough to the Processing.js (included and renamed as script.js for plugin portability)+Using ''<processing>'' and ''</processing>'' a snippet of code is both highlighted and parsed trough to the Processing.js (included and renamed as script.js for plugin portability) 
 + 
 +See [[http://wiki.edwindertien.nl/doku.php?id=software:dokuwiki-processing-plugin]] for examples.
  
 The plugin syntax file: The plugin syntax file:
-<code php syntax.php>+<file php syntax.php>
 <?php <?php
 /** /**
Line 63: Line 72:
                      'name'   => 'Processing code Plugin',                      'name'   => 'Processing code Plugin',
                      'desc'   => 'Include processing code and embedded processing.js applet',                      'desc'   => 'Include processing code and embedded processing.js applet',
-                     'url'    => 'http://www.dokuwiki.org/plugin:tutorial');+                     'url'    => 'http://www.dokuwiki.org/plugin:processing');
  }  }
     function getType() {     function getType() {
Line 141: Line 150:
 } }
 ?> ?>
 +</file>
  
-</code>+===== Bugs, feature requests =====
  
 +  * The java-applet is not parsed into a slideshow (s5). Anyone hints in a direction how to start solving this?
 +  * giving the download-link at the top of the highlighted code using ''$renderer->code($match,"java","filename.txt"'' gives a 404 link. Anyone hints how to fix this?
 +  * make source collapsible
 +  * not every processing sketch can be executed. Is there a way to include the *.js sources on top of the page? 
 +  * check vulnerability?
  
plugin/processing.1282742652.txt.gz · Last modified: 2010-08-25 15:24 by 130.89.207.237

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki