Hi, I use 2 special post types (Notes & Likes) provided by the IndieBlocks plugin by Jan Boddez.
Both /notes/feed/mf2/ & /likes/feed/mf2/ generate the following error:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
The culprit could be the IndieBlocks plugin, but both /feed/ seem to work fine, only the microformats2 JSON.
Of course, if it’s the case, I’ll send this request to the appropriate Github.
Sincerely
DJM
Hi,
Been playing with the various IndieWeb and syndication features for WordPress today.
As it seems the old “Microformats 2” plugin is not maintained anymore (doesn’t seem to work nice with the Twenty Twenty-Three theme anyway), I’m testing the MF2 Feeds plugin instead.
It generates these alternate links for posts (from a post used as an example)
<link rel="alternate" type="application/rss+xml" title="Didier J. MARY (blog) » Feed" href="https://www.didiermary.fr/feed/" />
<link rel="alternate" type="application/mf2+json" href="https://www.didiermary.fr/international-coffee-day-with-osibisa/feed/mf2/" />
<link rel="alternate" type="application/jf2+json" href="https://www.didiermary.fr/international-coffee-day-with-osibisa/feed/jf2/" />
But, when I try to access either /feed/mf2/ or /feed/jf2/ for this post, I’m redirected to
/?pk_campaign=feed&pk_kwd=international-coffee-day-with-osibisa
I checked if I had a redirection or the like, but didn’t find any suspicious stuff, so far.
What/where should I check to make these URLs work and get the json?
Thx!
Sincerely
DJM