chris on Nostr: Try reading the article on notestack.com, the way i handle titles and images is a ...
Try reading the article on notestack.com, the way i handle titles and images is a little more sane in imo, it accounts for the title and cover image so that they aren’t shown on the article page.
that way everything can be contained in the content.
As an example checkout this article on both notestack and habla:
https://notestack.com/liminal@gitcitadel.com/mfayffebPrMI520ftzIlEhttps://habla.news/u/liminal@gitcitadel.com/mfayffebPrMI520ftzIlEyou’ll notice that the cover image is not included in the article (because it’s not in the content) which is similar to how medium does things. It also parses out the first top level header if it matches the title tag so they aren’t duplicated.
Also if you like the editor in comet notestack uses basically the same one, I’m keeping them in sync until i can provide the editor as a resuable library/component that other longform sites can use.
Published at
2025-03-21 03:12:34Event JSON
{
"id": "a9468f4da1558d754df8021c8a35faa0b126bccff476ca30a07ec835aac57b3f",
"pubkey": "220522c2c32b3bf29006b275e224b285d64bb19f79bda906991bcb3861e18cb4",
"created_at": 1742526754,
"kind": 1,
"tags": [
[
"e",
"8f51fa2674cbfd3c2a36a3c8bf085db2799f66ef22a0749c23365af60b56ba91",
"wss://relay.damus.io/",
"root"
],
[
"e",
"f447a9e23ccd45424897c24fbaa94eb35fe04cc707119381d052e66f4a2726b4",
"",
"reply"
],
[
"p",
"b7274d28e3e983bf720db4b4a12a31f5c7ef262320d05c25ec90489ac99628cb"
],
[
"r",
"https://notestack.com/liminal@gitcitadel.com/mfayffebPrMI520ftzIlE"
],
[
"r",
"https://habla.news/u/liminal@gitcitadel.com/mfayffebPrMI520ftzIlE"
]
],
"content": "Try reading the article on notestack.com, the way i handle titles and images is a little more sane in imo, it accounts for the title and cover image so that they aren’t shown on the article page.\n\nthat way everything can be contained in the content.\n\nAs an example checkout this article on both notestack and habla:\n\nhttps://notestack.com/liminal@gitcitadel.com/mfayffebPrMI520ftzIlE\n\nhttps://habla.news/u/liminal@gitcitadel.com/mfayffebPrMI520ftzIlE\n\nyou’ll notice that the cover image is not included in the article (because it’s not in the content) which is similar to how medium does things. It also parses out the first top level header if it matches the title tag so they aren’t duplicated.\n\nAlso if you like the editor in comet notestack uses basically the same one, I’m keeping them in sync until i can provide the editor as a resuable library/component that other longform sites can use.",
"sig": "34e34f72966c0dd397d5e411cb172f08fb24b95675d5254af980d5277938ee027391361aa96310bd26e35ee7d9b4302e3932a371b924226544e4aeec5ce25d78"
}