Second Brain: Crafted, Curated, Connected, Compounded on 10月02日
Webmention.io与Bridgy:连接博客与社交网络的桥梁
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

Webmention.io提供一个托管服务,让任何网页都能轻松接收Webmention。通过简单的HTML标签配置,即可收集来自其他网站的提及。而Bridgy则是一个更强大的服务,它能连接你的网站与各大社交网络,实现Webmention的跨平台同步。文章详细介绍了如何使用Webmention.io和Bridgy,特别是需要添加的h-entry等microformat标签,以及Bridgy自动轮询的工作机制和在Bluesky上的设置方法,旨在帮助用户更有效地管理和整合来自不同平台的互动。

🌟 Webmention.io是一个托管服务,简化了在任何网页上接收Webmention的过程。用户只需在HTML中添加指定的link标签,即可开始收集来自其他网站的链接和提及,实现网页间的互动。

🚀 Bridgy是连接网站与社交网络的桥梁,它通过发送Webmention来同步不同平台的信息。为了让Bridgy能自动抓取社交媒体上的互动,需要在网站上正确实现h-entry等microformat标签,包括文章容器、标题、发布时间、作者信息和内容区域。

🔗 在管理大量笔记时,Bridgy支持通过h-feed标签在列表页面聚合内容,并鼓励用户仅在重要笔记上添加直接的社交媒体链接(u-syndication),同时确保社交媒体个人资料链接回网站,以优化自动轮询的效率。

🔄 Bridgy的自动轮询机制会定期检查社交网络账号,以同步互动。为了维持频繁的轮询,用户需要确保社交媒体个人资料链接到网站,持续发布能产生互动的内容,并在发布到社交媒体时包含回链到网站的链接。

Webmention.io is a hosted service created to easily receive web mentions on any web page.

# How: Use it on your site

Once you have signed up, add the following tags to your HTML, replacing “username” with the username you got when you signed up:

12
    <link rel="webmention" href="https://webmention.io/username/webmention" />    <link rel="pingback" href="https://webmention.io/username/xmlrpc" />

The system will begin collecting web mentions and pingbacks on your behalf. Of course, you can leave off the pingback endpoint if you’d like.

Note that the “username” here will most likely be your domain. For instance, if your domain is https://aaronparecki.com/, then your username will be aaronparecki.com.

# Example:

# Nice implementations

# Bridgy and Microformats for Webmentions

Bridgy is a service that connects your website to social networks by sending webmentions between them. For it to automatically poll your social media accounts (like Bluesky) without manual intervention, your website needs to implement specific microformat tags.

I used that for fetching my webmentions and comments from Bluesky. Below some relevant tags I had to add. This documentation is based on Brid.gy documentation (linked at the end).

The primary microformat tags needed for Bridgy to work with your second brain - h-entry etc.:

 1 2 3 4 5 6 7 8 91011121314151617181920212223
<!-- Main container for a post/note --><article class="h-entry">  <!-- Title of the post -->  <h1 class="p-name">Your Title</h1>    <!-- Publication date -->  <time class="dt-published" datetime="2025-05-05T12:00:00Z">May 5, 2025</time>    <!-- Author information (can be hidden) -->  <span style="display: none;">    <a href="https://www.ssp.sh" class="p-author h-card">Simon Späti</a>  </span>    <!-- Main content -->  <div class="e-content">    Your content goes here  </div>    <!-- Optional: Syndication links (only needed for posts you share on social media) -->  <a class="u-syndication" href="https://bsky.app/profile/yourusername/post/postid">    Also on Bluesky  </a></article>
    h-entry: Marks a note/post as a distinct piece of content that Bridgy can identify and track.p-name: Helps Bridgy identify the title of your post.dt-published: Provides the publication timestamp, which Bridgy uses to order responses chronologically.p-author h-card: Identifies you as the author of the content.e-content: Defines the main content area of your post.u-syndication: (Optional) Creates a direct link between your website post and its corresponding social media post.

When you have many notes like in a second brain, you don’t need to add syndication links to every note. Instead:

    Ensure your Bluesky profile links to your website

    Add h-feed to list/index pages:

    1234
    <div class="h-feed">  <h1 class="p-name">Notes Collection</h1>  <!-- Your list of notes goes here --></div>

    Add syndication links only to important notes that you specifically share on social media

# How Bridgy’s Automatic Polling Works

    Bridgy checks your social network accounts periodically (typically every 30 minutes).If you’ve been signed up for over a week with no successful webmentions sent, or if the last webmention was over a month ago, polling decreases to once a day.To maintain frequent polling:
      Ensure your social profile links to your websiteConsistently post content that generates responsesWhen posting to social media, include links back to your website

# Setting Up Bridgy for Bluesky

    Sign up at brid.gyConnect your Bluesky accountEnable “Listen” for backfeed (to receive interactions from Bluesky)Optionally enable “Publish” if you want to cross-post

# Troubleshooting Automatic Polling

If automatic polling isn’t working:

    Check for a ⚠️ icon on your Bridgy user page, which indicates lost accessClick “Poll now” once to restart the automatic polling processMake sure some of your notes have correct h-entry markupVerify your Bluesky profile links to your website

# Additional Resources

This setup allows Bridgy to automatically poll your Bluesky account and discover interactions with your content without manual intervention, making it practical for large collections of notes like your second brain.


Origin: Webmentions in Blogs
References: IndieWeb, My Webmention.io
Created 2023-04-05

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

Webmention.io Bridgy Microformats h-entry IndieWeb 社交网络 博客
相关文章