> for searching I recently coined up the following for such > static websites (without serverside logic and db etc.) to > avoid using clientside JavaScript (since recent browsers warn > too much the user against scripts): > > <form method="get" target="search" defaultbutton="submit" > action="http://www.google.com/search"> > <input class="button" alt="search" type="submit" id="submit" > name="submit" > value="Search"> > <input class="inputbox" alt="search criteria" type="text" > id="q" name="q" > size="20" value=""> > <input type="hidden" id="q" name="q" > value="site:YOUR_WEBPATH_HERE"> </form> > > where YOUR_WEBPATH_HERE is your domain or some subpart url of > your website (say your Documentation subfolder etc.)
Speaking of searching, I noticed that recent web browser have been using an OpenSearch or something to allow pages to offer to the user new search engine descriptions to add at their browsers. Google and some other engines seem to use the syntax: searcherpage?q=keyword1&q=keyword2 so maybe it's defined in that spec (?) See http://www.opensearch.org/Specifications/OpenSearch/1.1#OpenSearch_descripti on_document and for IE7: http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/external /overview/ie7_opensearch_ext.asp Posting in case someone wants to make a websearch component for Lazarus using Indy or something (not sure of Indy has such component itself) --- I've seen some websites use the concept of the user select a search provider too (not only browsers), so maybe the lazarus websites can use such concept too in the future ---------------- George Birbilis ([EMAIL PROTECTED]) Computer & Informatics Engineer Microsoft MVP J# for 2004-2006 Borland "Spirit of Delphi" ++ QuickTime, Delphi, ActiveX, .NET components ++ http://www.kagi.com/birbilis ++ Robotics ++ http://www.mech.upatras.gr/~Robotics http://www.mech.upatras.gr/~robgroup _____ avast! Antivirus <http://www.avast.com> : Outbound message clean. Virus Database (VPS): 0644-4, 31/10/2006 Tested on: 5/11/2006 8:48:19 ?? avast! - copyright (c) 1988-2006 ALWIL Software. _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
