Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!

 



Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!


Sponsored Content

 

 
 

Photo
- - - - -

Crawlability And Perl Includes


  • Please log in to reply
7 replies to this topic

#1 trynet

trynet

    HR 1

  • Members
  • Pip
  • 7 posts

Posted 16 August 2004 - 07:47 AM

Sorry if this one's been asked before. Looked around and couldn't find anything.

What, if any, negative impact is there on the ability for spiders (primarily googlebot) to successfully crawl a site when the navigation system is largely comprised of an include that refers to a .cgi Perl script?

The script itself contains normal link markup (proper use of Anchor element) and the use of Unordered List for the links structure. In fact, here is a chunk of the code that I am talking about:

#Contact
if ($ENV{DOCUMENT_NAME} eq 'contact.html') {print "<li class=\"nolink\">Contact</li>\n"; }
else {print "<li><a href=\"contact.html\">Contact</a></li>\n"; }

(The landing pages are all fixed URLs such as this one, contact.html).

My assumption is that what I am doing will have no negative impact and that the site will be able to be freely crawled after launch. But since I am in development let me get it right before I launch.

Thanks much for your time.

Bud

#2 Jill

Jill

    High Rankings Advisor

  • Admin
  • 32,315 posts

Posted 16 August 2004 - 07:54 AM

Welcome Bud! bye1.gif

When you view the source code from your browser do you see all the links fine? If so, it shouldn't be a problem. All SSI that I've seen works that way.

Jill

#3 trynet

trynet

    HR 1

  • Members
  • Pip
  • 7 posts

Posted 16 August 2004 - 08:23 AM

Links are definitely visible via browser. Thought my method would be ok.

Thanks Jill. Your Forum is extra-ordinary!!

Bud

#4 Jill

Jill

    High Rankings Advisor

  • Admin
  • 32,315 posts

Posted 16 August 2004 - 08:30 AM

Links are visible as <a href> links when you view the source code through your browser? (Not just viewing the page.)

#5 trynet

trynet

    HR 1

  • Members
  • Pip
  • 7 posts

Posted 16 August 2004 - 08:49 AM

Absolutely yes.

The source code comes out like this in the downloaded page:

<li><a href="contact.html">Contact</a></li>

Wouldn't be good any other way. Thanks for checking Jill!!

Bud

#6 BrianR

BrianR

    Is it just me, or is it getting cooler in the evenings...?

  • Members
  • PipPipPipPipPipPipPip
  • 1,621 posts
  • Location:Chester, UK

Posted 16 August 2004 - 02:06 PM

Welcome to the forum, Bud - hope you enjoy being with us.

BrianR

#7 trynet

trynet

    HR 1

  • Members
  • Pip
  • 7 posts

Posted 24 August 2004 - 10:17 AM

Thanks Brian.

From what I can tell I asked a reasonably good question. It wasn't just me doing all of the clicking!!

This is a great service to humanity and I will use it often. tongue.gif

Bud

#8 Scottie

Scottie

    Psycho Mom

  • Admin
  • 6,293 posts
  • Location:Columbia, SC

Posted 24 August 2004 - 10:23 AM

Welcome Bud! bye1.gif

Glad the forum is of use to you!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users