PHPackages                             pfefferle/wordpress-uf2-feed - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. pfefferle/wordpress-uf2-feed

Abandoned → [indieweb/wordpress-mf2-feed](/?search=indieweb%2Fwordpress-mf2-feed)Wordpress-plugin[API Development](/categories/api)

pfefferle/wordpress-uf2-feed
============================

provides a Microformats2 JSON Feed for every WordPress URL.

3.1.1(3y ago)7115[4 issues](https://github.com/indieweb/wordpress-mf2-feed/issues)MITPHPPHP &gt;=5.3.0CI passing

Since Jan 19Pushed 2mo ago8 watchersCompare

[ Source](https://github.com/indieweb/wordpress-mf2-feed)[ Packagist](https://packagist.org/packages/pfefferle/wordpress-uf2-feed)[ RSS](/packages/pfefferle-wordpress-uf2-feed/feed)WikiDiscussions trunk Synced 2mo ago

READMEChangelog (7)Dependencies (7)Versions (11)Used By (0)

MF2 Feeds
=========

[](#mf2-feeds)

- Contributors: pfefferle, dshanske, indieweb
- Donate link:
- Tags: microformats, mf2, jf2, rel-alternate, indieweb
- Requires at least: 5.2
- Tested up to: 6.9
- Stable tag: 3.1.1
- Requires PHP: 7.2
- License: MIT
- License URI:

Add Microformats2 Feeds for WordPress

Description
-----------

[](#description)

Provides a [Microformats2 JSON](http://microformats.org/wiki/microformats2-parsing) "Feed" for every WordPress URL, and helps to allow other sites to get pre-parsed [Microformats-JSON](https://indieweb.org/jf2) even if the theme does not support Microformats2.

[Microformats2](https://indieweb.org/microformats) are a key [building-block](https://indieweb.org/Category:building-blocks) of the IndieWeb, but it is very hard (if not impossible) to get Microformats2 as a core feature for all WordPress themes. There are several themes that are supporting Microformats2, but everyone should choose his prefered theme and should not be limited to use one of the [few community themes](https://indieweb.org/WordPress/Themes). After [a lot of discussions](https://github.com/indieweb/wordpress-uf2/issues/30) and some different plugin approaches, we are trying to provide an alternate ([`rel=altenate`](https://indieweb.org/rel-alternate)) representation of the microformatted HTML.

The plugin is inspired by the URL design of [p3k](https://github.com/aaronpk/p3k) of [@aaronpk](https://github.com/aaronpk).

p3k Example:

- Original:
- Microformats2 JSON:
- JF2:

WordPress Example:

- Original:
- Microformats2 JSON:
- JF2:

FAQ
---

[](#faq)

### What are Microformats 2?

[](#what-are-microformats-2)

Microformats are a simple way to markup structured information in HTML using classes. WordPress incorporates some classic Microformats. Microformats 2 supersedes classic microformats.

Installation
------------

[](#installation)

Follow the normal instructions for [installing WordPress plugins](https://codex.wordpress.org/Managing_Plugins#Installing_Plugins).

### Automatic Plugin Installation

[](#automatic-plugin-installation)

To add a WordPress Plugin using the [built-in plugin installer](https://codex.wordpress.org/Administration_Screens#Add_New_Plugins):

1. Go to [Plugins](https://codex.wordpress.org/Administration_Screens#Plugins) &gt; [Add New](https://codex.wordpress.org/Plugins_Add_New_Screen).
2. Type "`mf2-feed`" into the **Search Plugins** box.
3. Find the WordPress Plugin you wish to install.
    1. Click **Details** for more information about the Plugin and instructions you may wish to print or save to help setup the Plugin.
    2. Click **Install Now** to install the WordPress Plugin.
4. The resulting installation screen will list the installation as successful or note any problems during the install.
5. If successful, click **Activate Plugin** to activate it, or **Return to Plugin Installer** for further actions.

### Manual Plugin Installation

[](#manual-plugin-installation)

There are a few cases when manually installing a WordPress Plugin is appropriate.

- If you wish to control the placement and the process of installing a WordPress Plugin.
- If your server does not permit automatic installation of a WordPress Plugin.
- If you want to try the [latest development version](https://github.com/indieweb/wordpress-mf2-feed).

Installation of a WordPress Plugin manually requires FTP familiarity and the awareness that you may put your site at risk if you install a WordPress Plugin incompatible with the current version or from an unreliable source.

Backup your site completely before proceeding.

To install a WordPress Plugin manually:

- Download your WordPress Plugin to your desktop.
    - Download from [the WordPress directory](https://wordpress.org/plugins/mf2-feed/)
    - Download from [GitHub](https://github.com/indieweb/wordpress-mf2-feed/releases)
- If downloaded as a zip archive, extract the Plugin folder to your desktop.
- With your FTP program, upload the Plugin folder to the `wp-content/plugins` folder in your WordPress directory online.
- Go to [Plugins screen](https://codex.wordpress.org/Administration_Screens#Plugins) and find the newly uploaded Plugin in the list.
- Click **Activate** to activate it.

Changelog
---------

[](#changelog)

Project actively developed on Github at [indieweb/wordpress-mf2-feed](https://github.com/indieweb/wordpress-mf2-feed). Please file support issues there.

### 3.1.1

[](#311)

- Small tweaks and dependency updates

### 3.1.0

[](#310)

- Support Content Negotiation

### 3.0.0

[](#300)

- Refactored to match the configuration of feeds built into WordPress
- Bumped PHP Version requirement to PHP5.6 to match WordPress 5.3
- Bumped minimum WordPress version to 5.2 as this allows for the version of get\_content that includes a $post parameter
- Fixed incorrect PHPCS configuration
- Enabled JSON Pretty Print by default as originally disabled due a PHP5.4 requirement
- Changed Post Item Generation Class to use WordPress functions instead of directly accessing the data where applicable
- Adjusted jf2 feed to comply with jf2feed spec ()

### 2.1.0

[](#210)

- Fixed JSON output
- Fixed "flush rewrite rules" again

### 2.0.1

[](#201)

- Fixed "flush rewrite rules"
- Added filter to extend the mf2/jf2 data

### 2.0.0

[](#200)

- Complete re-write to match the latest ideas of rel-alternate: [indieweb/wordpress-uf2#38](https://github.com/indieweb/wordpress-uf2/issues/38)

### 1.0.0

[](#100)

- Initial plugin

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance45

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 79.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~325 days

Recently: every ~344 days

Total

7

Last Release

1447d ago

Major Versions

1.0.0 → 2.0.02018-08-14

2.1.0 → 3.0.02020-01-27

PHP version history (2 changes)1.0.0PHP &gt;=5.6.0

2.0.0PHP &gt;=5.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e3d56273f319d19d7492f8ba06a01fd64a5724e3553b2d1f2ac0f4e399b2cfa?d=identicon)[pfefferle](/maintainers/pfefferle)

---

Top Contributors

[![pfefferle](https://avatars.githubusercontent.com/u/2373?v=4)](https://github.com/pfefferle "pfefferle (76 commits)")[![dshanske](https://avatars.githubusercontent.com/u/7278204?v=4)](https://github.com/dshanske "dshanske (19 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

feedhacktoberfestindiewebjf2jsonmf2microformatsmicroformats2microformats2-feedpluginwordpresswordpress-plugin

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/pfefferle-wordpress-uf2-feed/health.svg)

```
[![Health](https://phpackages.com/badges/pfefferle-wordpress-uf2-feed/health.svg)](https://phpackages.com/packages/pfefferle-wordpress-uf2-feed)
```

###  Alternatives

[sybrew/the-seo-framework

An automated, advanced, accessible, unbranded and extremely fast SEO solution for any WordPress website.

47078.8k](/packages/sybrew-the-seo-framework)[a2design-company/mandrill-cakephp-plugin

Mandrill CakePHP plugin

193.2k](/packages/a2design-company-mandrill-cakephp-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
