Description
Bookmark Bell links your WordPress site to your Hatena ID, so that you receive a notification on Hatena whenever someone bookmarks one of your posts on Hatena Bookmark.
Hatena calls this the “page owner” setting. It normally requires adding an HTML tag to your theme. With this plugin you only need to enter your Hatena ID on a settings screen, and the setting stays in place even if you change your theme.
Features
- Outputs the page owner tag documented by Hatena (
<link rel="author" href="https://www.hatena.ne.jp/your-id/" />) on every page. - Accepts your Hatena ID with or without “id:”, or the URL of your Hatena profile page.
- Shows the exact tag that is output and how to check that notifications work.
- Optionally removes the “#more-123” anchor from “Read more” links, so that bookmarks of the same post are not split between two URLs.
- Removes all of its data when you delete the plugin.
Where notifications arrive
- “Notifications” on the Hatena website
- The Hatena Bookmark app
- The “Hatena Notifications” browser extension
This is an unofficial plugin and is not affiliated with Hatena Co., Ltd.
Installation
- Install and activate the plugin from Plugins > Add New, or upload the
hatena-connectfolder to the/wp-content/plugins/directory and activate it. - Go to Settings > Bookmark Bell.
- Enter your Hatena ID and save.
FAQ
How can I check that it works?
Open a post that nobody has bookmarked yet and bookmark it yourself on Hatena Bookmark. After a few minutes you should see a notification on Hatena.
I don’t get notifications for bookmarks made before I set up the plugin.
Hatena sends notifications from the first bookmark after the tag is in place. Pages that were bookmarked earlier are updated only when Hatena fetches them again.
I changed the settings but nothing happens.
If you use a caching plugin or a CDN, clear the cache so that the tag appears on your pages.
What changed from version 1.x?
Version 1.x output an RDF/FOAF block. Version 2.0.0 outputs the single <link rel="author"> tag that Hatena’s help currently documents. Your saved Hatena ID is kept, so there is nothing to change after updating.
Why was the plugin renamed?
The plugin was formerly called “Hatena Connect”. It was renamed “Bookmark Bell for Hatena” so that its name does not suggest an official affiliation with Hatena Co., Ltd. The plugin folder, settings and behavior are unchanged.
Where can I find Hatena’s documentation?
See “Linking an external site to your Hatena ID (page owner setting)” in the Hatena Bookmark help: https://b.hatena.ne.jp/help/entry/pageowner
Screenshots
Changelog
2.0.0
- Changed: Renamed from “Hatena Connect” to “Bookmark Bell for Hatena”.
- Changed: Output the
<link rel="author">tag documented by Hatena instead of the RDF/FOAF block. - Added: Status section showing the output tag, a link to your Hatena profile and how to check that it works.
- Added: “Settings” link on the Plugins screen and a notice until a Hatena ID is set.
- Added: Hatena ID input accepts “id:” and profile URLs.
- Security: Validate the Hatena ID on save and escape all output.
- Fixed: Use the Settings API,
uninstall.phpand load translations oninit(no PHP 8 warnings). - Requires WordPress 6.4 and PHP 7.4 or later.
1.1.1
- Fixed bugs in settings page.
1.1.0
- Added function to remove #more anchor from ‘Read More’ links.
1.0.0
- First release.

