Richard MacManus on Nostr: If you all think JavaScript frameworks spit out horrendous code, try editing an epub ...
If you all think JavaScript frameworks spit out horrendous code, try editing an epub file in Calibra (it’s XHTML). As well as dealing with mountains of span tags, it took me hours to track down the cause of a bug where numbers in my ebook were formatted differently from the text…the reason, it turned out: one of the meta files had an Arabic language setting! I only discovered this when I looked closer at the settings on my kindle. All part of the fun of being a self-published author :)
Published at
2024-12-11 18:58:40Event JSON
{
"id": "1e8d0a842f11c7e4a0ee96659a719233e849175ffb8c4a17628af9ca2af1819a",
"pubkey": "591491ae73b2877f6a82fd03a97a9fa3ba016884c9aaa4bebc45a98aa0f8b62a",
"created_at": 1733943520,
"kind": 1,
"tags": [
[
"imeta",
"url https://files.mastodon.social/media_attachments/files/113/635/722/529/001/208/original/c7eb3c3a451bff02.jpeg",
"m image/jpeg",
"dim 2494x3325",
"blurhash UUJ8CRxu01t7-pj[R*fk0KWBxuWC-;j]Rjj["
],
[
"proxy",
"https://mastodon.social/users/ricmac/statuses/113635722556383538",
"activitypub"
]
],
"content": "If you all think JavaScript frameworks spit out horrendous code, try editing an epub file in Calibra (it’s XHTML). As well as dealing with mountains of span tags, it took me hours to track down the cause of a bug where numbers in my ebook were formatted differently from the text…the reason, it turned out: one of the meta files had an Arabic language setting! I only discovered this when I looked closer at the settings on my kindle. All part of the fun of being a self-published author :)\n\nhttps://files.mastodon.social/media_attachments/files/113/635/722/529/001/208/original/c7eb3c3a451bff02.jpeg",
"sig": "a4ec98bceacc1f49c306ce55409658e3cd6ae11273094b25880c5ebb9a3ec9f5c6c22b2f59a039ead05f87ec264f9872acf4f4f1ca57cb1d89e7c24c4f0a038f"
}