|
Author |
Topic: Post to Web? (Read 369 times) |
|
murray
|
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
|
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
|
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
|
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
|
|
|
|
|