[ale] Konq + JS

Chris Fowler cfowler at outpostsentinel.com
Tue Mar 25 21:14:08 EST 2003


I'm not sure if that site is doing me much good.

I used wget to download the web page to a file.  Then I specifed
a local file to validate.  It complains that these things are not
present:

The HTTP Content-Type field.
The XML Declaration.
The HTML "META" element.

The Content-Type is set to text/html.  The server send this but wget
does not save it in the download file.

I tried to validate my home page at http://www.linuxiceberg.com
I get the same above errors.  The first thing in all my html files
is <html>.  Content and etc are sent by the web server.  Not embedded in
the files themselves.

Am I missing something?


On Tue, 2003-03-25 at 21:06, James Sumners wrote:
> For some unknown (to me) reason they have dropped the 'c' from their address:
> http://validator.w3.org/
> 
> On 25 Mar 2003 21:02:59 -0500
> Chris Fowler <cfowler at outpostsentinel.com> wrote:
> 
> > On Tue, 2003-03-25 at 20:45, Mike Lockhart wrote:
> > > 
> > >
> > 
> > I can not seem to find that host.
> > 
> > 
> > [cfowler at devel cfowler]$ ping validator.w3c.org
> > ping: unknown host validator.w3c.org
> > 
> > > also, you'll need the rel="" element inside the <script> tag.
> > 
> > So I need to tell konqueror hat javascript verion I'm using.  Any clues
> > as to what version it may be :)
> > 
> > 
> > > 
> > > - mike
> > > 
> > > On Tue, 2003-03-25 at 20:12, Chris Fowler wrote:
> > > > In my attempt to make a web site more universal browser friendly, I've
> > > > removed a majority of my java script code and allowed the CGI programs
> > > > to validate the froms.
> > > > 
> > > > However,  I'm still struggling with one page and I'm hoping some one
> > > > here might have some insight.  Below are two cuts to eliminate pasting
> > > > the whole page in this email.  The code in question is a collapsible
> > > > list.  What am I doing wrong?  Konq. does not even attempt to render the
> > > > collapsible list.
> > > > 
> > > > -- cut piece --
> > > > <head>
> > > > <LINK REL="stylesheet" href="../includes/styles.css" type="text/css">
> > > > <script type="text/javascript" src="ua.js"></script>
> > > > <script type="text/javascript" SRC="xbDOM.js"></script>
> > > > <script type="text/javascript" SRC="xbStyle.js"></script>
> > > > <script type="text/javascript" SRC="xbCollapsibleLists.js"></script>
> > > > <script type="text/javascript"><!--
> > > > function chgWindowStatus(message) {
> > > > 	window.status =message;
> > > > }
> > > > 
> > > > function init() {
> > > > 
> > > > 	var width = 180;
> > > > 	var height = 22;
> > > > 	var bgColor = "#FFFFD0";
> > > > 
> > > > 	var l = new List(true, width, height+5, bgColor);
> > > > 	l.setFont("<FONT COLOR='#000033' FACE='Arial,Helvetica'
> > > > SIZE=-1><B>","</B></FONT>");
> > > > 
> > > > 	l.addItem("<H3>&nbsp</H3>");
> > > > 	l.addItem("<h3><a href=../cgi-bin/pcommander.cgi target=main
> > > > style=text-decoration:none>Port Commander</a></h3>");
> > > > 
> > > > 	var ss = new List(false, width, height, "#FFFFD0");
> > > > 	ss.setFont("<FONT COLOR='white' FACE='Arial,Helvetica'
> > > > SIZE=-1>","<\/FONT>");
> > > > 
> > > > 
> > > > --- cut piece --
> > > > <body ONLOAD="init();return 1"  onresize="redo()">
> > > > 
> > > > _______________________________________________
> > > > Ale mailing list
> > > > Ale at ale.org
> > > > http://www.ale.org/mailman/listinfo/ale
> > > > 
> > > 
> > > 
> > > _______________________________________________
> > > Ale mailing list
> > > Ale at ale.org
> > > http://www.ale.org/mailman/listinfo/ale
> > 
> > 
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> 
> 
> -- 
> 
> All governments suffer a recurring problem: Power attracts pathological
> personalities. It is not that power corrupts but that it is magnetic to the
> corruptible. Such people have a tendency to become drunk on violence, a
> condition to which they are quickly addicted. 
> 
> Missionara Protectiva, Text QIV (decto)
> CH:D 59
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale


_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale





More information about the Ale mailing list