/guid/9202a8c04000641f8000000007c93a73 rename
author:
contributor:
published:
updated:
source uri:
Summary
//TODO: what is the first arg here
acre.load('libWill','http://www.freebase.com/api/trans/raw/user...
Content
//TODO: what is the first arg here
acre.load('libWill','http://www.freebase.com/api/trans/raw/user/willmoffat/apps/libWill');
if (!query) { die('query not specified'); }
var html = getDoc('/user/willmoffat/apps/h_simple_js?cache_buster'+Math.random());
// TODO: make this a generic template func - see also nick's example
html = html.replace('${QUERY}',query);
acre.start_response(200, { 'content-type': 'text/html; charset="UTF-8"' });
acre.print(html);
Created by:
willmoffat
Apr 3, 2008
Last edited by:
Constant Gardener Process
Aug 18, 2009
Recent Discussions about None
There is no discussion about this document.
Start the Discussion »