Skip to content
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.
Branch: master
Clone or download
Pull request Compare This branch is 3 commits ahead, 14 commits behind deworg:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets/css
inc
templates
.gitignore
LICENSE
README.md
micro.blog.php

README.md

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

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.