跳到内容

MF2 Feeds

v3.2.0

Matthias Pfefferle · 2018年8月14日 上架

Add Microformats2 Feeds for WordPress

正在使用
30+
评分
暂无
累计下载
4,247
最近更新
2026年8月28日
需要 WordPress 5.3+已测试到 7.1.5PHP 7.4+

MF2 Feed adds a machine readable version of your posts, in the same way WordPress already offers RSS feeds. Other sites and services (readers, Webmention endpoints, IndieWeb tools) can read your content as structured data, no matter which theme you use.

Just install and activate the plugin. There are no settings.

After activation every URL of your site gets two additional feeds:

  • Microformats2 JSON (/feed/mf2/): the raw Microformats2 data, the same format a Microformats parser would produce.
  • JF2 (/feed/jf2/): a simplified version of the same data, easier to read and to work with. See the JF2 spec.

Examples

  • Your site: https://example.com/ https://example.com/feed/mf2/ and https://example.com/feed/jf2/
  • A single post: https://example.com/2024/01/my-post/ https://example.com/2024/01/my-post/feed/mf2/ and https://example.com/2024/01/my-post/feed/jf2/ (the comments of the post are included)

A live example: https://notiz.blog/2013/06/18/the-rise-of-the-indieweb/ and the matching mf2 and jf2 feeds.

The plugin also adds rel="alternate" links to the <head> of every page, so tools can discover the feeds on their own. And it supports content negotiation: a client that requests a post with the Accept: application/mf2+json (or application/jf2+json) header gets the JSON directly instead of the HTML.

Why?

Microformats2 are a key building block of the IndieWeb. But it is very hard (if not impossible) to get them into all WordPress themes. There are a few community themes that support Microformats2, but you should be able to use the theme you like. After a lot of discussions and some different plugin approaches, this plugin provides an alternate (rel="alternate") representation instead of changing the HTML of your theme.

The URL design is inspired by p3k of @aaronpk.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums