OPML Blogroll
WordPress plugin that exposes Link Manager links at `/.well-known/recommendations.opml`, adds a link element with `rel="blogroll"` to the `<head>` section, adds a `source:blogroll` to your RSS feed.
by Hammy Havoc · github.com/hammyhavoc/opml-blogroll · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/hammyhavoc/opml-blogroll/archive/refs/heads/main.zipA WordPress plugin that exposes the internal Link Manager links as an OPML file at /.well-known/recommendations.opml, adds a link element with rel="blogroll" to the <head> section to aid discovery, and adds a source:blogroll to your RSS feed generated for you by WordPress as per the 'source' namespace.
Updates to the OPML file are automatic and unlike other years-old abandoned solutions, the user does not need to interact with the plugin in any way to have it update the file based on changes to links in Link Manager.
Please note that the plugin requires some means of enabling the Link Manager as WordPress no longer enables it by default, despite the code for it still being there. I’m using Guido’s VS Link Manager for this purpose. You also need to add at least one link to your Links menu in the WordPress admin sidebar.
Example
- You can see OPML Blogroll working its magic here: https://hammyhavoc.com/.well-known/recommendations.opml, which exposes https://hammyhavoc.com/following/ as a
.opmlfile.
Based on the work of Josh Betz.