Using wikidata for linked data WordPress indexes - Sharing and learning Phil Barker's work blog
ab1630's bookmarks 2018-02-16
"A while back I wrote about getting data from wikidata into a WordPress custom taxonomy. Shortly thereafter Alex Stinson said some nice things about it...and as a result that post got a little attention. Well, I have now a working prototype plugin which is somewhat more general purpose than my first attempt.
1.Custom Taxonomy Term Metadata from Wikidata. Here’s a video showing how you can create a custom taxonomy term with just a name and the wikidata Q identifier, and the plugin will pull down relevant wikidata for that type of entity....
Where’s it going. It’s not finished. I’ll see to some of the deficiencies in the coding, but also I want to get some more elegant output, e.g. single indexes / archives of terms from all taxonomies, no matter what the relationship between the post and the item that the term relates to. There’s no reason why the source of the metadata need be Wikidata. The same approach could be with any source of metadata, or by creating the term metadata in WordPress. As such this is part of my exploration of WordPress as a semantic platform...."