My favorites | Sign in
Project Home
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import wsgiref.handlers

from google.appengine.ext import webapp

from service import base
from service import mirror
from service import identica
from service import lastfm
from service import fact
from service import steps
from service import soccer
from service import stupid
from service import ticket
from service import unicode
from service import entity
from service import internet
from service import vary
from service import googlesets
from service import search
from service import connect
from service import isbn
from service import dwim
from service import whois
from service import speak
from service import py
from service import wolframalpha
from service import fourchan
from service import wow

uris = [
("^/$", base.Index),
("^/mirror(/.*?)?", mirror.Main),
("^/identica(/(.*?))?(/(.*?))?/?", identica.Main),
("^/lastfm(/(.*?))?(/(.*?))?/?", lastfm.Main),
("^/fact(/(.*?))?/?", fact.Main),
("^/soccer(/(.*?))?/?", soccer.Main),
("^/steps(/(.*?))?/?", steps.Main),
("^/stupid(/(.*?))?/?", stupid.Main),
("^/ticket(/(.*?))?(/(.*?))?/?", ticket.Main),
("^/internet(/(.*?))?/?", internet.Main),
("^/unicode(/(.*?))?/?", unicode.Main),
("^/entity(/(.*?))?/?", entity.Main),
("^/vary(/(.*?))?/?", vary.Main),
("^/sets(/(.*?))?/?", googlesets.Main),
("^/search(/(.*?))?/?", search.Main),
("^/connect(/(.*?))?/?", connect.Main),
("^/isbn(/(.*))?/?", isbn.Main),
("^/dwim(/(.*))?/?", dwim.Main),
("^/whois(/(.*))?/?", whois.Main),
("^/speak(/(.*))?/?", speak.Main),
("^/py(/(.*))?/?", py.Main),
("^/wa(/(.*))?/?", wolframalpha.Main),
("^/4chan/?", fourchan.Main),
("^/wow(/(.*?))?/?", wow.Main),
("^/.*$", base.NotFound)
]

def main():
wsgiref.handlers.CGIHandler().run(webapp.WSGIApplication(uris, debug=True))

if __name__ == "__main__":
main()

Change log

r163 by nsla...@tumbolia.org on Oct 13, 2009   Diff
added wow service
Go to: 
Project members, sign in to write a code review

Older revisions

r159 by lauri.love on Jun 6, 2009   Diff
rewrote the code. committed this time.
p2!b spunkup walling mah coeds
bizutches
r158 by ilzogoiby on Jun 5, 2009   Diff
added 4chan random image module
r154 by lauri.love on Jun 3, 2009   Diff
CHEECH FOR MAH CHONG ISSAH ALPHRAM
MCQUERYZOR
All revisions of this file

File info

Size: 1811 bytes, 62 lines
Powered by Google Project Hosting