From: Mike G. v. a. <we...@ma...> - 2010-05-12 02:08:45
|
Log Message: ----------- Clarification updates on documentation. Rearranged the configuration lines to emphasize what has to be customized. Modified Files: -------------- webwork2/clients: README renderProblem.pl Revision Data ------------- Index: renderProblem.pl =================================================================== RCS file: /webwork/cvs/system/webwork2/clients/renderProblem.pl,v retrieving revision 1.4 retrieving revision 1.5 diff -Lclients/renderProblem.pl -Lclients/renderProblem.pl -u -r1.4 -r1.5 --- clients/renderProblem.pl +++ clients/renderProblem.pl @@ -27,7 +27,7 @@ The formatting allows the browser presentation to be interactive with the daemon running the script webwork2/lib/renderViaXMLRPC.pm - +Rembember to configure the local output file and display command !!!!!!!! =cut @@ -42,6 +42,15 @@ ################################################## # configuration section for client ################################################## +# configure the local output file and display command !!!!!!!! + +use constant TEMPOUTPUTFILE => '/Users/gage/Desktop/renderProblemOutput.html'; # client only +use constant DISPLAY_COMMAND => 'open -a firefox '; # mac client only opens tempoutputfile above +# other command lines for opening the html file gnome-open or firefox file.html + +# the rest can be configured later to use a different server + +# the rest can work!! # use constant PROTOCOL => 'http'; # use constant HOSTNAME => 'localhost'; # use constant HOSTPORT => 80; @@ -57,8 +66,7 @@ use constant TRANSPORT_METHOD => 'XMLRPC::Lite'; use constant REQUEST_CLASS => 'WebworkXMLRPC'; # WebworkXMLRPC is used for soap also!! use constant REQUEST_URI => 'mod_xmlrpc'; -use constant TEMPOUTPUTFILE => '/Users/gage/Desktop/renderProblemOutput.html'; # client only -use constant DISPLAY_COMMAND => 'open -a firefox '; # client only + use constant XML_PASSWORD => 'xmlwebwork'; use constant XML_COURSE => 'daemon_course'; Index: README =================================================================== RCS file: /webwork/cvs/system/webwork2/clients/README,v retrieving revision 1.5 retrieving revision 1.6 diff -Lclients/README -Lclients/README -u -r1.5 -r1.6 --- clients/README +++ clients/README @@ -12,9 +12,12 @@ The webwork_xmplrp_client and webwork_soap_client.pl have not been updated, but may still work. to do: - add facilities for inspecting libraries via xmlrpc and html2xml links - figure out how to automate the configuration of these xmlrpc files - Apache2::ServerUtil should do this?? but I can't figure out how. + â¢add facilities for inspecting libraries via xmlrpc and html2xml links + â¢figure out how to automate the configuration of these xmlrpc files + Apache2::ServerUtil should do this?? but I can't figure out how. + â¢I suspect that auxiliary html files and applets don't work yet. + â¢finish factoring the code into xmlrpc_clients_inc.pl + â¢get checkProblem working again. I'm pretty sure that there is no security checking to insure that only appropriate people have access to the xmlrpc webservice. |