Table of Contents
Understanding the IndieWeb Jargon
Implementing IndieWeb on WordPress: A Simpler Approach
Microformats and Theme Compatibility
Webmentions, Semantic Linkbacks, and Brid.gy
Additional Key Plugins
The Revised Workflow
Home Web Front-end CSS Tutorial De-Mystifying IndieWeb on a WordPress Site

De-Mystifying IndieWeb on a WordPress Site

Mar 13, 2025 am 11:09 AM

De-Mystifying IndieWeb on a WordPress Site

My recent post about IndieWeb sparked a helpful conversation with David Shanske, who generously offered assistance in understanding this often-confusing concept. This post summarizes our discussion and clarifies the key components of IndieWeb implementation on WordPress.

Understanding the IndieWeb Jargon

The term "IndieWeb" itself is a source of confusion. Is it a framework, a philosophy, or a set of standards? The answer, it turns out, is all three. However, a clearer understanding emerges when viewing it as a collection of protocols, similar to structured data or OpenGraph markup. There's no single piece of software to install; rather, it's about adhering to specific standards for integration.

Your online identity is central to IndieWeb. Your website becomes your identity hub, enabling functionalities such as:

  • Notifying other IndieWeb sites when you're mentioned.
  • Receiving notifications when you're mentioned elsewhere.
  • Retrieving and displaying information from mentions.
  • Authenticating your identity via your website (similar to a Google sign-in, but self-hosted).

This is an enhanced version of pingbacks, offering greater robustness and maintainability.

Implementing IndieWeb on WordPress: A Simpler Approach

WordPress simplifies IndieWeb integration significantly compared to static sites. As David explains, WordPress offers "building blocks" – plugins – that implement IndieWeb protocols. This contrasts with the more hands-on approach required for static sites.

The core plugin establishes your online identity. It primarily provides an h-card template and widget. The h-card is a markup for personal or location information, often included on websites anyway. While manually adding this markup to your theme is possible, the plugin offers a convenient pre-built solution.

Here's an example of h-card markup (from Microformats2 documentation):

<code><div>
  <img src="/static/imghw/default1.png" data-src="https://img.php.cn/upload/article/000/000/000/174183535434329.jpg" class="lazy" alt="photo of Mitchell"><a href="https://www.php.cn/link/dbe1a0a2c9bd9241b3499318bf96f756">Mitchell Baker</a>
 (<a href="https://www.php.cn/link/ebbb5ccb88b2cd2e2224917a325f903b">@MitchellBaker</a>)
  Mozilla Foundation
  <p>
    Mitchell is responsible for setting the direction and scope of the Mozilla Foundation and its activities.
  </p>
  Strategy
  Leadership
</div></code>
Copy after login

Note the classes like .h-card, u-photo, p-name, etc., which provide contextual meaning parsed as JSON:

<code>{
  "items": [{ 
    "type": ["h-card"],
    "properties": {
      "photo": ["https://img.php.cn/upload/article/000/000/000/174183535434329.jpg"],
      "name": ["Mitchell Baker"],
      "url": [
        "https://www.php.cn/link/dbe1a0a2c9bd9241b3499318bf96f756",
        "https://www.php.cn/link/ebbb5ccb88b2cd2e2224917a325f903b"
      ],
      "org": ["Mozilla Foundation"],
      "note": ["Mitchell is responsible for setting the direction and scope of the Mozilla Foundation and its activities."],
      "category": [
        "Strategy",
        "Leadership"
      ]
    }
  }]
}</code>
Copy after login

The plugin doesn't handle sending, receiving, or parsing; it solely provides identity verification markup.

Microformats and Theme Compatibility

"Microformats" are a method for marking up HTML to identify elements. The problem is that many WordPress themes lack Microformats support, which is where the Microformats2 plugin helps. However, this plugin has limitations, and manual theme markup is often recommended. Future Webmention plugin updates aim to improve this by leveraging OpenGraph and the WordPress REST API.

Webmentions, Semantic Linkbacks, and Brid.gy

The Webmention plugin handles sending and receiving notifications (webmentions). Semantic Linkbacks, a separate plugin (potentially integrated into future Webmention updates), fetches, formats, and displays webmention data using Microformats. Brid.gy offers a simpler alternative, providing pre-built API integrations for services like Twitter and Facebook, streamlining the process of receiving and displaying interactions.

Additional Key Plugins

  • IndieAuth: Provides self-hosted authentication, creating your own version of a Google sign-in button.
  • Micropub: Allows publishing content via alternative editors using Microformats2.
  • Simple Location: (Developed by David) Integrates location data into posts, enabling features like weather displays and location-based archives.

The Revised Workflow

(A visual representation of the workflow would be beneficial here, but cannot be provided by this text-based model.)

This explanation hopefully clarifies the components and processes involved in IndieWeb implementation on WordPress. Further questions or discussions are welcome!

The above is the detailed content of De-Mystifying IndieWeb on a WordPress Site. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Vue 3 Vue 3 Apr 02, 2025 pm 06:32 PM

It&#039;s out! Congrats to the Vue team for getting it done, I know it was a massive effort and a long time coming. All new docs, as well.

Building an Ethereum app using Redwood.js and Fauna Building an Ethereum app using Redwood.js and Fauna Mar 28, 2025 am 09:18 AM

With the recent climb of Bitcoin’s price over 20k $USD, and to it recently breaking 30k, I thought it’s worth taking a deep dive back into creating Ethereum

Can you get valid CSS property values from the browser? Can you get valid CSS property values from the browser? Apr 02, 2025 pm 06:17 PM

I had someone write in with this very legit question. Lea just blogged about how you can get valid CSS properties themselves from the browser. That&#039;s like this.

Stacked Cards with Sticky Positioning and a Dash of Sass Stacked Cards with Sticky Positioning and a Dash of Sass Apr 03, 2025 am 10:30 AM

The other day, I spotted this particularly lovely bit from Corey Ginnivan’s website where a collection of cards stack on top of one another as you scroll.

A bit on ci/cd A bit on ci/cd Apr 02, 2025 pm 06:21 PM

I&#039;d say "website" fits better than "mobile app" but I like this framing from Max Lynch:

Comparing Browsers for Responsive Design Comparing Browsers for Responsive Design Apr 02, 2025 pm 06:25 PM

There are a number of these desktop apps where the goal is showing your site at different dimensions all at the same time. So you can, for example, be writing

Using Markdown and Localization in the WordPress Block Editor Using Markdown and Localization in the WordPress Block Editor Apr 02, 2025 am 04:27 AM

If we need to show documentation to the user directly in the WordPress editor, what is the best way to do it?

Why are the purple slashed areas in the Flex layout mistakenly considered 'overflow space'? Why are the purple slashed areas in the Flex layout mistakenly considered 'overflow space'? Apr 05, 2025 pm 05:51 PM

Questions about purple slash areas in Flex layouts When using Flex layouts, you may encounter some confusing phenomena, such as in the developer tools (d...

See all articles