2012-01-30 16:05, Tim W wrote:
> I want to prepare a correctly formatted template for a monthly calendar
> of events so that I can just paste it into the right page on my site
> every month. Have just tried to do it with Kompozer - what a foul up!
> and will try MS Excel next but it occurs to me there might be a good
> little standalone wysiwyg table editor which would generate good html.
I had to check out the current version Kompozer to confirm that you are
right: it wants to add align and valign attributes to each cell (which
is fine in some cases but surely not always). On the other hand, does it
really matter? It's not code that you will _read_ often, is it?
But the task sounds like suitable for a simple generating program rather
than an editor issue. Something that has existed for ages in Unix as the
'cal' program, though it generates plain text:
% cal
January 2012
S M Tu W Th F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
For example
http://freehtmlcalendar.com doesn't look bad, though it
creates a bit too much markup and it does not do localization by the
book (well, not by *my* book at least), but it's useful and fairly
easily modifiable if you know a little bit of JavaScript.
--
Yucca,
http://www.cs.tut.fi/~jkorpela/