Serchilo:User commands
From Serchilo
Registered Users may define their own personal user commands. They are only accessible from http://[username].serchilo.net.
Contents |
[edit] Defining user commands
Suppose your user name is Example and you want to use the keyword g not for Google, but for searching the archive of GEO.de. Just put the following on your user page, e.g. User:Example:
<command>
keyword = g
url = http://geo.de/GEO/info/suche/?q={%query}
</command>
Use the known Command syntax, without the language attribute. All your user commands will use the language which you have saved in your preferences.
[edit] Accessing user commands
Your user commands are now accessible on http://example.serchilo.net. If you type in g berlin, you won't search Google but Geo.de.
[edit] Using user commands
[edit] Personalized train timetables
User commands can be used for personalized train timetables. Suppose you're living in Hamburg. Put this command on your user page:
<command>
keyword = db>
title = DB-Auskunft von Hamburg
url = http://reiseauskunft.bahn.de/bin/query.exe/d?S=hamburg&Z={%Ziel|iso-8859-1}&start=1
</command>
Now you just need to type in db> münchen to get the next train from Hamburg to München.
[edit] Fast bookmarks
Do you live in Chicago and often visit its Yahoo weather forecast? Put this on your user page:
<command>
keyword = we
url = http://weather.yahoo.com/forecast/USIL0225.html
</command>
Now we takes you to the weather forecast. Or also http://example.serchilo.net/we.
[edit] Setup your language
Without user commands the language is determined by the subdomain, i.e. http://de.serchilo.net uses German. Using user commands from your own subdomain http://[username].serchilo.net you have to setup your language by yourself. Login to the wiki, go to Special:Preferences and change the language of the wiki interface. This will automatically change your Serchilo language.
[edit] More Examples
See some user pages for examples.

