Hi

I need a look over for a couple of perl scripts I wrote before I release them for general use.

I've wrote a bot/search engine that grabs URLs from bookmark files, spiders them and then puts the content into a seachable index. The script is designed to work as it's own server, not as a cgi program.

Right now I got it working with Mozilla, and Galeon, (should also work with old Netscape), and Opera.

It will be Licensed under the GPL, but it isn't for public use yet. I need to make sure it is reasonably safe for general use before I give it out.

After the base is solid, I'm going to build into the framework a way to get these scripts to hook up with each other in a p2p scheme to share their search results over the web, but that isn't in this script.

The only requirement for the script to work is perl, it is all being done with IO::Sockets and a simple flat file algo because I wanted to keep dependencies low and the results snappy.
Linux/BSD/Mac version:> http://collectivemind.sourceforge.net/bookmark-server-linux.txt

Windows version:
http://collectivemind.sourceforge.net/bookmark-server-windows.txt

The main difference between the two is the fork()ing process I built into the linux version to managed the pid's.

If you are interested, all I am looking for is a look over to make sure the code is relatively safe, my main concern is the use of IO::Sockets and the open port the script requires.

Thanks for your time,
John
grumpyoldman@users.sourceforge.net


In reply to Need script review - bookmark bot/simple server/search engine by grumpyoldman

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.