pfefferle / wordpress-semantic-linkbacks

More meaningfull linkbacks
https://wordpress.org/plugins/semantic-linkbacks
MIT License
31 stars 18 forks source link
hacktoberfest indieweb microformat microformats microformats2 pingback plugin trackback webmention wordpress wordpress-plugin

project status: inactive

The plugin was merged into the Webmention plugin.


Semantic-Linkbacks

Contributors: pfefferle, dshanske, edent
Donate link: https://notiz.blog/donate/
Tags: webmention, pingback, trackback, linkback, microformats, comments, indieweb
Requires at least: 4.9
Requires PHP: 5.6
Tested up to: 6.1
Stable tag: 3.11.3
License: MIT
License URI: http://opensource.org/licenses/MIT

Richer Comments and Linkbacks for WordPress!

Description

Generates richer WordPress comments from linkbacks such as Webmention or classic linkback protocols like Trackback or Pingback.

The limited display for trackbacks and linkbacks is replaced by a clean full sentence, such as "Bob mentioned this article on bob.com." If Bob's site uses markup that the plugin can interpret, it may add his profile picture or other parts of his page to display as a full comment. It will optionally show collections of profile pictures, known as Facepiles, instead of the full setences.

Semantic Linkbacks uses Microformats 2 to get information about the linked post and it is highly extensible to also add support for other forms of markup.

Privacy and Data Collection

This plugin collects data from sites that send webmentions for the purpose of displaying richer comments on a site. This data is under the control of the site owner. It is the personal responsibility of that individual or individuals to remove any information at the request of the original content creator. Over time, we will add additional tools to assist in doing so.

Frequently Asked Questions

Do I need to mark up my site?

Most modern WordPress themes support the older Microformats standard, which means the plugin should be able to get basic information from to enhance linkbacks. The plugin is most useful with the WordPress Webmention plugin and sites/themes that support Microformats 2.

Why Webmentions?

Webmention is a modern reimplementation of Pingback and is now a W3C Recommendation.

What about the semantic "comment" types?

The IndieWeb community defines several types of feedback:

How do I extend this plugin?

See Extensions

How do I add this into my plugin?

The plugin will automatically enhance webmentions, trackbacks, and pingbacks with an avatar and additional context. It will also automatically add a facepile instead of individual comments, but this feature can either be turned off by an aware theme or under Discussion in your Settings.

Why do some emoji reactions not show up?

Some emoji characters in webmentions you might receive, e.g. Facebook reactions from Bridgy, take more than two bytes to encode. (In technical terms, these Unicode characters are above the Basic Multilingual Plane.) To handle them, you need MySQL 5.5.3 or higher, and your database and tables need to use the utf8mb4 charset. Usually WordPress does this automatically, but not always.

First, follow these instructions to switch your MySQL database to utf8mb4. Then, make sure DB_CHARSET and DB_COLLATE in your wp-config.php are either unset, set to the blank string, or set to these values:

define('DB_CHARSET', 'utf8mb4');
define('DB_COLLATE', 'utf8mb4_general_ci');

Who made the logos?

The Webmention and Pingback logos are made by Aaron Parecki and the Microformats logo is made by Dan Cederholm.

Why are you providing avatars?

The plugin attempts to store the URL to an actual profile image on the source site. The default avatar set by WordPress is only used if there is no such image found.

Even the WordPress default avatars are served by querying Gravatar.com which serves the file. Gravatar works by you providing an email address which it uses to match the image. The majority of linkbacks enhanced by this plugin do not have email addresses therefore we know that gravatar will not have anything on file.

If there is no email address it will serve the local avatar. If there is an email, it will go out to gravatar.com and see if they have a gravatar on file. If there is it will store the gravatar URL, otherwise it will store the URL for the local avatar if set.

The plugin uses a locally cached version of the mystery icon normally provided by WordPress and Gravatar.

Changelog

Project actively developed on Github at pfefferle/wordpress-semantic-linkbacks. Please file support issues there.

3.11.3

3.11.2

3.11.1

3.11.0

3.10.4

3.10.3

3.10.2

3.10.1

3.10.0

3.9.3

3.9.2

3.9.1

3.9.0

3.8.1

3.8.0

3.7.7

3.7.6

3.7.5

3.7.4

3.7.3

3.7.2

3.7.1

3.7.0

3.6.0

3.5.1

3.5.0

3.4.1

3.4.0

3.3.1

3.3.0

3.2.1

3.2.0

3.1.0

3.0.5

3.0.4

3.0.3

3.0.2

3.0.1

3.0.0

2.0.1

2.0.0

Thanks to

Installation

  1. Upload the semantic-linkbacks-folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. ...and that's it :)