Perl help needed
Okay, hello
I'm using a free perl script called keyword_search, and it works superb on my site. However I am now changing
my site, and require the search engine to read through .txt files instead of the current .shtml and .html files.
Now I am dumbfounded because I searched the 3 files of which the script it made out of, for the text "shtml" and "html" and couldn't find
where I could change those to "txt".
Thanks for any help you can do! The link to the 3 files is here:
http://www.movie-vault.com/helpme.zip
Tyler Cruz
ICQ: 53220887
AOL: movievaultcom
MSN: [email protected]
email: [email protected]
Tyler Cruz
m0dulus posted this at 15:54 — 30th July 2001.
They have: 84 posts
Joined: Jun 2001
Thanks for your help to anyone who tried it, a person in alt.perl helped me out though - turned out that i should of searched for htm, as the script used a regular expression, anyhow, thanks for trying!
Tyler Cruz
m0dulus posted this at 16:45 — 30th July 2001.
They have: 84 posts
Joined: Jun 2001
Okay, me again
I'm using a free perl script called keyword_search, and it works superb on my site. However I changed the script
to parse txt files instead of html. Now I only need two more changes, and it will be to what I want it.
First, I'd like it to output the link as http://www.movie-vault.com/cgi-bin/review.pl?$filenamehere
secondly, the script grabs the title link to link to, by taking whatever is between and , however since
i changed it to parse txt files, my files don't have a title tag. Intead, I'd like it to grab whatever is between
and .
Now I've tried changing that in the script, in the obvious place, but it output all the returned txt files and printed them all out.. odd..
however, my main concern is Step #1, if you can fix the second as well, that'd be a bonus, thanks.
Thanks for any help you can do! Here is the script:
http://www.movie-vault.com/helpme.zip (the .cgi file)
Tyler Cruz
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.