MeatballWiki

Edit History Raw

WwtpCommands

See WikiWikiTransportProtocol. -- SteveHowell

WWTP can run on top of any protocol that supports in and out messages. TCP sockets could work. Here is a typical conversation between a WikiClient and a WikiServer that support WTTP. (WTTP could also run on top of HTTP, probably by using POST for all incoming messages.)

in:  
 WTTP INFO
out: 
 engine: PikiPiki
 pageFormat: PikiPiki 
 authenticate: yes
 supports-locking: no
 logo-url: pikipiki.gif
 commands: AUTHENTICATE, GET, PUT, CHANGES
 topics: wikiImprovements, politics, Eastern religion
in:
 WTTP AUTHENTICATE SteveHowell
out:
 ok
in: 
 WWTP GET Sunir:PrivateDiary
 links: yes
 raw: yes
 html: no
 read-lock: no
out:
 error 100 - insufficient privilege
 
in:
 WWTP GET Public:WikiFormattingRules
 links: yes
 raw: yes
 html: no
 read-lock: no
out:
 ok
 LINKS 
  Public:MakeTextBold
 RAW
  This wiki lets you MakeTextBold by putting it between asterisks.
in:
 WWTP GET Public:WikiFormattingRules
 links: no
 raw: no
 html: no
 read-lock: yes
out:
 ok
 READ-LOCK
  type: advisory
in:
 WTTP PUT Public:WikiFormattingRules
  I like the MakeTextBold feature.  
out:
 ok
in:
 WTTP CHANGES Public:*
 maxcount: 1
 filter: none
out:
 ok
 WikiFormattingRules 09/02/01 14:40