💬 Read Posts with Read Status via PESOS using GoodReads and Micropub

Replied to Read Posts with Read Status via PESOS using GoodReads and Micropub by Chris AldrichChris Aldrich (boffosocko.com)

Today I accidentally realized that both the WordPress Micropub server and the Post Kinds plugin support read-status values of “to-read”, “reading”, and “finished”. I’ve managed to tweak my PESOS work flow with Goodreads.com to also include these experimental pieces using the following …

I wonder if it would be possible in the future to add a drop-down box in the Post Kinds editor for Reads, similar to the drop-down for RSVP?

2 responses on “💬 Read Posts with Read Status via PESOS using GoodReads and Micropub”

  1. That’s definitely a solid-sounding feature request to post in the issue queue.
    It might also make a somewhat reasonable beginner pull request if you wanted to tackle something like in the code.
    I’ll note for doing this manually, one could add a database row in mySQL in the wp_postmeta table with the following values:
    meta_key: mf2_read-status       
    meta_value: a:1:{i:0;s:7:”to-read”;}
    Adding this pair will cause Post Kinds to display the Read as the sub-type “Want to Read” in the resulting post. For the other two types you’d want to replace “to-read” with either “reading” or “finished”. I’ve tried it out on a few prior posts and it seems to work pretty well.
    I might recommend doing this in the admin UI using custom fields, but if I recall correctly, doing it that way will add some additional code that will prevent Post Kinds from finding and displaying it properly.

    1. I guess it might also be something that I could put into a separate plugin? I remember David talking about that a while back for additional kinds. I found the RSVP information in the repository. I might have a look and see what I can do.

      Thank you Chris for the encouragement.

Leave a Reply

Your email address will not be published. Required fields are marked *