It's alive!

Saturday, January 18th, 2003 04:00 pm
robinturner: (Default)
[personal profile] robinturner
Well I am a happy Solri. I've managed to get my concordancing script woring and online. It's nothing spectacular, just a simple script that analyses a corpus of student essays and enables you to do a word count or concordance on an entered word or phrase, but what the hell, it's my first original (i.e. not standard form-fill stuff) Perl-CGI script, and I'm proud of it. It even has proper POD documentation too!

Planned features for the future:
  • Search terms printed in a different colour
  • Read filenames from the directory rather than listing them in the checkbox parameter
  • Search for and retrieve entire essays


You can check out the code here - I'll put up a link to where you can see it in action as soon as I'm sure there are no fatal security holes etc.. Suggestions for improvements would be welcome.
(deleted comment)

Date: 2003-01-19 03:20 pm (UTC)
From: [identity profile] solri.livejournal.com
Neyin postası?

Do you mean I should have a feature to mail the results back to the user? That would be pretty easy.
(deleted comment)

Date: 2003-01-20 05:15 am (UTC)
From: [identity profile] solri.livejournal.com
Normally this is one of the easiest features to do in Perl - you just read in the person's address with the other form data, put it in a variable like $recipient, then

print MAIL "To: $recipient\n";
print MAIL "Subject: Form Data\n\n";
print MAIL "whatever you want to send them ...

Of course you need to open the mail program first. There are lots of example form mailing scripts on the web.

Profile

robinturner: (Default)
Robin Turner

June 2014

M T W T F S S
      1
2345678
9101112131415
16171819202122
232425 26272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags