From: Mike G. v. a. <we...@ma...> - 2010-05-11 15:48:56
|
Log Message: ----------- add xml2html feature Modified Files: -------------- webwork2/lib/WeBWorK: URLPath.pm Revision Data ------------- Index: URLPath.pm =================================================================== RCS file: /webwork/cvs/system/webwork2/lib/WeBWorK/URLPath.pm,v retrieving revision 1.36 retrieving revision 1.37 diff -Llib/WeBWorK/URLPath.pm -Llib/WeBWorK/URLPath.pm -u -r1.36 -r1.37 --- lib/WeBWorK/URLPath.pm +++ lib/WeBWorK/URLPath.pm @@ -45,6 +45,7 @@ root / course_admin /admin/ -> logout, options, instructor_tools + html2xml /html2xml/ set_list /$courseID/ equation_display /$courseID/equation/ @@ -110,7 +111,7 @@ root => { name => 'WeBWorK', parent => '', - kids => [ qw/course_admin set_list/ ], + kids => [ qw/course_admin html2xml set_list / ], match => qr|^/|, capture => [ qw// ], produce => '/', @@ -127,7 +128,16 @@ }, ################################################################################ - + html2xml => { + name => 'html2xml', + parent => 'root', # 'set_list', + kids => [ qw// ], + match => qr|^html2xml/|, + capture => [ qw// ], + produce => 'html2xml/', + display => 'WeBWorK::ContentGenerator::renderViaXMLRPC', + }, + set_list => { name => '$courseID', parent => 'root', |