Re: Using Mathematica to create simple HTML webpages
- To: mathgroup at smc.vnet.net
- Subject: [mg110219] Re: Using Mathematica to create simple HTML webpages
- From: David Bailey <dave at removedbailey.co.uk>
- Date: Wed, 9 Jun 2010 07:19:18 -0400 (EDT)
- References: <hul89c$ici$1@smc.vnet.net>
On 08/06/10 12:07, Robert Wright wrote: > I have been playing with Mathematicas Export[ ] function in order to create a simple website and would be intereseted in others perspectives, tips and advice. > 1. Is the first tip don't do it? > 2. When I export to HTML the first thing I find is the formating for Grids and Columns disappears - the text is in the right place but the Frames have gone. Is there a fix? > 3. At first I was amazed at how well you could use a Insert Graphic to create a drawing board in which you could place text, graphics, equations etc. All easily positioned (with some patience) and with the ability to overlay stuff giving some nice arty effects - what i had not reaslised what the result would be output to HTML as a single GIF which means Hyperlinks in the text inserted into the graphic have stopped working. Worse still, the result is slow to load when you are new to the page - i guess the GIF size is the issue but you cant change resolution and probably wouldn't want to because it already looks a little grainy. > 4. There doesn't seem to be a way of creating something like a dropdown with options - is that correct? All the Mathematica controls are converted to GIFs. > 5. And, is there no way of creating the the equivalent of frames other than cheating again by puting the elements into separate graphics frames? > 6. My general impression is that Wolfram have set up some good basics but with gaps - so any idea what the future holds. Am I barking up the wrong tree and would webMathematica solve these problems? > Another option is to use OpenWrite and Write to create the html directly (it is an ordinary text file). Of course, this gives you complete control of the result, and often the extra work is not great. It also makes it possible to embed some text within an image (which can be useful if you want humans to read your email address, but not spam bots! David Bailey www.dbaileyconsultancy.co.uk