"In this the love of God was made manifest among us, that God sent his only Son into the world, so that we might live through him." - 1 John 4:9,10.

Experimenting with Google App Engine: Creating an XML Feed

By Alfred - Published: 2012-06-28

This is another 'work in progress' while learning Google App Engine. What I am going after this time is preparing a XML feed for data that I would later use to display a chart using the Google Chart API.

This is the XML Feed code (Google App Engine Python):

class XMLFeed(webapp2.RequestHandler):
	def get(self):
		entry = Entry()
		xmldata = entry.to_xml()
		self.response.headers['Content-Type'] = "text/xml"

A this is the output:

XML Feed Sample Output