def render(self, req):
     # show xml
     req.setResponseCode(http.OK)
     req.setHeader('Content-type', 'application/xhtml+xml')
     req.setHeader('charset', 'UTF-8')
     return ''.join(epgrefresh.buildConfiguration(webif=True))
	def render(self, req):
		# show xml
		req.setResponseCode(http.OK)
		req.setHeader('Content-type', 'application/xhtml+xml')
		req.setHeader('charset', 'UTF-8')
		return ''.join(epgrefresh.buildConfiguration(webif = True))