{"id":129720,"date":"2011-04-27T08:00:00","date_gmt":"2011-04-27T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/pingchecker\/"},"modified":"2011-07-07T21:56:00","modified_gmt":"2011-07-07T21:56:00","slug":"pingchecker","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/pingchecker\/","title":{"rendered":"Pingchecker"},"content":{"rendered":"<p>Pingchecker is a free plugin for WordPress that allows you to scan your post\u2019s content for<br \/>\nlinks, check the pingability of those resources you\u2019ve linked to, and manually ping those<br \/>\npages. This improves upon the inbuilt fuctionality of WordPress by allowing you to receive<br \/>\nthe results of your attempted pings whereas WordPress doesn\u2019t. (With WordPress your ping<br \/>\neither appears in the trackback list or it doesn\u2019t, with no explanation or error codes.)<\/p>\n<p>Also included is a workaround for a bug in the WordPress XML RPC server that prevents many<br \/>\nof your pingbacks from succeeding without you even knowing about it! When you ping another<br \/>\nblogs server, it will check the page you linked, BUT because of this bug, sometimes it can\u2019t<br \/>\nfind the link at all. This workaround adds a hidden div to your footer with your links so<br \/>\nthey can be found, greatly improving your chances of a successful ping.<\/p>\n<h3>Recommended Use<\/h3>\n<ol>\n<li>Before publishing your post, use Pingchecker to check the pingability of the resources<br \/>\nyou are linking to. If they aren\u2019t, you may wish to choose alternative similar resources<br \/>\nthat are pingable instead.<\/li>\n<li>Then, publish your post and WordPress will attempt to ping the resources automatically<br \/>\nas it normally would. Check the trackback list under your content box to see if your ping<br \/>\nwas successful as usual.<\/li>\n<li>If the new trackback\/pingback does not appear, use Pingchecker to ping the resource<br \/>\ninstead. The results of your attempted pings will be returned in an alert box.<\/li>\n<\/ol>\n<h3>The XML RPC Server Bug Workaround<\/h3>\n<p>While working on this plugin I noticed a large occurrence of the pingback fault 17:<br \/>\n\u201cThe source URL does not contain a link to the target URL, and so cannot be used as a source.\u201d<br \/>\nA really frustrating message given you are sending a pingback because the source DOES contain<br \/>\na link to the target, yes? Might I point out that very few WordPress users are aware of this<br \/>\neven happening because nowhere does WordPress actually return you these fault codes..!<\/p>\n<p>Well, after a bit of testing I found the bug seems to be in the XML RPC server code for<br \/>\nWordpress, specifically the strip_tags function in PHP is just not reliable enough for getting<br \/>\nanchor links on the variety of WordPress templates out there (IMHO). (Line 3422 in WP3.1)<\/p>\n<p>Unfortunately, since the bug is in the server code itself, you can\u2019t fix it on someone elses<br \/>\nblog can you? That\u2019s why this is a workaround instead. The Pingchecker workaround will scan<br \/>\nyour post content for links using regex instead, then echo a hidden div element containing<br \/>\nall the links (with an added nofollow tag so you aren\u2019t linking twice) in your blogs footer,<br \/>\nwhich is picked up much more easily by the strip_tags function in use by the server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scans post for links, checks if they are pingeable and sends pingbacks with results returned, improves chances of successful pings!<\/p>\n","protected":false},"author":65,"featured_media":322674,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Pingchecker - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Scans post for links, checks if they are pingeable and sends pingbacks with results returned, improves chances of successful pings!"},"footnotes":""},"categories":[1],"tags":[7524,1611,2072,35507,4248],"class_list":["post-129720","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-backlink","tag-ping","tag-pingback","tag-pingchecker","tag-trackback"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/129720","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=129720"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/129720\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/322674"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=129720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=129720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=129720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}