20 Commits

Author SHA1 Message Date
yakumo.izuru
717edc5d79 Remove the old UUID code, update the mailing list address, and use 'favicon.ico'
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/kosuzu/trunk@62 eb64cd80-c68d-6f47-b6a3-0ada418499da
2024-04-01 14:38:02 +00:00
yakumo.izuru
962d11f92b Reverse all the HTML changes, add a generator meta tag, and a To-do
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/kosuzu/trunk@59 eb64cd80-c68d-6f47-b6a3-0ada418499da
2024-02-13 23:23:38 +00:00
yakumo.izuru
fa22cab304 Finally got the right spacing between date and title
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/kosuzu/trunk@54 eb64cd80-c68d-6f47-b6a3-0ada418499da
2023-10-21 01:27:14 +00:00
yakumo.izuru
51ac2486d4 Tidy
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/kosuzu/trunk@52 eb64cd80-c68d-6f47-b6a3-0ada418499da
2023-10-21 00:34:31 +00:00
yakumo.izuru
77c597b02e Prettify HTML output and add a hardcoded favicon path (soon to be configurable)
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/kosuzu/trunk@50 eb64cd80-c68d-6f47-b6a3-0ada418499da
2023-10-19 01:21:22 +00:00
yakumo.izuru
491c581d56 Switch HTML doctype to 4.01 Transitional, update documentation
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/kosuzu/trunk@48 eb64cd80-c68d-6f47-b6a3-0ada418499da
2023-10-18 21:49:13 +00:00
fox
9587b7173a Relation dates, with conversion condition upon it
git-svn-id: file:///srv/svn/repo/kosuzu/trunk@43 eb64cd80-c68d-6f47-b6a3-0ada418499da
2022-12-18 14:49:25 +00:00
fox
4dff69cb4a Preliminary support for cross-domain references
git-svn-id: file:///srv/svn/repo/kosuzu/trunk@42 eb64cd80-c68d-6f47-b6a3-0ada418499da
2022-12-15 21:25:18 +00:00
fox
3e971f40dc In-Reply-To header field. Note extra list.rev in convert
git-svn-id: file:///srv/svn/repo/kosuzu/trunk@41 eb64cd80-c68d-6f47-b6a3-0ada418499da
2022-12-13 23:04:19 +00:00
fox
1547dc4d27 Read References field; referred by listing; test & tidy documentation
git-svn-id: file:///srv/svn/repo/kosuzu/trunk@39 eb64cd80-c68d-6f47-b6a3-0ada418499da
2022-12-12 22:52:55 +00:00
fox
e6452a861d Support References field
git-svn-id: file:///srv/svn/repo/kosuzu/trunk@38 eb64cd80-c68d-6f47-b6a3-0ada418499da
2022-12-04 19:18:52 +00:00
fox
5fd7b2d389 Fix non-empty authors in HTML conversion
git-svn-id: file:///srv/svn/repo/kosuzu/trunk@24 eb64cd80-c68d-6f47-b6a3-0ada418499da
2022-11-06 12:48:40 +00:00
fox
a89196679a Moved conversion file, conf -> pack, fixes
Conversion:
- Configuration sought in: txt.conf, ~/.config/txt/txt.conf
- logarion.conf to produce index and target formats

Publication:
- `publish <ids>`: copies txt with ID into Pubdir/public_{html,gemini,gopher} (Pubdir fromtxt.conf), if dirs exist, and runs `convert <pubdir>`

Fixes:
- Feed <nav> regression

git-svn-id: file:///srv/svn/repo/kosuzu/trunk@21 eb64cd80-c68d-6f47-b6a3-0ada418499da
2022-11-01 17:11:09 +00:00
fox
0021ae508f Begin unifying conf and pck code; inline CSS; optional CSS & Atom
git-svn-id: file:///srv/svn/repo/kosuzu/trunk@20 eb64cd80-c68d-6f47-b6a3-0ada418499da
2022-10-30 14:48:02 +00:00
fox
39e9796a6e Accept comma separated converter names, separate Atom from Html and Gemini converters.
Note: atom must be called separately now because of the separation. Example

txt convert -t htm,atom xyz

git-svn-id: file:///srv/svn/repo/kosuzu/trunk@19 eb64cd80-c68d-6f47-b6a3-0ada418499da
2022-10-26 19:36:02 +00:00
fox
02937307f3 Omit bullet in empty title conversions, tidy html.ml
git-svn-id: file:///srv/svn/repo/kosuzu/trunk@18 eb64cd80-c68d-6f47-b6a3-0ada418499da
2022-10-22 20:55:08 +00:00
fox
ef29c97a92 List peers (from index.pck) in exported htm and gmi index
git-svn-id: file:///srv/svn/repo/kosuzu/trunk@15 eb64cd80-c68d-6f47-b6a3-0ada418499da
2022-09-24 20:01:37 +00:00
fox
7dabe1dc7d Change output date format & use <ul> for latest
git-svn-id: file:///srv/svn/repo/kosuzu/trunk@5 eb64cd80-c68d-6f47-b6a3-0ada418499da
2022-06-13 16:34:20 +00:00
fox
787cba90fe - Removed 'txt init'
Format

- New B32 ID

Index

- New option: txt index --print
- Move scheme to peers
- Replace peer.*.conf files with index packed locations
  Instead of adding a URL to peers.*.conf, run `txt pull <url>`

Conversion

- Rewritten converters
- txt-convert looks for a .convert.conf containing `key: value` lines.
- Specifiable topic-roots from .convert.conf.
- Added `Topics:` key, with comma seperated topics.
	If set only those topics will appear in the main index and used as topic roots.
	Other topics will have sub-indices generated, but won't be listed in the main index.
- HTML converter header & footer options
- HTML-index renamed to HTM-index

Internal

- Change types: uuid:Uuid -> id:string
- File_store merges identical texts
- Use peer ID for store path, store peers' texts in .local/share/texts
- Simple URN resolution for converter
	Continue to next feed if parsing one fails
- Phasing-out Archive, replaced by improved packs
- Eliminate Bos, Cohttp, lwt, uri, tls, Re, Ptime, dependencies
- Lock version for Cmdliner, fix dune-project
- Optional resursive store
- Improve header_pack
- Fix recursive mkdir

git-svn-id: file:///srv/svn/repo/kosuzu/trunk@3 eb64cd80-c68d-6f47-b6a3-0ada418499da
2022-04-15 13:17:01 +00:00
fox
d89a2c061d Samhain 21
Converter
- type selection
- subdir conversion
- htm extension

Gemini
- index.gmi
- topics and latest
- gmi.atom feed

Add pull (http(s)) operation
- peers.pub.conf and peers.priv.conf

HTML5 format & fixes by Novaburst
Phony target (thanks Gergely)

May

Basic unit renamed from Note to Text.
New modular text-parser, internal to Logarion, for generic notation parsing. The default input format is now a much plainer text.
Logarion created texts have part of the UUID in filename.
Logarion's index re-written in Messagepack format. Removed `indices` command. They are generated during `convert`.

git-svn-id: file:///srv/svn/repo/kosuzu/trunk@2 eb64cd80-c68d-6f47-b6a3-0ada418499da
2021-11-03 22:29:57 +00:00