wiki.tcl.tk magic parameters?

wiki.tcl.tk magic parameters?

Post by Bryan Oakl » Sat, 15 Sep 2007 00:11:21


Is there a list of the magic parameters to the wiki.tcl.tk cgi
interface? I know of _edit, _history and _ref; are there others?
Specifically I'm wondering if there's a way to fetch the raw data for a
page and/or some other format that is easier to parse than HTML (xml?
tcl lists? wikit "stream")


--
Bryan Oakley
http://www.yqcomputer.com/
 
 
 

wiki.tcl.tk magic parameters?

Post by jdc » Sat, 15 Sep 2007 15:47:51

Bryan,

To get the raw data, fetch a page like:

http://www.yqcomputer.com/ ;number>.txt

To get the wiki stream data, fetch a page like:

http://www.yqcomputer.com/ ;number>.str

Jos.

 
 
 

wiki.tcl.tk magic parameters?

Post by jdc » Sat, 15 Sep 2007 16:01:19

More magic parameters:

- To get a specific version of a page, fetch it like:

HTML: http://www.yqcomputer.com/ ;number>?V=<revision>

Raw: http://www.yqcomputer.com/ ;number>.txt?V=<revision>

Wiki stream: http://www.yqcomputer.com/ ;number>.str?V=<revision>

- To get differences between specific versions, fetch it like:

HTML: http://www.yqcomputer.com/ ;number>?V=<revision1>&D=<revision2>

Raw: http://www.yqcomputer.com/ ;number>.txt?V=<revision1>&D=<revision2>

Wiki stream: http://www.yqcomputer.com/ ;number>.str?V=<revision1>&D=<revision2>

Jos.
 
 
 

wiki.tcl.tk magic parameters?

Post by Bryan Oakl » Sat, 15 Sep 2007 19:34:23


Perfect! Thanks.