Archive of UserLand's first discussion group, started October 5, 1998.
RPC-based previewing
Author: Dave Winer Posted: 2/18/1999; 4:17:34 AM Topic: RPC-based previewing Msg #: 2979 Prev/Next: 2978 / 2980
I'm working on a new application called console.root. It's a single-user website. It runs on my desktop behind a #security script.In this environment, even though all the rendering happens on the desktop machine, you still need to communicate with the server, so I use XML-RPC to do the connection.
For example, I have a call that returns me today's message as an XML-RPC
. That's mainresponder.news.getTodaysMsgTable. All the items in mainResponder.news are for support of news.root. I still have to write docs about how news.root sites work.
Anyway, I just got something working that you can try on your machine, it works in Frontier 5.1 or greater, probably in the Trial version too:
local (server = "nirvana.userland.com", port = 80, procedurename = "mainresponder.news.getpreview"); local (params = {"scriptingNews"}); webbrowser.displaytext (betty.rpc.client (server, port, procedurename, @params))Try it out in your Quick Script window. I'm sure you can see how this functionality fits into a site editor's console. I'll write some more about this of course, and the code is available thru the GDB/Update command.
There are responses to this message:
- Re: RPC-based previewing, David Theige, 2/18/1999; 6:46:19 AM
- Re: RPC-based previewing, Kurt J. Egger, 2/18/1999; 8:10:57 AM
- Re: RPC-based previewing, Jim Byrne, 2/18/1999; 8:16:31 AM
This page was archived on 6/13/2001; 4:47:57 PM.
© Copyright 1998-2001 UserLand Software, Inc.