<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div>Hey,<br></div> A better idea I believe.<br></div>- Let's do crowdsourcing.<br></div></div><br>- <a href="http://example.com" target="_blank">example.com</a> has 'n' text fields.<br>

</div>- Based on probability(which we keep improving with study on URL 
patterns,which are not definite),we ask a user(with a pop up),whether 
that particular text field is "search".<br></div>- We embed the pop-up 
into the raw text,before html conversion.Now user can tell us which text
 field is actually the "search" engine for <a href="http://example.com" target="_blank">example.com</a>.<br>
</div>- We now generate a regular form for the search engine of <a href="http://example.com" target="_blank">example.com</a>(Mostly between <form> tags).<br></div>- We copy this into a central server(map to respective domain) and replicate to all users,who've <a href="http://example.com" target="_blank">example.com</a> in their auto-suggest addon list.<br>

<br></div>Over the course of the project,improvements can be made on URL patterns and embedding pop-up more definitely.<br><br></div>Problems :<br></div>-
 The search form which we want to stack,can generate dynamic 
content,while we'd like to save only static.This'll hamper personalized 
search.<br>
</div>- A js code might be embedded in the form,which takes cookies from
 remote function calls.Cookies might also be saved sometimes of a user.<br></div><div>- Search engines which need user authentication.In case of which session handling will get tougher.<br>
</div><div><br></div>An important part of the project will be to code generic form of a search engine url.<br><br><div>Thank You,<br></div><div>Sai Kiran Gorthi,<br></div><div>Btech CSD,<br></div><div>IIIT-H,<br></div>India.<br>
<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 19, 2013 at 10:40 PM, Saikiran Gorthi <span dir="ltr"><<a href="mailto:saikirangorthi@gmail.com" target="_blank">saikirangorthi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Hey Felipe,<br>
</div>  I'm a computer science undergraduate student from IIIT-H,India. <br></div>Just validate my idea :<br></div><br>
</div>First step :<br></div>- We need to group a user's frequently-visited websites.<br></div>- Bind an event to the addon,which gets triggered for any of the predefined URL.<br><br></div>Second step :<br></div>- Need to identify the search field.<br>

</div>- Search field is mostly "text" .<br></div>- We'll trigger a site with randomly generated string queries.Get the URLs(request object,string dictionary),match with it's respective queries and get the generic url regular expression(store them in the database).<br>

</div>- For each of the predefined url's we keep a count of these.When it crosses the threshold,we add to the suggestion list.<br></div><div>- When a user wants to search,we insert the search query within the delimiters of the expression.<br>

</div><div>- Manual intervention during the course of the project to study URL patterns really helps.<br></div><div><br></div>Problem :<br></div>- Websites have different text fields.Facebook has multiple search fields graph search,chat search.Need to distinguish those.<br>

</div><div>- Visual part of the auto-suggest alert.Not a big issue though.<br><br></div><div>Thank You,<br></div><div>Sai Kiran Gorthi,<br></div><div>Btech CSD,<br></div><div>IIIT-H,<br></div><div>India.<br></div></div>
</blockquote></div><br></div></div>