/micro.blog

WordPress plugin to generate a custom RSS feed. Adds a checkbox to the Publish meta box to add a post to the custom feed. Built with https://micro.blog/ in mind.

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Micro.blog

Description

WordPress plugin that generates a custom feed microblog for posts. Adds a checkbox to the Publish meta box in order to add a post to the custom feed.

Provides a custom RSS template to adjust feed output for Micro.blog.

Feed URLs:

http://example.com/feed/microblog/
http://example.com?feed=microblog

Filters:

apply_filters( 'microblog_feed__post_types', array $post_types )

Array of post types to generate the custom feed from.

Parameters:

  • $post_types (array)default: array( 'post' )
apply_filters( 'microblog_feed__capability', string $capability )

User capability required to add posts to the custom feed.

Parameters:

  • $capability (string)default: publish_posts
apply_filters( 'microblog__pub_section_label', string $label_text, object $post, string|boolean $value )

User capability required to add posts to the custom feed.

Parameters:

  • $label_text (string)default: Publish to Micro.blog/Published on Micro.blog
  • $post (object) – the current Post object
  • $value (string|bool) – 1 when checkbox is checked, falsewhen not checked

Planned features:

  • Allow 1 feed per WordPress user: add Micro.blog user name to WordPress profile and generate a dedicated feed if the current user has a Micro.blog account.
  • Allow for custom feed templates.

Changelog

0.1.0