27 Nov
2010
27 Nov
'10
9:29 p.m.
On Fri, Nov 26, 2010 at 05:05:26PM +0000, Jeremy Henty wrote:
I thought it would be fun if I could write a DPI filter as easily as this:
#!/usr/lib/dillo/bin/lua-dpi -- -*- lua -*-
dpi [[ Content-type: text/html
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'> <html> <head><title>Hello World - Lua DPI</title></head> <body> From inside a Dillo DPI, Lua says "Hello World!". </body> </html> ]]
Well, now I can!
http://starurchin.org/dillo/dillo_lua_dpi.png
It's still just a toy at the moment, but I'm pleased with it.
Hey nice! What's that lua-dpi? Is it a lua script? Can we have a look at it? Cheers, Johannes