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 (Filipiak, Bob (Contractor))
- Subject: [Javascript] How can search engines see a js include for navi gation?
- Date: Fri, 22 Mar 2002 11:14:21 -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.
------_=_NextPart_001_01C1D1BC.A044BA00
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Duplicate your navigation inside <NOSCRIPT></NOSCRIPT> at the bottom of =
your
include.js file. Then every page that includes it will also have the
<NOSCRIPT></NOSCRIPT>
=20
=20
=20
Bob Filipiak=20
(Contractor) =20
Microsoft=AE=20
C E R T I F I E D=20
Professional=20
-----Original Message-----
From: josh@xxxxxxxxx [mailto:josh@xxxxxxxxx]
Sent: Friday, March 22, 2002 11:06 AM
To: javascript@xxxxxxxxxx
Subject: [Javascript] How can search engines see a js include for
navigation?
Hello,
New to the list. My first post. Hi.
I'm building a site where I would like to use an include for my =
navigation.
I know how to do it but read about a caveat on this page:
http://javascript.about.com/library/weekly/aa102901a.htm
"Caveats
There are a couple of potential downsides to using this technique. =
First,
search engines do not process JavaScript, so any content written by =
your
scripts will not be indexed by a search engine. This can be a problem =
if
you are using the include file as your main way of providing site
navigation. Unless you provide another way for the search engine to =
see
your links, such as using the <noscript> tag, the search engine will =
not
follow your JavaScript generated links to subsequent pages."
Using the <noscript> tag seems to defeat the purpose of an include =
because
you'd have to put it on every page. So, how can I put my navigation in =
an
include that is still searchable? Another way in Javascript? SSI?=20
Links to resources for the solution are appreciated.
- Josh Draper=20
------_=_NextPart_001_01C1D1BC.A044BA00
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>How can search engines see a js include for navigation?</TITLE>
<META content=3D"MSHTML 6.00.2713.1100" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D223531116-22032002><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>Duplicate your navigation inside =
<NOSCRIPT></NOSCRIPT>=20
at the bottom of your include.js file. Then every page that =
includes it=20
will also have the =
<NOSCRIPT></NOSCRIPT></FONT></SPAN></DIV>
<DIV><SPAN class=3D223531116-22032002><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D223531116-22032002><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV> </DIV>
<P><B><FONT face=3DArial color=3D#0000ff size=3D2>Bob =
Filipiak</FONT></B> <BR><B><FONT=20
face=3DArial color=3D#0000ff size=3D2>(Contractor)</FONT></B> =
<BR><B><I><FONT=20
face=3DArial color=3D#000000 size=3D1>Microsoft</FONT><FONT=20
face=3D"Microsoft Sans Serif" color=3D#000000 =
size=3D1>=AE</FONT></I></B> <BR><FONT=20
face=3D"Small Fonts" color=3D#99ccff =
size=3D1> <U></U></FONT><U><B> <FONT=20
face=3D"Small Fonts" color=3D#99ccff size=3D1>C E R T I F I E =
D</FONT></B></U>=20
<BR><B><FONT face=3D"Small Fonts" color=3D#99ccff=20
size=3D1> </FONT></B><I> <FONT face=3D"Small =
Fonts"=20
color=3D#99ccff size=3D1>Professional</FONT></I> </P><BR>
<BLOCKQUOTE>
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> josh@xxxxxxxxx=20
[mailto:josh@xxxxxxxxx]<BR><B>Sent:</B> Friday, March 22, 2002 11:06=20
AM<BR><B>To:</B> javascript@xxxxxxxxxx<BR><B>Subject:</B> =
[Javascript] How can=20
search engines see a js include for=20
navigation?<BR><BR></FONT></DIV>Hello,<BR><BR>New to the list. My =
first post.=20
Hi.<BR><BR>I'm building a site where I would like to use an include =
for my=20
navigation. I know how to do it but read about a caveat on this=20
=
page:<BR><BR>http://javascript.about.com/library/weekly/aa102901a.htm<BR=
><BR>"<FONT=20
size=3D4><B>Caveats<BR></B></FONT><FONT size=3D5><FONT=20
face=3D"Times New Roman"><BR></FONT></FONT><FONT size=3D4>There are a =
couple of=20
potential downsides to using this technique. First, search =
engines do=20
not process JavaScript, so any content written by your scripts will =
not be=20
indexed by a search engine. This can be a problem if you are =
using the=20
include file as your main way of providing site navigation. =
Unless you=20
provide another way for the search engine to see your links, such as =
using the=20
<I><noscript></I> tag, the search engine will not follow your =
JavaScript=20
generated links to subsequent pages."<BR><BR>Using the =
<noscript> tag=20
seems to defeat the purpose of an include because you'd have to put =
it on=20
every page. So, how can I put my navigation in an include that is =
still=20
searchable? Another way in Javascript? SSI? <BR><BR>Links to =
resources for the=20
solution are appreciated.<BR><BR>- Josh Draper</FONT>=20
</BLOCKQUOTE></BODY></HTML>
------_=_NextPart_001_01C1D1BC.A044BA00--
- Follow-Ups:
- [Javascript] How can search engines see a js include for navi gation?
- From: josh@xxxxxxxxxxx
- [Javascript] How can search engines see a js include for navi gation?
- Prev by Date: [Javascript] How can search engines see a js include for navigation?
- Next by Date: [Javascript] How can search engines see a js include for navi gation?
- Previous by thread: [Javascript] How can search engines see a js include for navigation?
- Next by thread: [Javascript] How can search engines see a js include for navi gation?
- Index(es):