[pmwiki-users] Fox / ShoutBox - integrate the feature in xmlrpc

Hans design5 at softflow.co.uk
Wed Dec 17 08:28:27 CST 2008

Wednesday, December 17, 2008, 1:09:50 PM, Stéphane Heckel wrote:

> I would like to integrate Fox/ShoutBox's feature in the xmlrpc server (see
> my post regarding ShoutBox - 1st Dec).
> I did similar things for other functions already, ...
> not sure how Fox works "inside" and how to reintegrate Fox's features in a
> function.

> Idea is to have the following function being called from a desktop 
> application via xmlrpc.
> End user provides the target page to update  (ie : ShoutBox.Content) and the
> shout message string to be added on the target, ...

I do not understand what XML-RPC  is or should achieve.
Is this a different form of interaction with a website than filling a
form and submitting it? What does a user do?

Fox is of course designed for the latter, and a user, via the form's
fields, provides target page and content to be added, or replaced etc.
Fox is written as a set of php functions, which are included as part
of pmwiki.php.
On submitting a form which includes a action=foxpost Fox initial function
FoxHandlePost is called. This function will handle the reading of
input parameters etc, and will call various other functions in turn,
which may call other function in their turn etc., all in all quite a
complex process involving numerous function calls.

To see if any of the functions you find in fox.php can be used
independently from other scripts (out of context of Fox's processing)
you would need to study the function in detail. There is no general
way of saying what might be possible. But generally I think it will
be very tricky.

I have no clue how any of this may relate to XML-RPC,
and if it can give you any clues.



More information about the pmwiki-users mailing list