homepage Welcome to WebmasterWorld Guest from 54.196.62.132
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
Forum Library, Charter, Moderators: coopster & jatar k & phranque

Perl Server Side CGI Scripting Forum

    
Perl and robots
How do robot deal with html served by perl
Uzil




msg:3159745
 11:59 am on Nov 17, 2006 (gmt 0)

Hello everybody
I do not know is my question is in the right forum but here it is.
Do robots index the html content of a page when this page is generated by a perl script?
And do also robots follow links like:
http://example.com/cgi-bin/my-script.cgi?var=this&vars=that
?

[edited by: encyclo at 6:03 pm (utc) on Nov. 17, 2006]
[edit reason] switched to example.com [/edit]

 

perl_diver




msg:3160076
 6:02 pm on Nov 17, 2006 (gmt 0)

robots can be programmed to work differently, so some robots might index script generated pages and follow links and some might not.

phranque




msg:3162578
 4:31 pm on Nov 20, 2006 (gmt 0)

i would assume that a well-behaved robot would try to do a HTTP "GET" on the href value of every anchor tag.

crevier




msg:3181519
 4:53 pm on Dec 7, 2006 (gmt 0)

Robots can indeed behave differently for different URL patterns. But you can write your content so that there's no way for the requesting agent to have any idea how it was generated. I've developed many sites where all content is generated by perl scripts. But every URL is a directory URL (/blue/, /red/, etc). There is no ".html", no ".cgi", etc. This hides the underlying technology, which the agent doesn't need to be concerned about anyway. Could be Perl CGI, could be PHP, could be a flat HTML file. You don't need to know.

A simple example is if you use server-side includes for dynamic content. Your included script can display today's date, file contents, etc. But there's no way for the requesting agent to know that this happened.

Here's a good article written by Tim Berners-Lee many years ago about this topic: [w3.org...]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved