Rushabh Mehta | 518533f | 2012-02-07 13:29:31 +0530 | [diff] [blame] | 1 | #!/usr/bin/python |
2 | |||||
3 | import cgi, cgitb, os, sys | ||||
4 | cgitb.enable() | ||||
5 | |||||
6 | # import libs | ||||
7 | sys.path.append('lib/py') | ||||
8 | |||||
9 | import webnotes | ||||
10 | import webnotes.auth | ||||
11 | |||||
12 | if __name__=='__main__': | ||||
13 | webnotes.http_request = webnotes.auth.HTTPRequest() | ||||
14 | from webnotes.cms import feed | ||||
15 | xml = feed.generate() | ||||
16 | print 'Content-Type: text/xml' | ||||
17 | |||||
18 | print xml |