{"id":11222,"date":"2018-12-26T07:24:14","date_gmt":"2018-12-26T06:24:14","guid":{"rendered":"http:\/\/flaven.fr\/?p=11222"},"modified":"2018-12-26T12:27:30","modified_gmt":"2018-12-26T11:27:30","slug":"claimreview-fact-check-using-claimreview-structured-data-element-to-fact-check-articles-and-build-a-wordpress-plugin-for-it","status":"publish","type":"post","link":"https:\/\/flaven.fr\/2018\/12\/claimreview-fact-check-using-claimreview-structured-data-element-to-fact-check-articles-and-build-a-wordpress-plugin-for-it\/","title":{"rendered":"ClaimReview, Fact Check &#8211; Using ClaimReview structured data element to Fact Check articles and build a WordPress plugin for it"},"content":{"rendered":"<p>Tackling the fact-checking issue and the truth&#8217;s relative notion in media is skating on thin ice. It is a very dodgy but necessary questioning nowadays.<\/p>\n<p><b>For those, who get easily bored with reading and want action, you can find directly the plugin in this repository <a href=\"https:\/\/github.com\/bflaven\/PluginWordpressForFun\/tree\/master\/check_news\" target=\"_blank\">https:\/\/github.com\/bflaven\/PluginWordpressForFun\/tree\/master\/check_news<\/a><\/b><\/p>\n<p>Apparently, on a historical point of view, we entered in the &#8220;Anthropocene&#8221;, or even worst in the broiler chicken era. But, you&#8217;ll be glad to known that is also a &#8220;post-truth&#8221; era where you can peddle conspiracy theories on social networks and tout people with ready made ideas that just flatters them and make some money of it.<\/p>\n<p>Yes, me included, we are often barter complex information for hardly credible emotional rumours that feed our addiction for gutter superstition.<\/p>\n<p>Just to save the best for last, an interesting quote to meditate from Philip K. Dick: &#8220;Fake realities will create fake humans. Or, fake humans will generate fake realities and then sell them to other humans, turning them, eventually, into forgeries of themselves.&#8221;<\/p>\n<h4>Back to work<\/h4>\n<p>Here is the basic product of my loneliness. So,like always, first to be sure to not forget any fields for &#8220;Fact Check&#8221; or &#8220;ClaimReview&#8221; area, I drew a quick mock-up and write down a gherkin feature. Even more this time, in a second time, I made a quick development in a WordPress plugin so I could figure out the best user experience possible. <\/p>\n<p><b>Example for edition for ClaimReview structured data element to Fact Check<\/b><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2018\/12\/mockup_edit_article_factcheck_area_640x480.jpg\" alt=\"ClaimReview, Fact Check - Using ClaimReview structured data element to Fact Check articles\" width=\"640\" height=\"480\"><\/p>\n<p><b>Some additional Informations on &#8220;Fact Check&#8221; or &#8220;ClaimReview&#8221; provide by Google.<\/b><\/p>\n<ul>\n<li><a href=\"https:\/\/developers.google.com\/search\/docs\/data-types\/factcheck\" target=\"_blank\">https:\/\/developers.google.com\/search\/docs\/data-types\/factcheck<\/a><\/li>\n<li><a href=\"https:\/\/search.google.com\/structured-data\/testing-tool\" target=\"_blank\">https:\/\/search.google.com\/structured-data\/testing-tool<\/a><\/li>\n<\/ul>\n<p><b>A readme to describe fieldnames of the future plugin<\/b><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2018\/12\/fact_checking_system_7.jpg\" alt=\"ClaimReview, Fact Check - Using ClaimReview structured data element to Fact Check articles\" width=\"640\" height=\"480\"><\/p>\n<p><b>Just for educational purpose, I have generated fake content, author name, catchy title and pseudo website&#8230; and so on. By advance, I apologize if by any chance it matches with something.<\/b><\/p>\n<pre lang=\"html\">\r\n<!-- catchy title -->\r\nWho Else Is Lying To Us About fact checking?\r\nLife, Death and Truthiness\r\nWhat You Don't Know About Conspiracy May Shock You\r\nThe Dirty Truth on L\u00fcgenpresse\r\nThe Troll Trap\r\nThe Low Down on fact checking Exposed\r\nDirty Facts About fact checking Revealed\r\nThe Undeniable Truth About Fakebook and Loople That No One Is Telling You\r\nWhat Everybody Else Does When It Comes To Truthiness And What You Should Do Different\r\n\r\n<!-- author -->\r\nClaudio Relor\r\n\r\n<\/pre>\n<p><b>Example of ClaimReview structured data element<\/b><\/p>\n<pre lang=\"json\">\r\n\t{\r\n  \"@context\": \"http:\/\/schema.org\",\r\n  \"@type\": \"ClaimReview\",\r\n  \"datePublished\": \"2016-06-22\",\r\n  \"url\": \"http:\/\/example.com\/news\/science\/worldisflat.html\",\r\n  \"itemReviewed\": {\r\n    \"@type\": \"CreativeWork\",\r\n    \"author\": {\r\n      \"@type\": \"Organization\",\r\n      \"name\": \"Square World Society\",\r\n      \"sameAs\": \"https:\/\/example.flatworlders.com\/we-know-that-the-world-is-flat\"\r\n    },\r\n    \"datePublished\": \"2016-06-20\"\r\n  },\r\n  \"claimReviewed\": \"The world is flat\",\r\n  \"author\": {\r\n    \"@type\": \"Organization\",\r\n    \"name\": \"Example.com science watch\"\r\n  },\r\n  \"reviewRating\": {\r\n    \"@type\": \"Rating\",\r\n    \"ratingValue\": \"1\",\r\n    \"bestRating\": \"5\",\r\n    \"worstRating\": \"1\",\r\n    \"alternateName\": \"False\"\r\n  }\r\n}\r\n<\/pre>\n<p><b>The gherkin feature that describes my user sequence<\/b><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2018\/12\/fact_checking_system_5.jpg\" alt=\"ClaimReview, Fact Check - Using ClaimReview structured data element to Fact Check articles\" width=\"640\" height=\"480\"><\/p>\n<h4>The ClaimReview WordPress Plugin<\/h4>\n<p>Here is how the plugin works&#8230; I created on the Admin WordPress sidebar of each post edition, a metabox containing a checkbox that enable the status whether the post is declared &#8220;ClaimReviewed&#8221; or not.<\/p>\n<p>Then, for each of the post &#8220;ClaimReviewed&#8221;, in the Fact Check Details Box, you can fill up each field for the ClaimReview JSON-LD that will be printed in the post&#8217;s header.<\/p>\n<p><b>Let&#8217;s take an article<\/b><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2018\/12\/fact_checking_system_1.jpg\" alt=\"ClaimReview, Fact Check - Using ClaimReview structured data element to Fact Check articles\" width=\"640\" height=\"480\"><\/p>\n<p><b>The status for post edition<\/b><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2018\/12\/fact_checking_system_2.jpg\" alt=\"ClaimReview, Fact Check - Using ClaimReview structured data element to Fact Check articles\" width=\"640\" height=\"480\"><\/p>\n<p><b>In the Fact Check Details Box, the information for the ClaimReview JSON-LD<\/b><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2018\/12\/fact_checking_system_3.jpg\" alt=\"ClaimReview, Fact Check - Using ClaimReview structured data element to Fact Check articles\" width=\"640\" height=\"480\"><\/p>\n<p><b>The output in the header<\/b><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2018\/12\/fact_checking_system_4.jpg\" alt=\"ClaimReview, Fact Check - Using ClaimReview structured data element to Fact Check articles\" width=\"640\" height=\"480\"><\/p>\n<h2>Read more<\/h2>\n<ul>\n<h4>Infos about ClaimReview<\/h4>\n<li>ClaimReview from schema.org<br \/><a href=\"https:\/\/schema.org\/ClaimReview\" target=\"_blank\">https:\/\/schema.org\/ClaimReview<\/a><\/li>\n<li>Fact Check from Google<br \/><a href=\"https:\/\/developers.google.com\/search\/docs\/data-types\/factcheck\" target=\"_blank\">https:\/\/developers.google.com\/search\/docs\/data-types\/factcheck<\/a><\/li>\n<li>Testing tool for ClaimReview Structured Data<br \/><a href=\"https:\/\/search.google.com\/structured-data\/testing-tool\" target=\"_blank\">https:\/\/search.google.com\/structured-data\/testing-tool<\/a><\/li>\n<h4>Posts on Fact-checking<\/h4>\n<li>Add vocab to support markup of fact-checking sites<br \/><a href=\"https:\/\/github.com\/schemaorg\/schemaorg\/issues\/1061\" target=\"_blank\">https:\/\/github.com\/schemaorg\/schemaorg\/issues\/1061<\/a><\/li>\n<li>Fact-checking : opportunisme et operation com de Facebook ? (french)<br \/><a href=\"https:\/\/www.zdnet.fr\/actualites\/fact-checking-opportunisme-et-operation-com-de-facebook-39878085.htm\" target=\"_blank\">https:\/\/www.zdnet.fr\/actualites\/fact-checking-opportunisme-et-operation-com-de-facebook-39878085.htm<\/a><\/li>\n<li>A Walkthrough of Structured Data and Schema Markup with Examples<br \/><a href=\"https:\/\/www.verticalmeasures.com\/blog\/search-optimization\/a-walkthrough-of-structured-data-and-schema-markup-with-examples\/\" target=\"_blank\">https:\/\/www.verticalmeasures.com\/blog\/search-optimization\/a-walkthrough-of-structured-data-and-schema-markup-with-examples\/<\/a><\/li>\n<li>Working with Schemas in WordPress<br \/><a href=\"https:\/\/css-tricks.com\/working-with-schemas-wordpress\/\" target=\"_blank\">https:\/\/css-tricks.com\/working-with-schemas-wordpress\/<\/a><\/li>\n<li>The broiler chicken as a signal of a human reconfigured biosphere<br \/><a href=\"https:\/\/royalsocietypublishing.org\/doi\/10.1098\/rsos.180325\" target=\"_blank\">https:\/\/royalsocietypublishing.org\/doi\/10.1098\/rsos.180325<\/a><\/li>\n<li>How the chicken nugget became the true symbol of our era<br \/><a href=\"https:\/\/www.theguardian.com\/news\/2018\/may\/08\/how-the-chicken-nugget-became-the-true-symbol-of-our-era\" target=\"_blank\">https:\/\/www.theguardian.com\/news\/2018\/may\/08\/how-the-chicken-nugget-became-the-true-symbol-of-our-era<\/a><\/li>\n<h4>Plug-in, Custom Meta Box and WordPress resources<\/h4>\n<li>File metabox-multiple.php<br \/><a href=\"https:\/\/gist.github.com\/cferdinandi\/46aca88d6d142791a32a9d30017f1cd8\" target=\"_blank\">https:\/\/gist.github.com\/cferdinandi\/46aca88d6d142791a32a9d30017f1cd8<\/a><\/li>\n<li>Tammy Hart on tutsplus.com, author of the excellent Reusable Custom Meta Boxes serie<br \/><a href=\"https:\/\/tutsplus.com\/authors\/tammy-hart\" target=\"_blank\">https:\/\/tutsplus.com\/authors\/tammy-hart<\/a><\/li>\n<li>Reusable-Custom-WordPress-Meta-Boxes by tammyhart<br \/><a href=\"https:\/\/github.com\/tammyhart\/Reusable-Custom-WordPress-Meta-Boxes\" target=\"_blank\">https:\/\/github.com\/tammyhart\/Reusable-Custom-WordPress-Meta-Boxes<\/a><\/li>\n<li>WordPress Meta Boxes<br \/><a href=\"https:\/\/rudrastyh.com\/wordpress\/meta-boxes.html\" target=\"_blank\">https:\/\/rudrastyh.com\/wordpress\/meta-boxes.html<\/a><\/li>\n<li>Advanced Custom Fields<br \/><a href=\"https:\/\/wordpress.org\/plugins\/advanced-custom-fields\/\" target=\"_blank\">https:\/\/wordpress.org\/plugins\/advanced-custom-fields\/<\/a><\/li>\n<li>How to add custom meta boxes in WordPress posts<br \/><a href=\"https:\/\/hostpapasupport.com\/add-custom-meta-boxes-wordpress-posts\/\" target=\"_blank\">https:\/\/hostpapasupport.com\/add-custom-meta-boxes-wordpress-posts\/<\/a><\/li>\n<li>wp-acf-schema-template by PascalAOMS<br \/><a href=\"https:\/\/github.com\/PascalAOMS\/wp-acf-schema-template\" target=\"_blank\">https:\/\/github.com\/PascalAOMS\/wp-acf-schema-template<\/a><\/li>\n<li>Schema WordPress plug-in<br \/><a href=\"https:\/\/wordpress.org\/plugins\/schema\/\" target=\"_blank\">https:\/\/wordpress.org\/plugins\/schema\/<\/a><\/li>\n<li>Extending the WordPress metadata API<br \/><a href=\"https:\/\/pippinsplugins.com\/extending-wordpress-metadata-api\/\" target=\"_blank\">https:\/\/pippinsplugins.com\/extending-wordpress-metadata-api\/<\/a><\/li>\n<li>Custom Fields in Codex<br \/><a href=\"https:\/\/codex.wordpress.org\/Custom_Fields\" target=\"_blank\">https:\/\/codex.wordpress.org\/Custom_Fields<\/a><\/li>\n<li>How to Work With WordPress Post Metadata<br \/><a href=\"https:\/\/code.tutsplus.com\/tutorials\/how-to-work-with-wordpress-post-metadata--cms-25715\" target=\"_blank\">https:\/\/code.tutsplus.com\/tutorials\/how-to-work-with-wordpress-post-metadata&#8211;cms-25715<\/a><\/li>\n<li>Creating Custom Post Meta Boxes in WordPress<br \/><a href=\"https:\/\/premium.wpmudev.org\/blog\/creating-meta-boxes\/\" target=\"_blank\">https:\/\/premium.wpmudev.org\/blog\/creating-meta-boxes\/<\/a><\/li>\n<li>A collection of code snippets to enhance or expand on the free Give WordPress Donation Plugin.<br \/><a href=\"https:\/\/github.com\/impress-org\/give-snippet-library\n\" target=\"_blank\">https:\/\/github.com\/impress-org\/give-snippet-library<\/a><\/li>\n<li>How To Add Custom Fields To Posts And Pages<br \/><a href=\"http:\/\/docs.layerswp.com\/how-to-add-custom-fields-to-posts-and-pages\/\" target=\"_blank\">http:\/\/docs.layerswp.com\/how-to-add-custom-fields-to-posts-and-pages\/<\/a><\/li>\n<li>Adding Custom Fields to a Custom Post Type, the Right Way<br \/><a href=\"https:\/\/blog.teamtreehouse.com\/adding-custom-fields-to-a-custom-post-type-the-right-way\" target=\"_blank\">https:\/\/blog.teamtreehouse.com\/adding-custom-fields-to-a-custom-post-type-the-right-way<\/a><\/li>\n<li>WordPress Theme Development: Creating Custom Fields and Meta Boxes<br \/><a href=\"https:\/\/www.taniarascia.com\/wordpress-part-three-custom-fields-and-metaboxes\/\" target=\"_blank\">https:\/\/www.taniarascia.com\/wordpress-part-three-custom-fields-and-metaboxes\/<\/a><\/li>\n<li>3 Approaches To Adding Configurable Fields To Your WordPress Plugin<br \/><a href=\"https:\/\/www.smashingmagazine.com\/2016\/04\/three-approaches-to-adding-configurable-fields-to-your-plugin\/\" target=\"_blank\">https:\/\/www.smashingmagazine.com\/2016\/04\/three-approaches-to-adding-configurable-fields-to-your-plugin\/<\/a><\/li>\n<li>smashing-custom-fields by rayman813<br \/><a href=\"https:\/\/github.com\/rayman813\/smashing-custom-fields\" target=\"_blank\">https:\/\/github.com\/rayman813\/smashing-custom-fields<\/a><\/li>\n<li>Show Custom Fields in WordPress<br \/><a href=\"https:\/\/www.cozmoslabs.com\/25322-show-custom-fields-wordpress\/\" target=\"_blank\">https:\/\/www.cozmoslabs.com\/25322-show-custom-fields-wordpress\/<\/a><\/li>\n<li>Adding Custom Meta Boxes to the WordPress Admin Interface<br \/><a href=\"https:\/\/www.sitepoint.com\/adding-custom-meta-boxes-to-wordpress\/\" target=\"_blank\">https:\/\/www.sitepoint.com\/adding-custom-meta-boxes-to-wordpress\/<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Tackling the fact-checking issue and the truth&#8217;s relative notion in media is skating on thin ice. It is a very dodgy but necessary questioning nowadays.&hellip; <\/p>\n<p class=\"text-center\"><a href=\"https:\/\/flaven.fr\/2018\/12\/claimreview-fact-check-using-claimreview-structured-data-element-to-fact-check-articles-and-build-a-wordpress-plugin-for-it\/\" class=\"more-link\">Continue reading &rarr; <span class=\"screen-reader-text\">ClaimReview, Fact Check &#8211; Using ClaimReview structured data element to Fact Check articles and build a WordPress plugin for it<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":11229,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"bf_ai_meta_description":"ClaimReview structured data helps fact-check articles. Build a WordPress plugin to verify news accuracy and combat misinformation effectively.","bf_ai_og_title":"ClaimReview Fact Check Plugin","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3437,3454,3444,3447,3448,3449,3450,3435,3452],"tags":[2194,163,2409,2450,2221,2456,224,785,2434,2386,2448,2453,2408,2455,2452,2451,2449,2388,20,2387,2458,2454,2457,2182,2223],"class_list":["post-11222","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-business-case-studies","category-journalism-writing","category-programming-databases","category-technology-trends","category-tools-productivity","category-tutorials-how-to","category-ux-product-design","category-web-development","category-wordpress-cms","tag-agile","tag-application","tag-builder","tag-claas-relotius","tag-cms","tag-conspiracy","tag-dashboard","tag-development","tag-docker","tag-dry","tag-fact-checking","tag-fake","tag-generator","tag-hoax","tag-lugenpresse","tag-lying-press","tag-mark-zuckerberg","tag-mvp","tag-php","tag-poc","tag-post-truth","tag-troll","tag-truthiness","tag-web","tag-wordpress"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3Vuhl-2V0","jetpack_featured_media_url":"https:\/\/flaven.fr\/wp-content\/uploads\/2018\/12\/fact_checking_system_b.jpg","_links":{"self":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/11222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/comments?post=11222"}],"version-history":[{"count":12,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/11222\/revisions"}],"predecessor-version":[{"id":11242,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/11222\/revisions\/11242"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/media\/11229"}],"wp:attachment":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/media?parent=11222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/categories?post=11222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/tags?post=11222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}