Develop a JS script to analyze and extract keyword from webpage

Closed Posted Jul 28, 2015 Paid on delivery
Closed Paid on delivery

We are looking for a long term, part time programmer.

This will be a paid screening task, based on the results we will decide whether to continue and hire you on a part time basis.

Short Description -

We are looking to create a Client Side JavaScript code that will do the following.

The script will extract all the texts (based on rules) from the page and send them to our server, the server will send back a list of queries (keywords / phrases) that we would like to turn into a Hyper Link and mark with a double underline (with some rules as well).

The code should be as light weight and fast as possible, and must support most browsers specifically (Chrome, FireFox and Explorer)

*Please notice that the server side is already fully coded and ready to use.

For writing purposes we use Mark = turn into a hyperlink with double underline

Query = either a single word (Keyword) or a number of words together (Phrase)

Keyword - example - Director, Sales, Java

Phrases - example - Director of sales, Java Developer, Experienced Nurse

Long Description –

--- Important notes ---

1. The code must not use the innerHTML function

2. The code must support multiple languages including but not limited to : English, French, German, Japanese, Chinese.

3. The code should be as light weight and fast as possible, the user should not feel as if the browser is stuck or waiting.

4. The code must support most browsers, specifically these must be supported: Chrome, FireFox and Explorer.

--- Sending the Text to the Server ---

5. When sending the text to the server, send it in an efficient way, with minimal text, for example you should not send texts that are located within tags (As described in bullet #6)

--- Getting results from the server ---

6. The server will send back a list, in JSON format, with the queries that it has found within the text you sent over. Please notice that the queries will be arranged in order of importance.

--- Marking the queries within the page ---

7. Queries should be marked with a double underline and turned into a hyper link, please use the same font as the surrounding words within the paragraph.

8. You should never Mark Queries (keywords / phrases) that are located in the following tags: A, INPUT, TEXTAREA, SELECT, OPTION.

9. Each query should not be marked more than 2 times within the entire text, and not more than 1 time within each paragraph.

10. When Marking Queries (keywords / Phrases), the first query within any paragraph should always be marked, starting with the second query we want to make sure the page will not be over crowded, so within every paragraph from query 2 and onward check only mark it if the total amount of Marked words is smaller than or equal to X% of the total words within the Paragraph (x is an input).

10.1. Example – A paragraph has 50 words, and we have 2 queries out of the list that the server sent back to you that are found within this paragraph, the first query from the list (notice that the list is ordered by importance) should be marked no matter how big it is, as for the second query we do the following, assuming that the first query has 3 words and the second has 3 words as well, if X = 0.05 = 5% then we will not mark it, if X = 0.06 = 6% or higher then you should mark it.

* Please see a visual example within the attached file.

AngularJS CSS HTML5 JavaScript PSD to HTML

Project ID: #8160898

About the project

18 proposals Remote project Active Oct 6, 2015

18 freelancers are bidding on average $618 for this job

meet2amitvw

Let's discuss over freelancer Personal Message Box for the proper estimation of cost and time. I am myself developer so you will directly work with me. No mediators. No managers. No subcontractors. see my recent More

$721 USD in 10 days
(45 Reviews)
8.2
Paul142

A proposal has not yet been provided

$777 USD in 10 days
(220 Reviews)
7.1
siddhu1986

Hi, Experienced Web Developer. Good with PHP/MySQL/JS. I have read your project requirement and I can build the analyzer for you in Javascript. One question was, can JQuery be used as well? Looking forward to dis More

$333 USD in 5 days
(233 Reviews)
6.7
prashushinde9

I want to discuss this project with you further, let me know the best suitable time for you to schedule the meeting, Feel free to message me at any time, i used to be online 14 hrs in a day on this website so probably More

$793 USD in 15 days
(30 Reviews)
6.3
florinbacu

Propunerea nu a fost încă furnizată

$416 USD in 20 days
(31 Reviews)
6.0
mantislin

Hi sir, I am scraping expert, I have did too many similar projects, please check my feedback then you will know. Can you tell me more details? then I will provide demo data for you. Thanks, Kimi

$470 USD in 6 days
(61 Reviews)
5.6
techwelfare

Hello Let's explore the requirement and kindly let us know if you would like us to share our skills & experiences with previous development. thanks & Regards Moumita

$594 USD in 17 days
(53 Reviews)
6.0
AnilTejwani73

Hi, I am confident to deliver more than your expectation, if given a chance. Kindly have a look into my profile, and if it interests you, lets discuss more of the project. Thanks and Cheers.

$600 USD in 20 days
(37 Reviews)
5.5
navelsoft

Hi Employer, We have gone through the entire project details and requirement. There are few things that surely need clarifications on. So please start a chat discussion in freelancer message board so that we can More

$800 USD in 26 days
(23 Reviews)
5.0
shaibics

A proposal has not yet been provided

$555 USD in 10 days
(0 Reviews)
0.0
firstcodetech

FIRST CODE TECHNOLOGY has full-grown into a full-service promoting organization targeted on making integrated ways, intuitive technology and victory style work that manufacture meaning results and User Friendly Web Per More

$284 USD in 10 days
(0 Reviews)
0.0
ramasarma2633

A proposal has not yet been provided

$555 USD in 10 days
(0 Reviews)
0.0
utkarshsinghania

with 8+ years of deep diving into JavaScript, AJAX and web development in general, i have the experience and the skills to do this job.

$333 USD in 10 days
(0 Reviews)
0.0