Difference between revisions of "User:Hitesh/option for docbook"
(3 intermediate revisions by the same user not shown) | |||
Line 228: | Line 228: | ||
+ | <center><h1>#7) XMLLINT </h1></center> | ||
+ | <h3>pros</h3> | ||
+ | <p> | ||
+ | Using to validate the document. | ||
+ | </p> | ||
+ | <h2>Rating:-5/5</h2> | ||
− | + | <center><h1>#8)TINYMCE</h1></center> | |
− | + | <h3>pros</h3> | |
− | + | <ol> | |
− | + | <li>Open Source</li> | |
− | + | <li>Compatible with html and xml</li> | |
+ | <li>Provide the GUI Mode and Source code mode</li> | ||
+ | <li>If user make any mistake and xmllint gave the error then user use the source code mode and edit the code and remove the error form xml code</li> | ||
+ | </ol> | ||
Line 327: | Line 336: | ||
<center><h3>#1(import all)</h3></center> | <center><h3>#1(import all)</h3></center> | ||
− | Not support this function(docbook files of BRL-CAD). But you can review only | + | Not support this function(docbook files of BRL-CAD). But you can review only html changes. |
<center><h3>#2(html2wiki)</h3></center> | <center><h3>#2(html2wiki)</h3></center> | ||
Line 339: | Line 348: | ||
<center><h3>#4(own mediawiki extension)</h3></center> | <center><h3>#4(own mediawiki extension)</h3></center> | ||
− | Using online editor for editing the xml file content. Using commit or patch system. | + | Using online editor for editing the xml file content. Using commit or patch system. automatic check the changes using xmllint online, if error found then commit not gone else commit gone. creating Shell script. |
<center><h3>#5(own wordpress plugin + html import)</h3></center> | <center><h3>#5(own wordpress plugin + html import)</h3></center> | ||
− | Using online editor for editing the xml file content. Using commit or patch system. | + | Using online editor for editing the xml file content. Using commit or patch system. automatic check the changes using xmllint online, if error found then commit not gone else commit gone. creating Shell script. |
<center><h3>#6(pandoc)</h3></center> | <center><h3>#6(pandoc)</h3></center> | ||
Need Manually review all changes. | Need Manually review all changes. |
Latest revision as of 14:34, 30 May 2015
Contents
- 1 #1. WORDPRESS PLUGIN (IMPORT ALL XML/CSV)
- 2 #2) MediaWiki (XML2WIKI)
- 3 #3) WORDPRESS (IMPORT HTML)
- 4 #4) Mediawiki (OWN EXTENSION)
- 5 #5) Wordpress (OWN PLUGIN+HTML IMPORTER)
- 6 #6) Other Tools(PANDOC)
- 7 #7) XMLLINT
- 8 #8)TINYMCE
- 9 FINAL RESULT ACCORDING TO ME
#1. WORDPRESS PLUGIN (IMPORT ALL XML/CSV)
Import All is plugin for using to import the XML/CSV content into wordpress as wordpress page or post. This plugin is open source and free to use. The pros and cons of this plugin are as follows.
Pros
- Freely available but not full package if need to use cron job feature then you need to buy full package.
- Easy to install.
- Works with xml files.
- Shows the content of xml file as wordpress page or post.
- Shows the content of xml file into HTML.
- Plugin divides the all content of file into chunks according tags.
- Plugin works on drag and drop method which information you need then you just drag and drop into editor and save.
- This also uses the cron job.
Cons
- GUI of this plugin is not good.
- This plugin cannot import the all content of xml file into wordpress we need to drag and drop the content.
- This plugin does not work with Docbook tags.
- The representation of content is not good.
- No validation rules for xml content.
- This Plugin not markup the changes into xml file they just import the content into wordpress when user does any change in content those are not applied on imported file.
- This plugin works on more manual work for importing the content of xml file.
- This plugin does not support the our document structure because when I uploaded the content then the more of information is not imported into wordpress. I only able to import small part of information . only information which is contained in child tags.
- Cron job feature is not supported in free version.
Rating: 2/5
#2) MediaWiki (XML2WIKI)
Pros
- This is very simple script which are using to convert the docbook tags into wiki format.
- This script is open source
- This script easily converts the xml tags into .txt file which stores all code for wiki.
Cons
- Does not fully support all docbook tags.
Rating: 2/5
#3) WORDPRESS (IMPORT HTML)
Pros
- Very easy to use
- Easy to install
- open source
- Representation is very good
- Managing the docs is very good
- Search is good
- Conversion all html docs into wordpress post or pages
- Easy to import docs into wordpress post or pages
Cons
- Not using cron job to update regularly all docs
- Some time they make duplication of document.
- Representation is well according to mediawiki theme.
- Searching is dedicated to all docs(brlcad document) but not work with mediawiki pages.
- Editing is also performed under the mediawiki special pages using own editor.
- Import the document is under special page and show also under special page.
- Cron job work for commit the changes using shell script.
- Editing based on docbook xml language.
- Provides the authentication on xml content (editing time authentication like:- unclosing tags).
- Completes A-F options.
- Search works for BRL-CAD document under special pages.
- URL is large including special pages url (I think this can be sorted out).
- Easy to import all documents.
- Representation is good.
- Editing in the docbook format
- Corns job for commit and updating document time to time using shell script.
- Completes A-F in well manner
- Represents the document in Pages or post under wordpress
- User Authentication also works for user.
- Converts the document into any format like(HTML->DOCBOOK,DOCBOOK->HTML)
- Some html tags not converted properly
- Internal links not properly not converted
- BRL-CAD structure is not properly converted
- Lots of documents content is changed like(tags of document HTML to docbook)
- Book document in html converted into article not in book
- BRL-CAD validation system does not validate the output of converted document.
- Need own script which provide the some rules and validation on converted document.
- Open Source
- Compatible with html and xml
- Provide the GUI Mode and Source code mode
- If user make any mistake and xmllint gave the error then user use the source code mode and edit the code and remove the error form xml code
- 1(import all)
Rating: 3.5/5
#4) Mediawiki (OWN EXTENSION)
Pros
Cons
Rating. 4.5/5
#5) Wordpress (OWN PLUGIN+HTML IMPORTER)
Pros
Rating: 4.5/5
#6) Other Tools(PANDOC)
Pros
Cons
Rating: 2.5/5
#7) XMLLINT
pros
Using to validate the document.
Rating:-5/5
#8)TINYMCE
pros
FINAL RESULT ACCORDING TO ME
Now I am considering some pros and cons of all options. So now i am going to evaluate the all options according to all A-F options.
How source files in repo are handled:-
Options:-
#1(wordpress import all)
This option does not work with original repo; after importing the content moves to database.
#2(html2wiki)
Does not work with repo.
#3(html import)
Works with repo but only imports the content into wordpress and save into database. Any updates not applied on repo document.
#4(own mediawiki extension)
Work with repo, document content show as special page in mediawiki. Show the all category repo name-wise.
#5(own wordpress plugin+html import)
Work with repo, Import the content into wordpress using HTML 2 import plugin. After changes do by any user and accept by admin then content updated in repo as well as website using own plugin.
#6(pandoc)
Pandoc does not work with repo.
How content is uploaded to the website? How content is presented to a website visitor?
Options:-
This option waits for manually uploading all the xml pages into wordpress.
#2(html2wiki)
This option does not work with that, that only work to convert the html to wiki syntax.
#3(html import)
This option supports this work it directly imports the all content into wordpress and convert into wordpress page or posts.
#4(own mediawiki extension)
This option also support this. Import all document into mediawiki and show as mediawiki special pages.
#5(own wordpress plugin+html import)
This option also supports this. directly imports the content as pages.
#6(pandoc)
This not support this option.
How a website visitor edits that content?
Options:-
#1(import all)
This supports editing in html format but does not convert into docbook.
#2(html2wiki)
This provide the editing under mediawiki in html format then through this script convert this content into wiki content but does not follow the all tags of docbook.
#3(html import)
This option provides the help to edit the content of uploaded content into html format and changes only applied on wordpress not on original document
#4(own mediawiki extension)
This option also helping to edit the document. If user want to edit the document then original document is open in editing mode in docbook xml format. And user made the changes then commit are gone on main repo after reviewing the commit and accepting this commit than changes applied on main document as well as on website content.
#5(own plugin + html import)
This option also helping to edit the document. If user want to edit the document then original document is open in editing mode in docbook xml format. And user made the changes then commit are gone on main repo after reviewing the commit and accepting this commit then changes applied on main document as well as on website content.
#6(pandoc)
Convert the document into html format and make the changes then convert into docbook format. BRL-CAD system not support the output of pandoc converted document so be need to use own script with pandoc.
How edited content gets staged for review? How edited content is reviewed?
Options:-
#1(import all)
Not support this function(docbook files of BRL-CAD). But you can review only html changes.
#2(html2wiki)
Not support this function(docbook files of BRL-CAD). But you can review as wiki content.
#3(html import)
Not support this function(docbook files of BRL-CAD). But can review only html changes.
#4(own mediawiki extension)
Using online editor for editing the xml file content. Using commit or patch system. automatic check the changes using xmllint online, if error found then commit not gone else commit gone. creating Shell script.
#5(own wordpress plugin + html import)
Using online editor for editing the xml file content. Using commit or patch system. automatic check the changes using xmllint online, if error found then commit not gone else commit gone. creating Shell script.
#6(pandoc)
Need Manually review all changes.