Changes for page Red Pen Integration

Last modified by Vincent Massol on 2024/02/26 17:54

<
From version < 10.1 >
edited by De Sheng Chuan
on 2017/06/26 07:13
To version < 11.1 >
edited by Vincent Massol
on 2017/06/27 08:16
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.DeShengChuan
1 +xwiki:XWiki.VincentMassol
Content
... ... @@ -13,15 +13,10 @@
13 13  * --Create main RedPen component within separate api folder--
14 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 -(((
17 -
18 -)))
19 -
20 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 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 -(((
25 25  Phase 2:
26 26  
27 27  * Clean up UI on XWiki extension **(In progress)**
... ... @@ -29,30 +29,22 @@
29 29  * Create a dictionary based on the entries the user creates in the application home page.
30 30  * Create a script service that calls the Java component in the extension to execute RedPen on any XWiki Page.
31 31  
32 -(((
33 33  Phase 3:
34 34  
35 35  * Debugging
36 36  * Contribute support for the XWiki Syntax 2.1 markup text format in RedPen
37 37  
38 -(((
39 39  ==== RedPen ====
40 40  
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 44  
45 -(((
46 46  ==== About the UI: ====
47 47  
48 -
49 49  * Consists of the application home page, where users can key in potential wrong expressions and spellings, and the recommended correction.
50 50  * Also contains a configurable class that provides basic settings that users can toggle.
51 51  
52 -(((
53 -[[image:App_home.PNG]][[image:Settings.PNG]]
54 -)))
55 -)))
56 -)))
57 -)))
58 -)))
42 +{{image reference="App_home.PNG" width="650px"/}}
43 +
44 +{{image reference="Settings.PNG" width="650px"/}}
45 +

Get Connected