Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] How can search engines see a js include for navi gation?


  • From: javascript@xxxxxxxxxx (Carl Adler)
  • Subject: [Javascript] How can search engines see a js include for navi gation?
  • Date: Fri, 22 Mar 2002 16:50:22 -0500

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--MS_Mac_OE_3099660622_11102772_MIME_Part
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit

In short the answer is...Yes it can
Carl

From:  "josh@xxxxxxxxxxx" <josh@xxxxxxxxxxx>
Reply-To: javascript@xxxxxxxxxx
Date: Fri, 22 Mar 2002 22:45:47 +0100
To:  <javascript@xxxxxxxxxx>
Subject: Re: [Javascript] How can search engines see a js include for navi
gation?


Ok, so I'm getting the sense that it is not possible to do a Javascript
include for navigation that will also be understandable by a "user agent"
(i.e. the search engine can't follow the links)

Next question: can a user agent follow the links within navigation code
placed in an SSI? I'm not so familiar with SSI. Resources on implementing
this if it does in fact work?

- josh draper


on 22-03-02 19.39, Filipiak, Bob (Contractor) at filipiab@xxxxxxxxxxxxx
wrote:


Sorry.... I do the includes server side so the <NOSCRIPT> getssent to the
browser. 

If you have to worry about lynx and other non-scripting browsers then jsut
do every thing important server side and only use client side JavaScript for
cosmetic stuff that doesn't matter wherethere the visitor sees it or not.

It's been fun....so long!

Bob Filipiak 
(Contractor) 


-----Original Message-----
From: Hassan Schroeder [mailto:hassan@xxxxxxxxxxxxxx]
Sent: Friday, March 22, 2002 1:12 PM
To: javascript@xxxxxxxxxx
Subject: Re: [Javascript] How can search engines see a js include for
navigation? 

> "Filipiak, Bob (Contractor)" wrote:
> 
> AFAIK Even if the browser has JavaScript disabled the code still downloads.

OK, that didn't seem logical -- what would be the point? -- so I
tested it. 

Neither Moz0.9.7/Win nor IE5.5/Win with scripting off display the
<noscript> content from an external *.js file.

And more relevant to the question -- re' /search engines/ following
JS menu links -- Lynx doesn't see the <noscript> content either ...

So I'd bet there's a high probability that most search engines do
/not/ follow external JS references ...

> If the term "include" is being used as in
> 
>   <script type="text/javascript" src="mystuff.js"></script>
> 
> rather than a server-scripting-based include --
> 
> Why would a user agent that doesn't understand JavaScript follow a
> script source link to a file that has <noscript> tags in it? :-)

FWIW! 





--MS_Mac_OE_3099660622_11102772_MIME_Part
Content-type: text/html; charset="US-ASCII"
Content-transfer-encoding: quoted-printable

<HTML>
<HEAD>
<TITLE>Re: [Javascript] How can search engines see a js include for navi ga=
tion?</TITLE>
</HEAD>
<BODY>
In short the answer is...Yes it can<BR>
Carl<BR>
<BLOCKQUOTE><BR>
<B>From: </B>&nbsp;&quot;josh@xxxxxxxxxxx&quot; &lt;josh@xxxxxxxxxxx&gt;<BR=
>
<B>Reply-To: </B>javascript@xxxxxxxxxx<BR>
<B>Date: </B>Fri, 22 Mar 2002 22:45:47 +0100<BR>
<B>To: </B>&nbsp;&lt;javascript@xxxxxxxxxx&gt;<BR>
<B>Subject: </B>Re: [Javascript] How can search engines see a js include fo=
r navi gation?<BR>
<BR>
</BLOCKQUOTE><BR>
<BLOCKQUOTE>Ok, so I'm getting the sense that it is not possible to do a Ja=
vascript include for navigation that will also be understandable by a &quot;=
user agent&quot; (i.e. the search engine can't follow the links)<BR>
<BR>
Next question: can a user agent follow the links within navigation code pla=
ced in an SSI? I'm not so familiar with SSI. Resources on implementing this =
if it does in fact work?<BR>
<BR>
- josh draper<BR>
<BR>
<BR>
on 22-03-02 19.39, Filipiak, Bob (Contractor) at filipiab@xxxxxxxxxxxxx wro=
te:<BR>
<BR>
<BLOCKQUOTE><BR>
<FONT SIZE=3D"2">Sorry.... I do the includes server side so the &lt;NOSCRIPT&=
gt; getssent to the browser.</FONT> <BR>
<BR>
<FONT SIZE=3D"2">If you have to worry about lynx and other non-scripting brow=
sers then jsut do every thing important server side and only use client side=
 JavaScript for cosmetic stuff that doesn't matter wherethere the visitor se=
es it or not. <BR>
</FONT><BR>
<FONT SIZE=3D"2">It's been fun....so long!</FONT> <BR>
<BR>
<FONT SIZE=3D"2">Bob Filipiak</FONT> <BR>
<FONT SIZE=3D"2">(Contractor)</FONT> <BR>
<BR>
<BR>
<FONT SIZE=3D"2">-----Original Message-----</FONT> <BR>
<FONT SIZE=3D"2">From: Hassan Schroeder [mailto:hassan@xxxxxxxxxxxxxx]</FONT>=
 <BR>
<FONT SIZE=3D"2">Sent: Friday, March 22, 2002 1:12 PM</FONT> <BR>
<FONT SIZE=3D"2">To: javascript@xxxxxxxxxx</FONT> <BR>
<FONT SIZE=3D"2">Subject: Re: [Javascript] How can search engines see a js in=
clude for</FONT> <BR>
<FONT SIZE=3D"2">navigation?</FONT> <BR>
<BR>
<FONT SIZE=3D"2">&gt; &quot;Filipiak, Bob (Contractor)&quot; wrote:</FONT> <B=
R>
<FONT SIZE=3D"2">&gt; <BR>
&gt; AFAIK Even if the browser has JavaScript disabled the code still downl=
oads.</FONT> <BR>
<BR>
<FONT SIZE=3D"2">OK, that didn't seem logical -- what would be the point? -- =
so I <BR>
tested it. <BR>
</FONT><BR>
<FONT SIZE=3D"2">Neither Moz0.9.7/Win nor IE5.5/Win with scripting off displa=
y the</FONT> <BR>
<FONT SIZE=3D"2">&lt;noscript&gt; content from an external *.js file.</FONT> =
<BR>
<BR>
<FONT SIZE=3D"2">And more relevant to the question -- re' /search engines/ fo=
llowing</FONT> <BR>
<FONT SIZE=3D"2">JS menu links -- Lynx doesn't see the &lt;noscript&gt; conte=
nt either ... <BR>
</FONT><BR>
<FONT SIZE=3D"2">So I'd bet there's a high probability that most search engin=
es do</FONT> <BR>
<FONT SIZE=3D"2">/not/ follow external JS references ...</FONT> <BR>
<BR>
<FONT SIZE=3D"2">&gt; If the term &quot;include&quot; is being used as in</FO=
NT> <BR>
<FONT SIZE=3D"2">&gt; <BR>
&gt; &nbsp;&nbsp;&lt;script type=3D&quot;text/javascript&quot; src=3D&quot;myst=
uff.js&quot;&gt;&lt;/script&gt;</FONT> <BR>
<FONT SIZE=3D"2">&gt; <BR>
&gt; rather than a server-scripting-based include --</FONT> <BR>
<FONT SIZE=3D"2">&gt; <BR>
&gt; Why would a user agent that doesn't understand JavaScript follow a</FO=
NT> <BR>
<FONT SIZE=3D"2">&gt; script source link to a file that has &lt;noscript&gt; =
tags in it? :-)</FONT> <BR>
<BR>
<FONT SIZE=3D"2">FWIW!</FONT> <BR>
</BLOCKQUOTE><BR>
<BR>
</BLOCKQUOTE><BR>
</BODY>
</HTML>


--MS_Mac_OE_3099660622_11102772_MIME_Part--