Skip navigation

Category Archives: App Engine

App Engine StringListProperty and merge join queries offer the ability to perform searches for a variety of purposes.

Read More »

You can’t use ‘tidy’ python binding with App Engine as far as I know so use this for cleaning up your xml and html characters:


import cgi
string = str('I hate monkey & hyena characters')
cgi.escape(string)

Should print out:

I hate monkey & hyena characters

If you want to change the content type or mime type for your Google App Engine template:


self.response.headers['Content-Type'] = "application/xml"

Full example:


class MainPage(webapp.RequestHandler):
def get(self):
greetings_query = databasemodel.all()

template_values = {
'greetings': greetings_query
}
self.response.headers['Content-Type'] = "application/xml"
path = os.path.join(os.path.dirname(__file__), 'templates/index.xml')
self.response.out.write(template.render(path, template_values))

Here’s a quick set up for Google App Engine’s SDK on Nginx.

Read More »

Parsing feeds in Python is best achieved with Mark Pilgrims Universal Feed Parser.

Read More »

Another Django Helper for Google App Engine. Read the article here.

Read More »

Here’s a tutorial which shows you how to build your own search engine with the Yahoo Search API and Google App Engine.

Read More »

Are you not so sure about Google App Engine’s BigTable ER – Entity Relationship Database Model?

Here’s a simple tutorial which shows you how to create databases the ER way plus a little bit of GQL.

Read More »