Page 1 of 1

Time to change the HTML Tags > Blank Page?

Posted: Wed Sep 22, 2004 9:59 am
by seaktf
I'm using TextPad 4.7.3 already, and when I used the HTML Tags > Blank Page in the Clip library, I got this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE></TITLE>
<META NAME="Generator" CONTENT="TextPad 4.6">
......

There're two problems here:
1) It's still written "TextPad 4.6" instead of "TextPad 4.7"

2) The Doctype is still using HTML 3.2 !! IMO, it's time to adopt HTML4, even loosely. So I suggest using

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">

On the other hand, TextPad should help promote Unicode, so I suggest the following

<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE></TITLE>
......

Or at least, make one more tag called "Blank Page (Unicode)"

Posted: Wed Sep 22, 2004 10:49 am
by ben_josephs
You can edit "C:\Program Files\TextPad\Samples\htmltags.tcl" to create any clips you like.

Posted: Wed Sep 22, 2004 11:03 am
by MudGuard
You can edit your clip library entries to your own needs.

And if you have created a cool new clip library, you can send it to Helios so they can put it up on the Add-ons pages (http://www.textpad.com/add-ons/index.html).

There are already a few HTML clip libraries there, maybe you can find one that fits your needs ...

Btw., replacing HTML 3.2 by 4.0 is not so good an idea. Use 4.01 instead.

Posted: Wed Sep 22, 2004 4:19 pm
by seaktf
I know we could change the clip.

My message was probably not clear enough. I was suggesting to make changes to the *official* clip provided by TextPad.

As to 4.01 instead 4.0, yes, mea culpa. I mis-pasted an "old" one. Here you're:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">