durusmail: quixote-users: Htmltext and latin-1 characters
Htmltext and latin-1 characters
2006-05-10
Re: [Cheetahtemplate-discuss] Htmltext and latin-1 characters
2006-05-10
Re: [Cheetahtemplate-discuss] Htmltext and latin-1 characters
2006-05-11
Re: [Cheetahtemplate-discuss] Htmltext and latin-1 characters
2006-05-10
2006-05-11
2006-05-11
2006-05-11
2006-05-11
2006-05-11
2006-05-13
2006-05-13
2006-05-15
Re: Htmltext and latin-1 characters
2006-06-04
2006-06-06
2006-06-07
2006-06-08
Re: Htmltext and latin-1 characters
2006-06-05
2006-06-05
2006-06-05
Htmltext and latin-1 characters
Mike Orr
2006-05-11
On 5/10/06, David Binger  wrote:
>
> On May 10, 2006, at 5:15 PM, Mike Orr wrote:
>
> > Darn it, why didn't htmltext subclass str!!!  Peeking into the
> > htmltext implementation, it stores the actual value in an attribute
> > ...s:
>
> Have you looked at QPY?
> It is essentially PTL, except that the htmltext class,
> called "h8" in QPY, *is* a subclass of unicode.
> That's the main reason QPY exists.

I've looked at QPY but haven't used it much, mainly because I thought
you said it wasn't a good idea to mix PTL and QPY in the same program,
and Quixote uses
htmltext internally.  One of my goals for my Quixote refactoring
(which I haven't made any headway in; been working on SQL import
stuff) was to make a Quixote that use QPY instead of htmltext/PTL, but
that's not done yet.

I started wrote the program in PTL like my previous one, then my
project manager said he really wanted to be able to tweak the HTML and
preview it in a browser, so I switched to Cheetah, and just converted
the last PTL template last week.  But I have a library of small HTML
functions that still uses PTL.

--
Mike Orr 
reply