Commit Graph

44 Commits

Author SHA1 Message Date
orbifx e922b9bc5b Move text-parse in submodule 2022-12-20 16:53:40 +00:00
orbifx b3769a1c02 Relation dates, with conversion condition upon it 2022-12-18 14:49:25 +00:00
orbifx 92631b5954 Preliminary support for cross-domain references 2022-12-15 21:25:18 +00:00
orbifx ab366b4078 In-Reply-To header field. Note extra list.rev in convert 2022-12-13 23:04:19 +00:00
orbifx fc28447f58 Swap tgz filename fields 2022-12-13 12:26:20 +00:00
orbifx 28d5f69a42 Read References field; referred by listing; test & tidy documentation 2022-12-12 22:52:55 +00:00
orbifx 8fe548fd5f Support References field 2022-12-04 19:18:52 +00:00
orbifx aae83be27a Partially matching ID queries 2022-11-26 11:16:50 +00:00
orbifx b91b556b79 txt.conf wizard 2022-11-25 16:27:51 +00:00
orbifx cad9479a30 Improve txt.conf:ID documentation 2022-11-25 13:10:41 +00:00
orbifx c982c60e95 Revise makefile 2022-11-21 21:18:33 +00:00
orbifx 5ca96ec393 Txt guides 2022-11-20 13:55:01 +00:00
orbifx ae2a76a6b3 Use txt.conf:Authors for txt-new. Don't use Draft in filename 2022-11-19 11:37:52 +00:00
orbifx e1558b349a Introduce 'peers' subcommand, refactor in pull 2022-11-18 13:41:55 +00:00
orbifx 79ec24530d Check index ID characters before making a dir with them 2022-11-17 20:53:00 +00:00
orbifx ccec104c5e Skip indices with empty ID 2022-11-17 20:15:26 +00:00
orbifx 1fa25c766b Show URL when title is missing during pull 2022-11-17 19:56:15 +00:00
orbifx 45a653d949 Improve pubdir parameter reporting 2022-11-17 19:22:23 +00:00
orbifx e62ec11140 New optional pubdir parameter for txt publish
- Inform about pubdir value and txt.conf
2022-11-16 22:02:07 +00:00
orbifx 561478ac81 New `edit <ID>` command and updated readme 2022-11-13 13:15:27 +00:00
orbifx 671f5b5390 Fix non-empty authors in HTML conversion 2022-11-06 12:48:40 +00:00
orbifx cc7515bfac Directory parameter for listing, defaults to txtdir 2022-11-06 11:44:56 +00:00
orbifx 4ea44dd16c Use txt.conf to generate index.pck meta; fix double load while indexing 2022-11-02 21:47:20 +00:00
orbifx a8e7281118 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
2022-11-01 17:11:09 +00:00
orbifx 1587fa83f1 Begin unifying conf and pck code; inline CSS; optional CSS & Atom 2022-10-30 14:48:02 +00:00
orbifx e4654aa652 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
2022-10-26 20:36:02 +01:00
orbifx 4c32abf03b Omit bullet in empty title conversions, tidy html.ml 2022-10-22 21:55:08 +01:00
orbifx 93be78f7c9 New subcommand 'recent'. Tidy last.ml 2022-10-21 20:53:46 +01:00
orbifx e471b6c9c2 Txt pull puts peer texts in $txtdir/peers 2022-10-21 20:07:54 +01:00
orbifx 7ce741cf56 List peers (from index.pck) in exported htm and gmi index 2022-09-24 21:01:37 +01:00
orbifx 20d11b1bfe New readme & header format 2022-07-30 14:29:20 +01:00
orbifx b30053d16e Accept files & directories for conversion 2022-07-30 13:58:02 +01:00
orbifx cb33b6dcad Tilde compatible publication dirs, public_*/txt 2022-06-21 18:22:12 +01:00
orbifx 977462fc5a Remove redundant Store.with_id 2022-06-21 00:08:12 +01:00
Aoi Koizumi (古泉 あおい) bfc8195a31 Fix some typos on the docs
Signed-off-by: Aoi Koizumi (古泉 あおい) <novaburst@kalli.st>
2022-06-20 10:53:27 +01:00
orbifx b38baf8268 Txt read & optional path printing for txt list 2022-06-19 22:01:11 +01:00
orbifx 3545c3f19f Abandon $ for index field parameter, cmdliner complains 2022-06-18 23:37:25 +01:00
orbifx 939087ccf7 Implement author & topic filter for txt pull 2022-06-18 21:45:45 +01:00
orbifx d978b5fc3a txt publish <id>; file and convert to standard dirs 2022-06-16 22:59:30 +01:00
orbifx 6689127d06 Change output date format & use <ul> for latest 2022-06-13 17:34:20 +01:00
orbifx bf031ac6ae Use of text editor when value for index field omitted 2022-05-01 18:10:03 +01:00
orbifx e878dedbb6 - 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
2022-04-15 14:17:01 +01:00
orbifx 22fe21326f 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`.
2021-11-03 22:29:57 +00:00
Orbifx 3d92789cdb initial simple example with omd 2016-08-30 22:04:12 +01:00