Home | Notifications | New Note | Local | Federated | Search | Logout
Note Detail
Reply to @silverpill@mitra.social
Harblinger@harblinger@wizard.casa (2026-06-14 09:47:19)
It's been sorta fun wrangling AP into an image board fe
Have you considered adding the "summary" field on outbound notes? I can parse the leading <h1> from how Mitra handles incoming note summaries into "subjects", but sending notes with that field would be nice for Pleroma interop.
---Reply---
silverpill@silverpill@mitra.social (2026-06-14 20:25:18)
@harblinger What would be the value of this summary field? Headings are part of the content in Mitra, I can try to extract the first heading from HTML, but this method is not always reliable (we do this for Atom feeds).
>sending notes with that field would be nice for Pleroma interop.
How?
Reply
---Replies---
Harblinger@harblinger@wizard.casa (2026-06-15 02:39:08)
>What would be the value of this summary field? Headings are part of the content in Mitra, I can try to extract the first heading from HTML, but this method is not always reliable (we do this for Atom feeds).
I got the <h1> parsing done last night, see 2nd screenshot
Value is pretty slim for the amount of work needed possibly (another column in the db), but just being able to set it and send it down the wire would allow the front end to use/abuse the field so pleroma-fe can set the "subject" (see first screenshot) and masto to set the "CW", not sure about other cases.
No big deal, I can just have a subject field in the fe and prepend it in <h1> tags and that should work. I was just wondering if you thought about it much.
---Attachments---
image: https://wizard.casa/media/3803c776a181d61619ddd0afa2ce96680091e0c9a0da1bc40507789af12288b8.png
image: https://wizard.casa/media/4e588e89757f398fcbcf6dd4749075c26988e19d63872be4d74c75e69b673429.png