Re: Re: Connect to Google
| From: | Matijn Woudt | Date: | Thu, 16 Feb 2012 22:28:13 +0000 |
| Subject: | Re: Re: Connect to Google | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316642@lists.php.net to get a copy of this message | ||
On Thu, Feb 16, 2012 at 10:56 PM, Maciek Sokolewicz
<maciek.sokolewicz@gmail.com> wrote:
> On 16-02-2012 03:56, 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 with Google and see if this text exists
>> on the internet?
>>
>> If this is possible, I need some ideas on how to parse the text and
>> input it into Google.
>>
>> Then I might like to get a percentage idea of how this text compares to
>> a site that Google has indexed.
>>
>>
>> $SampleText = "Lorem ipsum dolor sit amet, test link adipiscing elit.
>> Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc
>> iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet
>> at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis
>> luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget
>> metus. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla
>> nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo
>> vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus."
>>
>> John
>>
> Hi, why don't you use one of existing tools for this? Our university (and
> most universities, and apparently also schools, in the Netherlands) use(s)
> ephorus (www.ephorus.com). As a tool it works quite well and does exactly
> what you asked for.
>
> I'm not sure about the costs though, though they claim them to be very low.
>
> The site seems to be experiencing difficulties right now, hopefuly it'll be
> up soon again.
>
> - Tul
It seems they are not very reliable as their site is down now.. ;)