{"id":1080,"date":"2011-08-31T02:40:47","date_gmt":"2011-08-30T17:40:47","guid":{"rendered":"http:\/\/codaholic.org\/?p=1080"},"modified":"2023-06-04T18:10:46","modified_gmt":"2023-06-04T09:10:46","slug":"phpphp-simple-html-dom-parser%e3%81%a7%e7%b9%b0%e3%82%8a%e8%bf%94%e3%81%97%e5%87%a6%e7%90%86%e3%82%92%e8%a1%8c%e3%81%86%e3%81%a8%e3%83%a1%e3%83%a2%e3%83%aa%e3%81%8c%e5%a4%a7%e9%87%8f%e3%81%ab","status":"publish","type":"post","link":"https:\/\/codaholic.org\/?p=1080","title":{"rendered":"[PHP] PHP Simple HTML DOM Parser \u3067\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3092\u884c\u3046\u3068\u30e1\u30e2\u30ea\u304c\u5927\u91cf\u306b\u6d88\u8cbb\u3055\u308c\u308b\u306e\u3092\u56de\u907f\u3059\u308b"},"content":{"rendered":"<p><a href=\"https:\/\/simplehtmldom.sourceforge.net\/\" target=\"_blank\" rel=\"noopener\">PHP Simple HTML DOM Parser<\/a>\u3068\u3044\u3046 HTML \u3092\u30d1\u30fc\u30b9\u3092\u884c\u3044 jQuery \u306e\u3088\u3046\u306b\u7c21\u5358\u306b\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3042\u308b\u306e\u3067\u3059\u304c\u3001for \u306a\u3069\u3067\u7e70\u308a\u8fd4\u3057\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3068\u5927\u91cf\u306b\u30e1\u30e2\u30ea\u3092\u6d88\u8cbb\u3057\u3066\u3057\u307e\u3044\u51e6\u7406\u304c\u4e2d\u65ad\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u306e\u539f\u56e0\u3092\u8abf\u3079\u305f\u3068\u3053\u308d\u6709\u540d\u306a\u73fe\u8c61\u306e\u3088\u3046\u3067\u3059\u3050\u306b\u89e3\u6c7a\u7b56\u304c\u898b\u3064\u304b\u308a\u307e\u3057\u305f\u3002\u4e0b\u8a18\u306e\u3088\u3046\u306b <code>$html<\/code> \u306e\u4f7f\u7528\u304c\u7d42\u308f\u3063\u305f\u3089 <code>clear<\/code> \u30e1\u30bd\u30c3\u30c9\u306e\u5b9f\u884c\u3057\u3001<code>$html<\/code> \u3082 <code>unset<\/code> \u3059\u308b\u3053\u3068\u3067 for \u3067\u7e70\u308a\u8fd4\u3057\u3066\u3082\u30e1\u30e2\u30ea\u306e\u5927\u91cf\u6d88\u8cbb\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u306f\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre><code class=\"language-php\">$html = file_get_html(...); \n\/\/ do something... \n$html-&gt;clear(); \nunset($html);\n<\/code><\/pre>\n<p>\u53c2\u8003<br \/>\n\u3000<a href=\"http:\/\/simplehtmldom.sourceforge.net\/manual_faq.htm\" target=\"_blank\" rel=\"noopener\">http:\/\/simplehtmldom.sourceforge.net\/manual_faq.htm<\/a><br \/>\n\u3000<a href=\"http:\/\/looxu.blogspot.com\/2010\/07\/blog-post.html\" target=\"_blank\" rel=\"noopener\">http:\/\/looxu.blogspot.com\/2010\/07\/blog-post.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP Simple HTML DOM Parser\u3068\u3044\u3046 HTML \u3092\u30d1\u30fc\u30b9\u3092\u884c\u3044 jQuery \u306e\u3088\u3046\u306b\u7c21\u5358\u306b\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u3042\u308b\u306e\u3067\u3059\u304c\u3001for \u306a\u3069\u3067\u7e70\u308a\u8fd4\u3057\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3068\u5927\u91cf\u306b\u30e1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[4],"tags":[244],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8gd1W-hq","_links":{"self":[{"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/posts\/1080"}],"collection":[{"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codaholic.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1080"}],"version-history":[{"count":4,"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/posts\/1080\/revisions"}],"predecessor-version":[{"id":2683,"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/posts\/1080\/revisions\/2683"}],"wp:attachment":[{"href":"https:\/\/codaholic.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codaholic.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codaholic.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}