Re: [PHP] Connect to Google

2012-02-16 Thread Marc Guay
Sort of off topic but here's a list of existing services (some of which are free) in case you don't want to reinvent the wheel. http://www.justfitstudio.com/articles/plagiarism-detection.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Connect to Google

2012-02-16 Thread Marc Guay
This is the first time I've been surprised that a Drupal module existed for something... http://drupal.org/project/authenticate -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Connect to Google

2012-02-16 Thread Matijn Woudt
2012/2/16 John Taylor-Johnston : > Can I use PHP to interface with Google? Any possible examples of this? There's Google Custom Search API: http://code.google.com/intl/nl-NL/apis/customsearch/v1/overview.html It interfaces in JSON, and PHP has json functions included since PHP 5.2. [1]. It's free

Re: [PHP] Connect to Google

2012-02-16 Thread Ashley Sheridan
On Thu, 2012-02-16 at 14:50 -0500, John Taylor-Johnston wrote: > I'm a top quoter. > I would parse the text first. Phrase by phrase, or phrase segments. > Then spit out a report. > > Marc Guay wrote: > > If that's not good enough, can you explain how you would like it to > > function? Would the

Re: [PHP] Connect to Google

2012-02-16 Thread Ashley Sheridan
On Thu, 2012-02-16 at 14:47 -0500, John Taylor-Johnston wrote: > Can I use PHP to interface with Google? Any possible examples of this? > > Let's start with the first step. :) > > I'm sure proprietary sites like http://www.compilatio.net/ for example > connects to search engines. They cannot be

Re: [PHP] Connect to Google

2012-02-16 Thread John Taylor-Johnston
I'm a top quoter. I would parse the text first. Phrase by phrase, or phrase segments. Then spit out a report. Marc Guay wrote: If that's not good enough, can you explain how you would like it to function? Would the whole paper be scanned phrase-by-phrase for matches and then spit out a report?

Re: [PHP] Connect to Google

2012-02-16 Thread John Taylor-Johnston
Can I use PHP to interface with Google? Any possible examples of this? Let's start with the first step. :) I'm sure proprietary sites like http://www.compilatio.net/ for example connects to search engines. They cannot be crawling the net too. That would be crazy. (I'm a top quoter. It's more i

Re: [PHP] Connect to Google

2012-02-16 Thread Marc Guay
> If you use the advanced search > tools you can choose "verbatim" and see if the exact phrase matches. Just correcting myself here, the way to do this is by simply wrapping the words in quotes "like this, hey now". The verbatim tool is something else. Marc -- PHP General Mailing List (http://w

Re: [PHP] Connect to Google

2012-02-16 Thread Ashley Sheridan
On Wed, 2012-02-15 at 21:56 -0500, John Taylor-Johnston wrote: > I'm a teacher. I want to use PHP to interface with Google and see if a > student has plagiarized. > > I don't see many open-source projects on the subject, so I want to > create my own script. > > How can I use PHP to interface w

Re: [PHP] Connect to Google

2012-02-16 Thread Marc Guay
> I'm a teacher. I want to use PHP to interface with Google and see if a > student has plagiarized. Hi. Why not just enter the suspected text into a search engine and see if any close matches come up? If you use the advanced search tools you can choose "verbatim" and see if the exact phrase matc