From: Ashley Sheridan on
On Tue, 2010-07-06 at 19:56 -0400, Jack wrote:

> Hi Ashley,
>
>
> Yes, I would have to have a list or pass parameters to tell it a domain name, some key words and then gather the results.
>
> This is something similar to what Peter has posted and gives me a starting point I believe.
>
>
> My thought is I would email myself the current position ( on that day ) for my domain and I would then know if changes or content which are on the site are helping to improve that position as well as kind of a warning when it’s slipping down the returned results which would mean were going to loose traffic….
>
>
>
>
>
> Thanks!
>
> Jack
>
>
>
> From: Ashley Sheridan [mailto:ash(a)ashleysheridan.co.uk]
> Sent: Tuesday, June 29, 2010 1:09 PM
> To: Jack
> Cc: PHP
> Subject: Re: [PHP] Open Source SEO tool
>
>
>
> On Tue, 2010-06-29 at 13:02 -0400, Jack wrote:
>
>
> Hello All,
>
>
> Does anyone know of an open source tool for SEO that would check your
> positioning in the search engines and then email a result?
>
> Probably something that runs in cron and executes daily weekly etc?
>
>
>
> Thanks!
>
> Jack
>
>
>
> It sounds like a simple question, but it isn't really. What search terms do you want to check your positioning for? What locations (as many search engines are putting a bias on results by location now)
>
> Perhaps look at one of the visitor tracking solutions, which might be able to give you an idea of the search terms people have used to find your site, and then give the position based on that search? I know Googles own analytics software does this, although the results there are a little inaccurate.
>
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>
>
>
>
>
>


I've seen code for checking the page you are on in Google for a given
search term or string, but can't remember where I saw it, as it was a
couple of years ago. It wouldn't be too hard to string something
together than made a cURL call to a search engine for your search phrase
and searched the returned content for the domain. You could put a limit
of up to 20 pages or so on it to a script running on forever (if you
don't appear for that search phrase/term for example)

If you wanted to be clever, you could maybe even identify what result
number you were by using DOM functions on the returned HTML. Also, most
of the major search engines allow you to specify how many results per
page you want, so you might even be able to do it all with one cURL
request per search engine.

Thanks,
Ash
http://www.ashleysheridan.co.uk