[greenstone-devel] Make GSDL HTML 4.01 valid

From Emanuel Dejanu
DateMon, 17 Jan 2005 07:04:28 +0200
Subject [greenstone-devel] Make GSDL HTML 4.01 valid
In-Reply-To (41E43C37-5020100-cs-waikato-ac-nz)
Hi,

I will like to see Greenstone be valid at least at HTML 4 level.
The best will be to make it XHTML valid but this can take more time.

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.greenstone.org%2Fcgi-bin%
2Flibrary

The most problematic case is with URI where we have & instead of &.
This require changes also in C++ source files from recpt directory.

Best regards,

Emanuel Dejanu

-----Original Message-----
From: Michael Dewsnip [mailto:mdewsnip@cs.waikato.ac.nz]
Sent: Tuesday, January 11, 2005 10:51 PM
To: Emanuel Dejanu
Cc: greenstone-devel@list.scms.waikato.ac.nz
Subject: Re: [greenstone-devel] Bug in ghtml

Dear Emanuel,

Quite right, thanks very much for reporting this. I have committed this fix
into CVS.

All the best,

Michael

Emanuel Dejanu wrote:

>Hi,
>
>I have found the following bug in function html2txt from perllib/ghtml.pm.
>
>$_[0] =~ s/<[^>]>//g if $_[1];
>
>should be
>
>$_[0] =~ s/<[^>]*>//g if $_[1];
>
>
>
>Best regards,
>
>Emanuel Dejanu
>
>
>
>_______________________________________________
>greenstone-devel mailing list
>greenstone-devel@list.scms.waikato.ac.nz
>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
>
>
>