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_
   Suggestions
   Software Suggestions
(Moderator: fry)
   Export to web
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: Export to web  (Read 291 times)
kevin

WWW
Export to web
« on: Jul 15th, 2003, 11:40pm »

Hi there.
Just a small suggestion. The export to web function is nice n handy, however it doesn't export valid HTML at present. It'd be cool if it did.
 
If you want to change it then I've made the neccessary changes below, so it looks the same but it validates. I've marked the areas where you'd need specific attributes with a ***
 
In the future, it'd be useful to have this in one of the preferences file, so you could adjust it yourself, but that'd just be icing on the cake.
 
Thanks again,
 
- Kevin
 
Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html>
<head>
<title>***PROJECT_NAME : Built with Processing</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
 background: #666666;  
 color: #FFFFFF;
 font-family: :"Bitstream Vera Sans", 'Lucida Grande', Arial, Helvetica, Lucida, sans-serif;
 font-size: 80%;  
}
 
a {
 color: #CCCC00;
}
 
a:active {
 color: #999900;
}
 
a:visited {
 color: #CCCC00;
}
 
#content {
 width: ***PROJECT_WIDTHpx;  //e.g width: 400px;
 margin: auto;
}
 
-->
</style>
 
</head>
 
<div id="content">
 
<div id="applet">
<applet code="***PROJECT_NAME" archive="***PROJECT_JARFILE" width="***PROJECT_WIDTH" height="***PROJECT_HEIGHT">
</applet>
</div>
 
<p>
<a href="**PROJECT_SOURCEFILE">Source code</a>
</p>
<p>
Built with <a href="http://Proce55ing.net" title="The Proce55ing Homepage">Processing</a>
</p>
 
</div>
 
</body>
</html>
 
Pages: 1 

« Previous topic | Next topic »