Continuing Peter’s work on hooking up FreshRSS with Drupal to “like” posts, I wanted to do the same on my WordPress site. Knowing nothing about FreshRSS nor WordPress, and unable to peer into the FreshRSS database (the .sqlite file is encrypted?), I went the route (lol) less travelled by, and coded a FreshRSS plugin. Hey, turns out I didn’t need much MVC framework, once I grokked how the CustomCSS plugin worked.
I’m too tired to include a full walkthrough, because I’ve been at this since 8am. Here’s the code on Github. I had to hack FreshRSS so that it fired a hook after a successful “favourite”. I also noticed that poetry wasn’t showing up well on FreshRSS because of a workaround from five years ago, so I submitted my first blogging-related pull request.
After reading Ton’s description of setting up a network of test sites, I did my debugging on a pair of test subdomains. The sites that have been “Liking” each other all day are Crowley and Aziraphale. 😈😇