Re: [OT] HTML to XHTML conversion

2002-08-25 Thread Adrian Howard


On Friday, August 23, 2002, at 04:54  pm, Jonathan M. Hollin wrote:

> [OFF TOPIC]
>
> I am trying to find a module that can convert HTML to XHTML, but have 
> drawn a blank on CPAN and GOOGLE.  Is there anything out there to do 
> this other than HTML TIDY?
[snip]
> If nothing exists along these lines - would anyone like to collaborate 
> on the development of a module for this purpose?  HTML::XHTML anyone?
>
Out of curiosity... why not tidy? It seems to do a pretty darn good job 
of it - I use it all of the time.

Adrian




Re: [OTish] Version Control?

2002-11-01 Thread Adrian Howard

On Friday, November 1, 2002, at 05:04  pm, Josh Chamas wrote:


Ged Haywood wrote:

Hi all,
On Thu, 31 Oct 2002, Iain 'Spoon' Truskett wrote:

experimenting with perforce [which, so far, appears nicer than CVS] )

Yikes!  Josh, you got anything to say about that?


Well I have used perforce much more than CVS now, so that is where
I'm most comfortable.

My basic feeling is that perforce is harder to set up, but more
idiot proof while using it, especially for more advance operations
like branching & integration.

[snip]

I've been playing with subversion a bit recently  and like it quite a lot. Bit harder to setup than CVS (but not that 
much harder if you're familiar with Apache et al.)

Seems solid (and is also free beer & free speech if these matter to you). 
Branches are cheap, directories are versioned, rename works as you would 
think. Worth a look.

Cheers,

Adrian



Re: development techniques

2003-01-11 Thread Adrian Howard

On Friday, January 10, 2003, at 12:07  pm, Mark Fowler wrote:


On Thu, 9 Jan 2003, Jim Martinez wrote:


Is there some way to improve this cycle : edit code -> refresh 
browser ->
possibly look at the error log -> edit code -> ...

No one seems to have mentioned WWW::Mechanize (or if they have I've 
missed
it.)  It's a simple module that allows you to interact with LWP like 
it's
a web browser (i.e. click on that link, enter these values into the 
form,
etc) abstracting away the actual parsing of the HTML.
[snip]

I second that suggestion. Very useful module. Especially since it's a 
subclass of LWP::UserAgent - giving it added power (e.g. set different 
user agents to test sites that server different things to different 
browsers).

Adrian



Re: must I use mod-perl

2003-07-13 Thread Adrian Howard
On Sunday, July 13, 2003, at 09:53  pm, Oskar wrote:

Install it if you have a lot of time. It took me week to config it and 
month
for rewritting scripts.
YMMV of course.

My first mod_perl installation took less than a day. If you're familiar 
with compiling Apache and apache modules it shouldn't take much longer 
than that. Tuning may take a bit longer and depends on the application.

All the code I was interesting in running under mod_perl ran 
immediately under Apache::Registry or Apache::PerlRun. No script 
rewriting necessary. This gave an immediate and significant performance 
boost.

The code had no automated tests so it took a couple of days to verify 
that it was working correctly - but that had nothing to do with 
mod_perl.

The time taken to rewrite scripts to be "pure" mod_perl handlers 
depends on the scripts themselves. If you have a good modular code it 
can be trivial.

Adrian