FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   Post to Web?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Post to Web?  (Read 369 times)
murray

geemurray WWW Email
Post to Web?
« on: May 9th, 2003, 8:07pm »

What is the function of post to web? I pressed it and something happened, it appeared, but where? ?
 
-George Murray
 
pollux

WWW Email
Re: Post to Web?
« Reply #1 on: May 10th, 2003, 1:39am »

well, you may mean Export to Web command. if so:
 
Suppose you have a sketch called "mySketch". When you either press the "Export to Web" button, or call the command from the File menu, P5 creates a folder inside your sketch folder ([P5 path]/sketchbook/default/mySketch) called applet, which you can post to the web.
 
the created applet folder contains several files:
 
- index.html file, which has an call to your applet, and actually shows it.
- mySketch.jar, which contains all the data and the slasses used by your applet.
- mySketch.class, which is your applet's class
- mySketch.java, which has your sketch source code, and is linked from the index.html in the "Source Code" link
 
note that if you have defined classes inside your sketch, you may encounter files such as  
- mySketch$[class_name].class
 
in order to publish it to the web, you may ftp the folder to your website, changing the name of the applet folder and/or the index.html file to something more significative. the rest of the files are not to be renamed, unless you know what you're doing.
 
that's all, i think. hope it helps you.
-----
note: the names inside square brackets [] are just a reference, and meant to be substituted with real paths/real names.
« Last Edit: May 10th, 2003, 1:41am by pollux »  

pollux | www.frwrd.net
murray

geemurray WWW Email
Re: Post to Web?
« Reply #2 on: May 10th, 2003, 3:42am »

actually it created the needed files to post to web in my project folder /applet  
 
I'm running 0053 alpha windows version.
 
Martin

122417302122417302martingomez_listsmg1ph WWW Email
Re: Post to Web?
« Reply #3 on: May 10th, 2003, 4:45pm »

hello murray,
 
welcome to the processing community.
 
post to the web isn't there yet but i think it would be a good idea to have that feature.
 
0053 has quite a number of bugs. pls download 0054
 
cheers,
martin
 
Pages: 1 

« Previous topic | Next topic »