Gargantext corpora from write nodes
We will need to be able to generate a gargantext corpora from write nodes. This will add an incredible feature to Gargantext since we will be able to use the framawrite in an entirely new way. We will use it for example to make a european roadmap with dozens of contributors. Here is the principle : Objectives : Add a function to a node of any type that will generate a corpora from all the framawrite that are children of this node (and grand children). This will make it possible to make a map of any collaborative corpora
- This function make the list of all children of type framawrite of a root node.
- for all the framawrites, it will generate a document with attribute :
- title : everything above the first ==
- Authors : default : anonymous ; except if the following line is encountered ^@@authors: FirstName1, LastName1 ; FirstName2, LastName2 ; etc.
- date : default : date of last change except if the following line is encountered ^@@date: 2021-09-10
- source: Name of the root node except if the following line is encountered ^@@source:
- By default, 1 framawrite node = 1 document. Option for further developments: allow to give a level at generation for the split within framawrite node : :
- par défaut: un doc == 1 NodeWrite
- ## mean each ## section will be a new document with title the subsubsection title. Either it features options for author, date etc. or it will inherit the document's option.
All these documents will generate a new node of type corpora for a Gargantext analysis that will be a child of the root node. Default name : root_node_name_collabs. Such specific corpora should have an update feature : since framawrite are evolving, we should be able to update the corpora and the map by simply reload the corpora : all documents will be replaced by their new framawrite version, new framawrite nodes are added, deleted one are removed, documents are reindexed with the current maps list and the map is updated.
This feature will be a completely new and powerful collaborative environment !