The reason why you see asp and php files listed at Yahoo et al is because, at their core, asp and php files are just plain 'ol HTML documents. Granted, they're special HTML files where the server does all kinds of mumbo jumbo before they go out to the browser, but they're still just HTML, and if they're called without any arguments they (generally) will give something back that's meaningful and, for the purpose of archiving, this default data is archivable and sortable by search engines.

Non-preprocessor CGI's (like those written in C, Perl, server-side Java, etc. etc.) aren't HTML files at all, they're executables that (generally) require some sort of specific input from the user to present something meaningful. That is, a Perl CGI often finds out what the user wants (and then displays something interesting) only after the user clicks/selects/types something interesting into a static HTML form. Now, spiders only follow links that are pre-set on webpages, and they aren't smart enough to fill out a form, so the plain old HTML form gets 'botted (a .html file) but the CGI behind it that's called when Submit is pressed is ignored.

Of course all this is overgeneralized. You can certainly write asp and php that require user input, and you can write a "static" site using .cgi Perl, but you get the idea.

If you're concerned that your new site gets properly 'botted just make sure there are nice fat hard-linked .html/.asp/.php files tying your site together. You probably do NOT want your dynamic content 'botted (the CGI stuff) because things like Google only archive sites once a month, and you probably don't want someone searching old inventory.

Hope this helps.

Gary Blackburn
Trained Killer


In reply to Re: Perl Scripts in search engines? by Trimbach
in thread Perl Scripts in search engines? by tanger

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.