Changes for page Red Pen Integration
Last modified by Vincent Massol on 2024/02/26 17:54
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -10,24 +10,24 @@ 10 10 Phase 1: 11 11 12 12 * --Figure out how to export RedPen as a JAR library instead of having to operate it as a RedPen server. (Currently asking on redpen's Gitter: --[[--redpen-cc-gitter-->>url:https://gitter.im/redpen-cc/redpen]]--) -- 13 -* Create main RedPen component within separate api folder 14 -** XWiki extension primarily contains a Java component that will execute command line onto a RedPen server, or use the RedPen library, depending on how RedPen is implemented. **(Currently 50% complete)**13 +* --Create main RedPen component within separate api folder-- 14 +** --XWiki extension primarily contains a Java component that will execute command line onto a RedPen server, or use the RedPen library, depending on how RedPen is implemented.-- 15 15 16 16 ((( 17 17 18 18 ))) 19 19 20 -* Create XAR ui within an XWiki instance, then export into Maven with XAR Maven plugin 20 +* --Create XAR ui within an XWiki instance, then export into Maven with XAR Maven plugin-- 21 21 * RedPen to be executed as a job on pages in the wiki. (Another component to be created) 22 -* Within the XWiki extension, write an EventListener component that allows RedPen to be executed when a WikiPage is saved. Most likely the onEvent function in the EventListener will return a boolean to the main Java component executing RedPen (Another component) 22 +* --Within the XWiki extension, write an EventListener component that allows RedPen to be executed when a WikiPage is saved. Most likely the onEvent function in the EventListener will return a boolean to the main Java component executing RedPen (Another component)-- 23 23 24 24 ((( 25 25 Phase 2: 26 26 27 -* Clean up UI on XWiki extension 28 -* Allow user to change proofreading rules in the wiki pages, regarding how the document will be checked. Iwill createasetof Validator plugins.A switch wouldbeplacedin themainComponentthatchooseswhich validatorpluginto usewith RedPen,dependingon whichsetof rulesthe userchooses.29 -* Create a c omponentthat will help tocreate anew Validator.Theadmin usercanaccess an XWiki page, fill uptheparameters,andthecomponentwillcreateanewValidatorclass usingthe parameters input.30 -* Create a script service that calls the Java component in the extension to execute RedPen on any XWiki Page. \\27 +* Clean up UI on XWiki extension **(In progress)** 28 +* Allow user to change proofreading rules in the wiki pages, regarding how the document will be checked. Most proofreading settings will be available under the global administration wiki. Corrections on language expressions and spellings would be housed under the main page. 29 +* Create a dictionary based on the entries the user creates in the application home page. 30 +* Create a script service that calls the Java component in the extension to execute RedPen on any XWiki Page. 31 31 32 32 ((( 33 33 Phase 3: ... ... @@ -41,6 +41,18 @@ 41 41 42 42 * Redpen provides a library, redpen-core, on the Maven central repository. The library allows a person to build a RedPen object that can validate and export errors in the form of a JSON object. It also provides Parser classes to be parse in text inputs of many formats. 43 43 * Validation: The redpen object must be instantiated with a XML file containing its configuration setting. The XML contains nodes called Validators, which just references existing implementations of the validators in the RedPen Core library. To edit the configuration, one just needs to edit the XML file itself. This can be done in Java issues. 44 + 45 +((( 46 +==== About the UI: ==== 47 + 48 + 49 +* Consists of the application home page, where users can key in potential wrong expressions and spellings, and the recommended correction. 50 +* Also contains a configurable class that provides basic settings that users can toggle. 51 + 52 +((( 53 +[[image:App_home.PNG]][[image:Settings.PNG]] 44 44 ))) 45 45 ))) 46 46 ))) 57 +))) 58 +)))
- Settings.PNG
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.DeShengChuan - Size
-
... ... @@ -1,0 +1,1 @@ 1 +54.3 KB - Content