this post was submitted on 23 Jul 2023
29 points (91.4% liked)
Asklemmy
43777 readers
2316 users here now
A loosely moderated place to ask open-ended questions
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I wrote my own blog copying what they showed in https://youtu.be/Gzj723LkRJY and added a atom feed and pingback to it to federate.
Later I also added microformats and Webmentions.
Cool! Do you mind expanding on how you ping it back to the fediverse?
I’ve heard of webmentions before used for comments and interactions with the fediverse, but haven’t heard of microformats. Would you mind explaining what/how you use them for?
So it depends a bit on how we define the fediverse. Technically I'm not using ActivityPub, although I wanted to implement it some day at least for my notes (like tweets) and photos.
Right now if I have a link in a post I check if the link has webmentions enabled, if yes then I send a webmention. On the other side when I get a webmention from someone, I doublecheck if they really linked to me, if so then I parse the HTML for microformats and parse out the author, an avatar, date of post and the content of the post, save it in my database and then show it as a comment underneth my own post like: https://jeena.net/notes/828