novelistapp / concept

Meta repository for concept planning and feature discussions (RFCs)
MIT License
0 stars 0 forks source link

Choose a storage file format #1

Open spacekookie opened 6 years ago

spacekookie commented 6 years ago

Most features for Novelist are already planned out pretty well, except for how to store any of it. Following are some thoughts gathered on what storage format could be used.

Text format

Container format

Options that can be considered

Being able to translate the text format to any other format is important. Using a standard format it would then be possible to use pandoc to handle exporting automagically.

This is still an open issue and open to debate

herzmut commented 6 years ago

A container format for a repository could be in place. When it's compressed, it surely can be piped through compression/decompression filters on memory.

The way the file is storaged should be different to a novel, since a novel is a completed piece. The files contain novels unfinished.

Allowing access outside of Novelist makes it hard to port the file through different devices and locations.

XML is probably the best choice to save the file; LaTeX should be considered to be an export/import format as it is an important and common book typesetting language.

spacekookie commented 6 years ago

Additional requirements

Custom XML