So having decided that the clustrmap really wasn’t that useful to me after all, I tried a WordPress plugin – WordPress.com Stats – instead. Whilst the details it provides are less public and less visual, they provide more conventional information, including search engine search terms. Those of you unfamiliar with the stranger workings of the web may be unaware of this, but when you visit Google etc and enter your search string, then click on a link, the site you visit is passed a copy of the search string you entered. As an aside, this is how when you entered say “pointless stuff” into Google, Ebay could have a sponsored link saying “get great deals on pointless stuff”. Ebay simply offered up their own search results page using the same search string when you clicked on that link. Ebay (or maybe it’s Google) have got smarter recently though and Ebay’s sponsored link only tends to appear if you enter an actual item as your search string, but the technique of passing the search terms across is still used.
Anyway back to the actual point of this post. The search terms that have led people here recently are things like “how to remove Windows Desktop Search” and “disable windows desktop search” and “connect prolog to actionscript in flash”. Yes someone really did type the last string into Google. This raises two questions in my mind: why? and how does that link to here?
To answer the second question, I entered the search string into Google myself and looked at what it linked to. Turns out I mention prolog, flash and actionscript in my first ever post. Bit of an anticlimax that one, I now see how it could link to my blog.
What about the “why” question? As I’ve mentioned before, I love prolog, but sadly there is no real-world use for it. Or so I thought. I guess there are some people out there that use it. I’m still amazed though that anyone would want to link it up to actionscript. This set me thinking though: could it be linked up to actionscript? The answer, somewhat surprisingly, is “yes”. The key is two bits of handy technology: P# and Spaghettisort Janus. The first is a prolog “compiler” that converts prolog code into C# code that can then by compiled up into an assembly. Janus is a “flash projector” that supports .NET. A projector let’s you link flash and application code together into a – in this case Windows – executable such that the actionscript can access application code as an extended set of “builtin” classes.
So should someone in the future want to connect prolog to actionscript, they’ll not only be directed here, they’ll get a proper answer too. Of course the reason why this person wanted to do it will likely remain a mystery and my guess is no one else will want to “connect prolog to actionscript in flash”, so the usefulness of all this is somewhat questionable. I don’t care though, I learned about P# though and may have to have a play with it at a later date. 🙂