<?php class NP_BlogRollingJP extends NucleusPlugin { function getName() { return 'BlogRolling JP'; } function getAuthor() { return 'Osamu Higuchi'; } function getURL() { return 'http://www.higuchi.com/'; } function getVersion() { return '1.0'; } function getDescription() { return 'Shows your Blogroll list from blogrolling.com. Re-encode Japanese characters in the list line by line into a single character code set. Usage: <%BlogRollingJP(http://rpc.blogrolling.com/display_raw.php?r=0123456789abcdef0123456789abcdef)%> Use your own URL from the blogrolling.com code generator.'; } function doSkinVar($skinType, $url) { if($blogroll = @file($url)){ foreach ($blogroll as $blog){ echo @mb_convert_encoding($blog, _CHARSET, "auto"); } }else{ echo "ERROR: $url is currently inaccessible"; } } } ?>