Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: make-doc-pro viewer

From: al:bri:xtra at: 2-Jul-2002 9:40

> I think he just wants something that will take a make-doc-pro document and
render it directly in view/VID, sort of like a quick "preview" function. One solution is to use a Wiki. My Rebol/Wiki works very well with my eText dialect. I'm sure that it wouldn't be too hard to adapt make-doc-pro to function in a Wiki. For me, it was as simple as (page View function): Execute: has [Title] [ Envelope Title: to-string filename File compose/deep [ ( eText/Wiki/Base read Wiki_Directory/:File rejoin [ CGI/Script-File #"?" any [directory File ""] ] ) hr table/width "100%" [ tr [ td/align "left" [(Contents/Html)] td/align "left" [(Random_Page/Html)] td/align "center" [(Search/Html Title)] td/align "right" [(Edit/Html Name)] ] ] ] ] I hope that helps! Andrew Martin ICQ: 26227169 http://valley.150m.com/