~singpolyma/xmpp-blog-utils

xmpp-blog-utils/sample.dhall -rw-r--r-- 507 bytes
9591d1a0Stephen Paul Weber Some fixes 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
let time = < Now | At : Text >
let Enclosure = { type : Text, href : Text, title : Text }
let id = "some-title-AP4K"
in
{
	id = id,
	httpUri = Some "https://blog.example.com/b/${id}",
	title = "Some Title",
	author = {
		name = "human1",
		uri = "xmpp:human1@example.com"
	},
	contentText = None Text,
	contentXHTML = Some {
		source = ./test.md as Text,
		reader = "markdown+emoji"
	},
	comments = True,
	published = time.Now,
	updated = time.Now,
	category = ["test"],
	enclosures = [] : List Enclosure
}