As well as writing a Gauntlet remake, I've also managed to find time to write a webcrawler and search engine, which on the face of it is quite simple; it's just all the minor details that take the time. But hey, that's programming for you.
To add searching of your site to your site, simply add the following line to the HTML:
<script src="http://www.mysitesearcher.co.uk/mysitesearcher.js" type="text/javascript"></script>
You will probably be asking "What's the advantages over something like Google?". Good question, and I can think of 4 off the top of my head:
- Your site will be fully re-indexed at least every 6 hours. In fact, you can see exactly when your site was last indexed, plus how many words and URLs were read.
- This web crawler will also follow Javascript links.
- You can index just sub-directories. For example, if you place your searchbox at http://www.somedomain.com/mypages/mypage.html, only pages contained in http://www.somedomain.com/mypages (and its subdirectories) will be indexed, so you can search just your stuff.
- And, it's not Google, so you can have a clear conscience, safe in the knowledge that the Google-borg haven't absorbed you too.
More details are here.
No comments:
Post a Comment