html-journal

command module
v0.0.0-...-5860ddb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2025 License: ISC Imports: 6 Imported by: 0

README

html-journal

this is a library for parsing html-journal format. it also includes a little tool to generate feed from a journal.

originally made by m15o. this repo includes a more strict version of the format.

for example, original implementation could parse this:

<h1>test</h1>
<p>some text</p>
<div>
	<section>
		<h2>2025-12-10</h2>
		<p>an entry</p>
	</section>
</div>

but this library will not. it expects a h1 heading, then some article tags at the same level that contain h2 heading, which starts with a YYYY-MM-DD date.

installation

$ go install git.sr.ht/~la_ninpre/html-journal@latest

usage

$ html-journal file.html 'url' > atom.xml

licence

ISC. see LICENCE file in the repo.

Documentation

Overview

read html journal from file and output an atom feed

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL