We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Using @@description@@ in applet.html
Page Index Toggle Pages: 1
Using @@description@@ in applet.html? (Read 1048 times)
Using @@description@@ in applet.html?
May 4th, 2005, 2:30am
 
Hey, I noticed a @@description@@ variable in the /lib/applet.html template. How can this be used?

I'm still playing with it to make it look like my website http://mkv25.net/.

Kind regards,
- Markavian
Re: Using @@description@@ in applet.html?
Reply #1 - May 4th, 2005, 2:49am
 
we oughta document this somewhere.. it's bured in the revisions file for rev 80 (not something i'd expect people to read to find out this info) but here's the info:

- when exporting an applet, you can now include a description in the
 applet text. the format is a javadoc comment, where the first line
 should contain /** and the final line */ so the following would work:
 /**
  * You can't rock Processing like I can rock Processing.
  */
 and that text would automatically be embedded in the exported html
 page. like a javadoc comment, the text can (and should) be any valid
 html since it's just gonna get embedded right in the page.
Re: Using @@description@@ in applet.html?
Reply #2 - May 4th, 2005, 2:57am
 
Ahh wonderful, thanks for the quick response. I've successfully outputed this page automatically based on the code and lib/applet.html

http://mkv25.net/applets/drawPointsToTarget_a2/

I originally looked on this page in the reference:
http://processing.org/reference/environment/index.html#Exporting
Reference > Environment > Exporting

Perhaps this is a place to put that information?
Re: Using @@description@@ in applet.html?
Reply #3 - May 4th, 2005, 2:57am
 
i've trying to figure out the best place to doc this. i can make an additional comment reference, but people won't find it there either. i'll put it in the environment reference as a note regarding exporting, but people won't find it there either. i have a plan to have all the distribution examples use this commenting syntax.
Page Index Toggle Pages: 1