We need someone to write a program that:
Opens a txt file and reads a line. The line contains a string. Typically the string will be an email address but not always. The string will be enclosed in angle braces like xml ??" the first < found on the line indicates the begin of the string (next character). The last > found on the line indicates the end of the string. The last character in the string is the character that precedes the last > in the line. If a line begins with a # or a double slash // then it should be ignored. Strings might contain non-human readable characters ??" these will be specified in the %xx format where xx is the hexadecimal value of the characters ascii code.
With each string, perform a web search for the string.
Inspect each search result for the string.
If the inspection is positive then write an output file that contains, the string, the URL that yielded the positive inspection and the text returned by the search engine that produced the result with the positive inspection.
A positive inspection is one where the string is matched exactly character for character except that case sensitivity shall / shall not be ignored. A user option must be provided that allows them to select this prior to application starting its processing.
If a search engine produces no hits for the string then the next search engine shall be used.
If a search engine produces results then a minimum of 1000 results should be inspected for the string.
Use the following search engines. Google, Bing, Yahoo for every string.
A second output file must be built with each run. It must contain a column with the number of positive inspections and a 2nd column with the search string.
Acceptance Criteria: A file with 10 strings will be provided after the bid acceptance. The application must produce the required output files with the correct data. We will verify the results by performing the operation manually and comparing the results. Must provide source code: C++, C# or php Delivery 1 week from start. We require 1 week for acceptance testing.