Find Jobs
Hire Freelancers

245069 Quick mod to CGI script

N/A

Completed
Posted over 15 years ago

N/A

Paid on delivery
Hi there, thanks for looking at our project. We have a web site that has listings of cars and trucks for sale. Our search is composed of a basic CGI script, which searches a basic tab-delineated text flatfile database, and returns results into an HTML template. As an automotive website, we have recently realized that people type in the names of vehicles in different ways. For example, Ford makes a truck called the "F-150", and that's how these vehicles are written in our database. However, many people will type in "F150" when doing a search. What we need, therefore, is a mod to our CGI script that will check for certain instances, like the one above, and "rewrite" the query so it pulls up the appropriate matches in our database. So, every search would run through this quick check ... for example, if someone does a search for "Ford F150", the modification which you will make to the script would find "F150" on its internal "watch for" list, and change the string to the corresponding "correct" string, so that the query changes to "Ford F-150". Here are the strings we would need "watched for" and switched: input string "F150" becomes query string "F-150" input string "F250" becomes query string "F-250" input string "F350" becomes query string "F-350" input string "VW" becomes query string "Volkswagen" input string "CX7" becomes query string "CX-7" Does that make sense? The mod should be clearly commented, and should not affect any other part of the CGI search script's function. All it should do is watch for the above inputs, and change them as shown above. I am attaching the script itself so you can take a look. Please let me know if you have any questions. Thanks!
Project ID: 1991322

About the project

1 proposal
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello, I understand the requirements. Can do this today. Thank you. Ketan Kulkarni
$45 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Olympia, United States
5.0
101
Payment method verified
Member since Apr 8, 2005

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.