{"id":35,"date":"2006-06-14T21:52:34","date_gmt":"2006-06-15T05:52:34","guid":{"rendered":"http:\/\/simplepie.org\/blog\/2006\/06\/14\/35\/"},"modified":"2006-06-19T09:56:14","modified_gmt":"2006-06-19T17:56:14","slug":"internationalized-domain-name-support-on-the-trunk","status":"publish","type":"post","link":"https:\/\/simplepie.org\/blog\/2006\/06\/14\/internationalized-domain-name-support-on-the-trunk\/","title":{"rendered":"Internationalized Domain Name support on the trunk"},"content":{"rendered":"<div class=\"blogimage\"><img decoding=\"async\" src=\"\/images\/128\/friend.png\" alt=\"Japanese\" \/><\/div>\n<p><a href=\"http:\/\/sporkmonger.com\">Bob Aman<\/a> did a <a href=\"http:\/\/sporkmonger.com\/articles\/2006\/02\/27\/directory-of-feed-parsers\">review of SimplePie<\/a> and several other feed parsers a while back.  The version of SimplePie he reviewed was Beta 1.  Bob&#8217;s comments were very helpful in letting us know what was important from software in SimplePie&#8217;s genre, and we were able to go back and improve SimplePie Beta 2 significantly because of his feedback.<\/p>\n<p>When we released Beta 2, I sent Bob an email asking him to take another look at SimplePie.  Here was my message:<\/p>\n<blockquote><p>\nBob,<\/p>\n<p>I&#8217;d invite you to check out and evaluate the latest version of SimplePie, Beta 2. (<a href=\"http:\/\/simplepie.org\">http:\/\/simplepie.org<\/a>)<\/p>\n<p>We&#8217;ve gone back and added support for most of the things you mentioned in the comments from <a href=\"http:\/\/sporkmonger.com\/articles\/2006\/02\/27\/directory-of-feed-parsers\">http:\/\/sporkmonger.com\/articles\/2006\/02\/27\/directory-of-feed-parsers<\/a> (among many other things).  We&#8217;re still going through the feedparser.org unit tests though, but we&#8217;d be interested in your thoughts as a critic.<\/p>\n<p>Thanks!\n<\/p><\/blockquote>\n<p>Shortly after I sent him the message, he replied with:<\/p>\n<blockquote><p>\nHeh, I pwned it on my first try:<\/p>\n<p><a href=\"http:\/\/www.???.com\/feed\">http:\/\/www.???.com\/feed<\/a><\/p>\n<p>\ud83d\ude42<\/p>\n<p>I tried it on less scary feeds though, it looks like you guys have made a lot of improvements.  Good job.  Much appreciated.<\/p>\n<p>Cheers,<br \/>\nBob Aman\n<\/p><\/blockquote>\n<p>Bob additionally had this to say on his blog:<\/p>\n<blockquote><p>\n&#8220;It&#8217;s probably one of the best choices for PHP-based parsers.&#8221;\n<\/p><\/blockquote>\n<p>Thanks Bob!  But I digress&#8230;<\/p>\n<p>Ah boy.  <a href=\"http:\/\/en.wikipedia.org\/wiki\/Internationalized_domain_names\">Internationalized Domain Names<\/a> (IDN).  When I first saw this, I realized it would be an important feature, but knew that for the kind of work that&#8217;d take, we would probably have to push it off to SimplePie 1.1.  After Googling around a bit, I found a <a href=\"http:\/\/idnaconv.phlymail.de\/\">PHP library that can translate IDN&#8217;s into friendlier domain names<\/a> that SimplePie (and more specifically, the CURL extension) can handle.<\/p>\n<p>I decided that with the size of the library, it probably wasn&#8217;t something that we&#8217;d build directly into SimplePie (especially considering how few people are likely to use it), but if you download and include the library, and enable the <code>enable_idn()<\/code> configuration option, the latest SimplePie trunk build will utilize the functionality without a hitch.<\/p>\n<p>The necessary files are being bundled with the SimplePie trunk build.  We&#8217;ve also added Bob&#8217;s &#8220;scary&#8221; feed to the demo page for you to check out.  As usual, we test the bleeding edge trunk and branch releases for <a href=\"http:\/\/php4.skyzyx.net\/simplepie\/demo\/\">PHP 4<\/a> and <a href=\"http:\/\/php5.skyzyx.net\/simplepie\/demo\/\">PHP 5<\/a> on our development domain.  For all you bleeding edge folks, happy IDNing!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bob Aman did a review of SimplePie and several other feed parsers a while back. The version of SimplePie he reviewed was Beta 1. Bob&#8217;s comments were very helpful in letting us know what was important from software in SimplePie&#8217;s genre, and we were able to go back and improve SimplePie Beta 2 significantly because [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-35","post","type-post","status-publish","format-standard","hentry","category-simplepie"],"_links":{"self":[{"href":"https:\/\/simplepie.org\/blog\/wp-json\/wp\/v2\/posts\/35","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/simplepie.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/simplepie.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/simplepie.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/simplepie.org\/blog\/wp-json\/wp\/v2\/comments?post=35"}],"version-history":[{"count":0,"href":"https:\/\/simplepie.org\/blog\/wp-json\/wp\/v2\/posts\/35\/revisions"}],"wp:attachment":[{"href":"https:\/\/simplepie.org\/blog\/wp-json\/wp\/v2\/media?parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/simplepie.org\/blog\/wp-json\/wp\/v2\/categories?post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/simplepie.org\/blog\/wp-json\/wp\/v2\/tags?post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}