• #dev 2025-04-04
  • Prev
    Next
  • #indieweb
  • #dev
  • #wordpress
  • #meta
  • #stream
  • #microformats
  • #known
  • #events
#dev ≡
  • ←
  • →
2025-04-04 UTC
# 18:57
gRegor
Another advantage of the DOM approach is that I can send myself webmentions using relative links. That code snippet resolves relative URLs and normalizes the hostname too, in case any weird people out there might used mixed-case when linking their domain ;)