inital commit
This commit is contained in:
commit
717e545e34
2 changed files with 826 additions and 0 deletions
55
README.md
Normal file
55
README.md
Normal file
|
@ -0,0 +1,55 @@
|
|||
|
||||
# Dependencies
|
||||
|
||||
Gnome libxml2
|
||||
|
||||
# Usage
|
||||
|
||||
## Templates
|
||||
|
||||
This uses Template::Toolkit for template syntax.
|
||||
|
||||
You must now have any value in `[no_name_dir]` in blog_dir.
|
||||
|
||||
|
||||
# Concepts
|
||||
|
||||
Orignally the genorg that was made had the concept that moving files
|
||||
was natural and should not affect the system.
|
||||
|
||||
## Static file tree
|
||||
|
||||
Contradictory to orignal genorg, this is designed for the blog org
|
||||
tree to remain static. The orignal reason I wanted this was that so
|
||||
the blog directory tree would be easy to try. But then I realised,
|
||||
it's supposed to be write-only. For a linear blog, you don't really
|
||||
make modifications to article once it's published, and you should be
|
||||
able to find new
|
||||
|
||||
|
||||
## Caching
|
||||
|
||||
This uses a 2 step caching procsess.
|
||||
|
||||
```
|
||||
Input Cache Output
|
||||
+-----------+ +---------------+ +-----------+
|
||||
| Org files | ----> | direct org | ----> | Modified |
|
||||
| | ----> | html export | ----> | html |
|
||||
+-----------+ +---------------+ +-----------+
|
||||
| |
|
||||
+---------------+ +-----------+
|
||||
| Neccasary info| ----> | navigtion |
|
||||
| eg title, date| ----> | files |
|
||||
+---------------+ +-----------+
|
||||
```
|
||||
|
||||
The intermideate transformation of the direct org to html is stored
|
||||
for caching. The neccasry info like path and all is stord in seperate
|
||||
xml document to not make it so the whole file has to be parsed again
|
||||
to link.
|
||||
|
||||
## Speed for space
|
||||
|
||||
`genorg` copies the whole file tree accross to cache in intermiediate
|
||||
stage, this allows for the `-m` option.
|
Loading…
Add table
Add a link
Reference in a new issue