biaweb2.git
4 years agoAdded some template changes - Document List now shows description
Harishankar [Thu, 21 May 2020 15:07:30 +0000 (20:37 +0530)]
Added some template changes - Document List now shows description
The document list now shows the brief description below the link
in the generate HTML

4 years agoRefactored template loading to its own class for performance
Harishankar [Thu, 21 May 2020 09:39:03 +0000 (15:09 +0530)]
Refactored template loading to its own class for performance
Refactored template string loading to its own class to avoid
reading the template directory for every call to to_html() or
output_to_html ()

4 years agoSeparated the strings used for document tree generation from code
Harishankar [Thu, 21 May 2020 07:05:24 +0000 (12:35 +0530)]
Separated the strings used for document tree generation from code
Separated the string bits used for document tree generation from
constant in-code strings to a separate template file
stringbits.txt. This will allow for customizability of common
strings.

4 years agoAdded Navigation bit to the top of documents for the categories
Harishankar [Wed, 20 May 2020 15:56:31 +0000 (21:26 +0530)]
Added Navigation bit to the top of documents for the categories
Added navigation bit for easier navigation to parent categories
from any page

4 years agoIncluded functionality to describe the document in the input file
Harishankar [Wed, 20 May 2020 09:16:02 +0000 (14:46 +0530)]
Included functionality to describe the document in the input file
All input files (except index) require to be of the format
Title
Description
keywords
date of creation (YYYY-MM-DD HH:II Z) format

4 years agoChanged the rendering code for templating output
Harishankar [Tue, 19 May 2020 14:47:38 +0000 (20:17 +0530)]
Changed the rendering code for templating output
Changed from the C sprintf to using library libfmt::format in C++
to use named parameters in the template. NOTE: This means the
template file cannot contain any { or } other than the template
variables otherwise it screws up. So moved the CSS stylesheet to its
own template

4 years agoFunctionality for generating website completed
Harishankar [Tue, 19 May 2020 07:07:57 +0000 (12:37 +0530)]
Functionality for generating website completed
TODO: add command line option for the tool instead of hard-coded
strings
TODO: add RSS feed XML template and classes to generate the RSS
feed for the site

4 years agoTree Website generation implemented
Harishankar [Mon, 18 May 2020 10:54:08 +0000 (16:24 +0530)]
Tree Website generation implemented
Completed the functionality to generate the HTML tree from a
source tree, using templates. TODO: further refinement of
generated HTML code

4 years agoAdded summary to the document tree index
Harishankar [Sat, 16 May 2020 15:53:22 +0000 (21:23 +0530)]
Added summary to the document tree index
Added summary field for the document tree index which will add
a summary content for the index before the list of documents

4 years agoDocument tree generation to HTML output completed
Harishankar [Sat, 16 May 2020 15:15:00 +0000 (20:45 +0530)]
Document tree generation to HTML output completed
Completed the document tree generation - now the tree is created
along with all children and also the documents in the tree

4 years agoCleaned up the generation of document tree index
Harishankar [Sat, 16 May 2020 09:29:13 +0000 (14:59 +0530)]
Cleaned up the generation of document tree index
Cleaned up the generation of document tree by including a
destination dir and separating URL path from destination dir

4 years agoFirst Commit
Harishankar [Fri, 15 May 2020 17:00:57 +0000 (22:30 +0530)]
First Commit
First commit of BiaWeb2 project