[microformats-discuss] STRUM, REST, and DETH
Dr. Ernie Prabhakar
drernie at opendarwin.org
Tue Oct 11 16:33:53 PDT 2005
On Oct 11, 2005, at 3:15 PM, Dr. Ernie Prabhakar wrote:
> I've stripped the idea down further to something I call DETH: like
> REST, but more so. :-)
> DETH = Dictionaries Encoding/Transmitting HTML.
I've created a more robust example, including a hypothetical mapping
onto Python dictionaries:
The idea is that as a client I could do something like:
And hopefully something just as simple on the server. It would be
nice to have a cgi or something that would turn the url-encoded key-
value pairs into a XOXO 'dl' entry, and simply pass that XHTML
document over stdin. My server could then just do:
for line in sys.stdin:
if "</html>" in line:
result=processDict(dict) # whatever
Does that perhaps make more sense?
-- Ernie P.
Ernest N. Prabhakar, Ph.D. <drernie at opendarwin.org>
Ex-Physicist, Marketing Weenie, and Dilettante Hacker
Probe-Hacker blog: http://www.opendarwin.org/~drernie/
More information about the microformats-discuss