{"id":5307,"date":"2013-07-08T13:04:38","date_gmt":"2013-07-08T11:04:38","guid":{"rendered":"http:\/\/notizblog.org\/?p=5307"},"modified":"2021-03-30T16:12:18","modified_gmt":"2021-03-30T14:12:18","slug":"die-renaissance-des-pingbacks","status":"publish","type":"post","link":"https:\/\/notiz.blog\/2013\/07\/08\/die-renaissance-des-pingbacks\/","title":{"rendered":"Die Renaissance des Pingbacks"},"content":{"rendered":"\n<p><a href=\"http:\/\/www.hixie.ch\/specs\/pingback\/pingback\">Pingbacks<\/a> (und Trackbacks) werden zwar immer noch von allen WordPress Blogs unterst\u00fctzt aber mal ehrlich&#8230; wen interessieren sie denn noch wirklich? Das h\u00e4ngt haupts\u00e4chlich mit der etwas veralteten Spezifikation zusammen, in der folgendes vorgeschlagen wird:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Bob&#8217;s blog also retrieves other data required from the content of Alice&#8217;s new post, such as the page title, an extract of the page content surrounding the link to Bob&#8217;s post, any attributes indicating which language the page is in, and so forth.<\/p><\/blockquote>\n\n\n\n<p>Das f\u00fchrt bei WordPress zu Eintr\u00e4gen die ungef\u00e4hr so aussehen:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>[&#8230;] und Wertvorstellungen entspricht und nicht von der Mehrheit meiner Freunde abh\u00e4ngig sein.\u00bb Dezentrale Walled Gardens Hier erscheinen von Montag bis Freitag ausgew\u00e4hlte Links zu lesenswerten Texten und aktuellen [&#8230;]<\/p><\/blockquote>\n\n\n\n<p>Der automatische generierte Ausschnitt l\u00e4sst nicht wirklich erahnen was Markus Spath <a href=\"https:\/\/web.archive.org\/web\/20140209151129\/http:\/\/netzwertig.com\/2012\/11\/22\/linkwertig-wi-apps-privacy-aufklaerung\/\">wirklich geschrieben hat<\/a> und deshalb ver\u00fcble ich es niemandem, wenn er die Pingbacks\/Trackbacks auf seiner Seite auf eine simple Liste von Links beschr\u00e4nkt hat. Als die Spezifikation 2002 geschrieben wurde, war das mit dem &#8222;Ausschnitt um den Link&#8220; sicherlich eine gute L\u00f6sung. Es gab keine andere M\u00f6glichkeit automatisch zu erkennen welcher Text genau zu dem Link geh\u00f6rt oder wann ein neuer Artikel, die Navigation oder sogar Werbung beginnt. Mittlerweile lassen sich Inhalte dank Websemantiken wie <a href=\"https:\/\/notiz.blog\/tag\/microformats\">Microformats<\/a>, <a href=\"https:\/\/notiz.blog\/tag\/rdfa\">RDFa<\/a> oder <a href=\"https:\/\/notiz.blog\/tag\/microdata\">Microdata<\/a> sehr gut erkennen. Aber auch mit purem HTML5 Markup l\u00e4sst sich problemlos ein <code>&lt;article \/&gt;<\/code> und dessen \u00dcberschrift erkennen.<\/p>\n\n\n\n<p>Pingbacks sind aktuell die einfachste und wahrscheinlich sogar die einzige M\u00f6glichkeit, Kommentare dezentral und vor allem Plattform unabh\u00e4ngig zu &#8222;verschicken&#8220;, deshalb verstehe ich nicht wieso es so lange gedauert hat, bis jemand (im Rahmen eines <a href=\"http:\/\/indiewebcamp.com\/pingback\">IndieWebCamps<\/a>) auf die Idee kam sie den aktuellen Bed\u00fcrfnissen und M\u00f6glichkeiten anzupassen anstatt sich weiter den Kopf \u00fcber komplizierte dezentrale Protokolle zu zermartern. Wer sich das <a href=\"http:\/\/www.salmon-protocol.org\/\">Salmon Protocol<\/a> schon einmal angeschaut hat, wei\u00df was ich meine&#8230;<\/p>\n\n\n\n<p>Pingbacks haben diverse Vorz\u00fcge:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n    <li>Sie sind leicht zu implementieren (einfacher XML-RPC Request an jedem, im Text erw\u00e4hnte URL)<\/li>\n    <li>Sie bieten einen simplen Schutz (wenn auch keinen 100%igen) gegen Spam, da der Pingende zumindest f\u00fcr eine gewisse Zeit auf die ge-pingte Seite verlinken muss<\/li>\n    <li><abbr title=\"don't repeat yourself\">DRY<\/abbr>&#8230; Die Webseite dient als API und man muss seine Texte nicht zus\u00e4tzlich in diversen XML oder JSON Formaten anbieten<\/li>\n<\/ul>\n\n\n\n<p>Auf der IndieWebCamp Seite gibt es eine Reihe an <a href=\"http:\/\/indiewebcamp.com\/comments\">interessanten Diskussionen<\/a> wie sich mit Hilfe von Microformats und ein paar <a href=\"http:\/\/indiewebcamp.com\/responses\"><code>rel<\/code>-Attributen<\/a> auch &#8222;Likes&#8220; oder &#8222;RSVPs&#8220; \u00fcber Pingbacks realisieren lie\u00dfen.<\/p>\n\n\n\n<p>Ein Like k\u00f6nnte beispielsweise folgenderma\u00dfen aussehen:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"HTML, XML\" data-shcb-language-slug=\"xml\"><span><code class=\"hljs language-xml\"><span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">div<\/span> <span class=\"hljs-attr\">class<\/span>=<span class=\"hljs-string\">\"h-entry\"<\/span>&gt;<\/span><span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">span<\/span> <span class=\"hljs-attr\">class<\/span>=<span class=\"hljs-string\">\"p-autor h-card\"<\/span>&gt;<\/span>Matthias Pfefferle<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">span<\/span>&gt;<\/span> likes <span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">a<\/span> <span class=\"hljs-attr\">rel<\/span>=<span class=\"hljs-string\">\"object-of-like\"<\/span> <span class=\"hljs-attr\">href<\/span>=<span class=\"hljs-string\">\"http:\/\/hackr.de\"<\/span>&gt;<\/span>hackr.de<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">a<\/span>&gt;<\/span><span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">div<\/span>&gt;<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code-Sprache:<\/span> <span class=\"shcb-language__name\">HTML, XML<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">xml<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Sandeep Shetty hat das auf <a href=\"http:\/\/www.sandeep.io\/\">sandeep.io<\/a> sehr sch\u00f6n <a href=\"http:\/\/www.sandeep.io\/39\">erkl\u00e4rt<\/a> und <a href=\"http:\/\/www.sandeep.io\/39#likes\">implementiert<\/a>!<\/p>\n\n\n\n<p><a href=\"http:\/\/werd.io\/view\/51cce999bed7de1e06ae3840\">Ben Werdmuller<\/a> hat au\u00dferdem nochmal alles (Comments\/Likes\/RSVPs) als Video zusammengefasst:<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-has-aspect-ratio wp-embed-aspect-16-9\"><div class=\"wp-block-embed__wrapper\">\n\t\t<div class=\"embed-privacy-container is-disabled embed-youtube\" data-embed-id=\"oembed_8056d569f6841223667633aa8cc9353e\" data-embed-provider=\"youtube\" style=\"aspect-ratio: 700\/394;\">\t\t\t\t\t\t<button type=\"button\" class=\"embed-privacy-enable screen-reader-text\">\u201eIndieWeb comments, likes and events\u201c von YouTube anzeigen<\/button>\t\t\t\t\t\t<div class=\"embed-privacy-overlay\">\t\t\t\t<div class=\"embed-privacy-inner\">\t\t\t\t\t<div class=\"embed-privacy-logo\" style=\"background-image: url(https:\/\/notiz.blog\/wp-content\/plugins\/embed-privacy\/assets\/images\/embed-youtube.png?ver=1.12.3);\"><\/div>\t\t<p>\t\tHier klicken, um den Inhalt von YouTube anzuzeigen.\t\t\t\t\t<br>\t\t\t\t\tErfahre mehr in der <a href=\"https:\/\/policies.google.com\/privacy?hl=de\" target=\"_blank\">Datenschutzerkl\u00e4rung von YouTube<\/a>.\t\t<\/p>\t\t<p class=\"embed-privacy-input-wrapper\">\t\t\t<input id=\"embed-privacy-store-youtube-8056d569f6841223667633aa8cc9353e\" type=\"checkbox\" value=\"1\" class=\"embed-privacy-input\" data-embed-provider=\"youtube\">\t\t\t<label for=\"embed-privacy-store-youtube-8056d569f6841223667633aa8cc9353e\" class=\"embed-privacy-label\" data-embed-provider=\"youtube\">\t\t\t\tInhalt von YouTube immer anzeigen\t\t\t<\/label>\t\t<\/p>\t\t\t\t\t\t<\/div>\t\t\t\t\t\t\t\t<div class=\"embed-privacy-footer\"><span class=\"embed-privacy-url\"><a href=\"http:\/\/www.youtube.com\/watch?v=zgvQq8o8RxU\">\u201eIndieWeb comments, likes and events\u201c direkt \u00f6ffnen<\/a><\/span><\/div>\t\t\t<\/div>\t\t\t\t\t\t<div class=\"embed-privacy-content\">\t\t\t\t<script>var _oembed_8056d569f6841223667633aa8cc9353e = '{\\\"embed\\\":\\\"&lt;iframe title=&quot;IndieWeb comments, likes and events&quot; width=&quot;700&quot; height=&quot;394&quot; src=&quot;https:\\\\\/\\\\\/www.youtube-nocookie.com\\\\\/embed\\\\\/zgvQq8o8RxU?feature=oembed&quot; frameborder=&quot;0&quot; allow=&quot;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&quot; referrerpolicy=&quot;strict-origin-when-cross-origin&quot; allowfullscreen&gt;&lt;\\\\\/iframe&gt;\\\"}';<\/script>\t\t\t<\/div>\t\t<\/div>\t\t\n<\/div><\/figure>\n\n\n\n<p>Im n\u00e4chsten Blogpost geht es dann um <a href=\"http:\/\/webmention.org\/\">Webmentions<\/a>, einer etwas moderneren Variante von Pingbacks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pingbacks (und Trackbacks) werden zwar immer noch von allen WordPress Blogs unterst\u00fctzt aber mal ehrlich&#8230; wen interessieren sie denn noch wirklich? Das h\u00e4ngt haupts\u00e4chlich mit der etwas veralteten Spezifikation zusammen, in der folgendes vorgeschlagen wird: Bob&#8217;s blog also retrieves other data required from the content of Alice&#8217;s new post, such as the page title, an [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[2],"tags":[5171,992,944,164,716,994],"class_list":{"0":"post-5307","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-web","7":"tag-fediblog","8":"tag-indieweb","9":"tag-indiewebcamp","10":"tag-microformats","11":"tag-pingback","12":"tag-webmention","13":"h-entry","14":"hentry"},"_links":{"self":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/posts\/5307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/comments?post=5307"}],"version-history":[{"count":2,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/posts\/5307\/revisions"}],"predecessor-version":[{"id":21324,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/posts\/5307\/revisions\/21324"}],"wp:attachment":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/media?parent=5307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/categories?post=5307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/tags?post=5307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}