mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-06 06:58:27 +00:00
added sitemap, rss feeds
This commit is contained in:
18
rss.xml
Executable file
18
rss.xml
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import cgi, cgitb, os, sys
|
||||
cgitb.enable()
|
||||
|
||||
# import libs
|
||||
sys.path.append('lib/py')
|
||||
|
||||
import webnotes
|
||||
import webnotes.auth
|
||||
|
||||
if __name__=='__main__':
|
||||
webnotes.http_request = webnotes.auth.HTTPRequest()
|
||||
from webnotes.cms import feed
|
||||
xml = feed.generate()
|
||||
print 'Content-Type: text/xml'
|
||||
print
|
||||
print xml
|
||||
Reference in New Issue
Block a user