{"id":2107,"date":"2012-07-24T15:23:39","date_gmt":"2012-07-24T06:23:39","guid":{"rendered":"http:\/\/www.ka-net.org\/blog\/?p=2107"},"modified":"2013-01-30T17:06:07","modified_gmt":"2013-01-30T08:06:07","slug":"javascript-api-for-officerss%e8%a1%a8%e7%a4%ba%e3%82%a2%e3%83%97%e3%83%aa%e3%82%92%e4%bd%9c%e6%88%90%e3%81%99%e3%82%8b%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.ka-net.org\/blog\/?p=2107","title":{"rendered":"[Office\u7528\u30a2\u30d7\u30ea]RSS\u8868\u793a\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3002"},"content":{"rendered":"<p><span style=\"color: #ff0000; font-weight: bold;\">\u203b \u3053\u306e\u60c5\u5831\u306fOffice 2013 \u30ab\u30b9\u30bf\u30de\u30fc \u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3092\u5143\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u88fd\u54c1\u7248\u3067\u306f\u5909\u66f4\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p>\u4eca\u56de\u306f<a href=\"https:\/\/developers.google.com\/feed\/\" title=\"Google Feed API\" target=\"_blank\">Google Feed API<\/a>\u3092\u5229\u7528\u3057\u3066\u3001\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306bRSS\u3092\u8868\u793a\u3059\u308b\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3059\u3002<br \/>\n\u30a2\u30d7\u30ea\u306e\u8a2d\u5b9a\u3084\u767b\u9332\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3053\u3053\u3067\u306f\u8aac\u660e\u3057\u307e\u305b\u3093\u306e\u3067\u3001<a href=\"\/\/www.ka-net.org\/blog\/?p=2022\" title=\"JavaScript\u3067Excel 2013\u7528\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3002(2)\" target=\"_blank\">JavaScript\u3067Excel 2013\u7528\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3002(2)<\/a>\u3084<a href=\"\/\/www.ka-net.org\/blog\/?p=2050\" title=\"JavaScript\u3067Excel 2013\u7528\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3002(3)\" target=\"_blank\">JavaScript\u3067Excel 2013\u7528\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3002(3)<\/a>\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><strong>\u30fbhtml<\/strong><\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n    &lt;head&gt;\r\n        &lt;meta charset=&quot;UTF-8&quot;&gt;\r\n        &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=Edge&quot;&gt;\r\n        &lt;script src=&quot;http:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/1.7.2\/jquery.min.js&quot;&gt;&lt;\/script&gt;\r\n        &lt;script src=&quot;https:\/\/www.google.com\/jsapi&quot;&gt;&lt;\/script&gt;\r\n        &lt;script src=&quot;https:\/\/az88874.vo.msecnd.net\/api\/1.0\/office.js&quot;&gt;&lt;\/script&gt;\r\n        &lt;script&gt;\r\n            Office.initialize = function (reason) {\r\n                $(document).ready(function () {\r\n                    $(&quot;#feeds&quot;).change(function() {\r\n                        if ($(this).val()) {\r\n                            rssInit($(this).val());\r\n                        } else {\r\n                            $(&quot;#feed&quot;).html(&quot;&quot;); \/\/\u30ea\u30b9\u30c8\u30af\u30ea\u30a2\r\n                        }\r\n                    });\r\n                });\r\n            }\r\n            if (!google.feeds) {google.load(&quot;feeds&quot;, &quot;1&quot;)}; \/\/API\u306e\u30ed\u30fc\u30c9\r\n            function rssInit(url) {\r\n                var feed = new google.feeds.Feed(url);\r\n                feed.setNumEntries(10); \/\/\u4ef6\u6570\u6307\u5b9a\r\n                feed.load(function(result) {\r\n                    if (!result.error) {\r\n                        $(&quot;#feed&quot;).html(&quot;&quot;); \/\/\u30ea\u30b9\u30c8\u30af\u30ea\u30a2\r\n                        var items = result.feed.entries;\r\n                        $(&quot;#feed&quot;).append('&lt;ul id=&quot;list&quot; \/&gt;');\r\n                        if (items.length &gt; 0) {\r\n                            $(items).each(function() {\r\n                                $(&quot;#list&quot;).append('&lt;li&gt;&lt;a href=&quot;' + this.link + '&quot; title=&quot;' + this.title + '\\n' + this.publishedDate + '&quot;&gt;' + this.title + '&lt;\/a&gt;&lt;\/li&gt;');\r\n                            });\r\n                        }\r\n                    }\r\n                });\r\n            }\r\n        &lt;\/script&gt;\r\n        &lt;style&gt;\r\n            body {\r\n                font-family:Arial,sans-serif;\r\n                font-size:0.9em;\r\n            }\r\n            select {width:200px;}\r\n            li {\r\n                list-style-type:circle;\r\n                border-top:1px solid #ffffff;\r\n                border-bottom:1px solid #999999;\r\n            }\r\n            li:first-child {border-top:0px;}\r\n            li:last-child {border-bottom:0px;}\r\n            li a {\r\n                text-decoration:none;\r\n                color:#333333;\r\n                display:block;\r\n                padding:5px 10px;\r\n            }\r\n            li a:hover {\r\n                color:#ffffff;\r\n                background:#ff73c8;\r\n            }\r\n        &lt;\/style&gt;\r\n    &lt;\/head&gt;\r\n    &lt;body&gt;\r\n        &lt;select id=&quot;feeds&quot;&gt;\r\n            &lt;option value=&quot;&quot;&gt;\u30d5\u30a3\u30fc\u30c9\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002&lt;\/option&gt;\r\n            &lt;option value=&quot;http:\/\/rss.dailynews.yahoo.co.jp\/fc\/rss.xml&quot;&gt;\u30c8\u30d4\u30c3\u30af\u30b9\u30c8\u30c3\u30d7&lt;\/option&gt;\r\n            &lt;option value=&quot;http:\/\/rss.dailynews.yahoo.co.jp\/fc\/world\/rss.xml&quot;&gt;\u6d77\u5916&lt;\/option&gt;\r\n            &lt;option value=&quot;http:\/\/rss.dailynews.yahoo.co.jp\/fc\/entertainment\/rss.xml&quot;&gt;\u30a8\u30f3\u30bf\u30fc\u30c6\u30a4\u30f3\u30e1\u30f3\u30c8&lt;\/option&gt;\r\n            &lt;option value=&quot;http:\/\/rss.dailynews.yahoo.co.jp\/fc\/computer\/rss.xml&quot;&gt;\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf&lt;\/option&gt;\r\n            &lt;option value=&quot;http:\/\/rss.dailynews.yahoo.co.jp\/fc\/local\/rss.xml&quot;&gt;\u5730\u57df&lt;\/option&gt;\r\n            &lt;option value=&quot;http:\/\/rss.dailynews.yahoo.co.jp\/fc\/domestic\/rss.xml&quot;&gt;\u56fd\u5185&lt;\/option&gt;\r\n            &lt;option value=&quot;http:\/\/rss.dailynews.yahoo.co.jp\/fc\/economy\/rss.xml&quot;&gt;\u7d4c\u6e08&lt;\/option&gt;\r\n            &lt;option value=&quot;http:\/\/rss.dailynews.yahoo.co.jp\/fc\/sports\/rss.xml&quot;&gt;\u30b9\u30dd\u30fc\u30c4&lt;\/option&gt;\r\n            &lt;option value=&quot;http:\/\/rss.dailynews.yahoo.co.jp\/fc\/science\/rss.xml&quot;&gt;\u30b5\u30a4\u30a8\u30f3\u30b9&lt;\/option&gt;\r\n        &lt;\/select&gt;\r\n        &lt;div id=&quot;message&quot;&gt;&lt;\/div&gt;\r\n        &lt;div id=&quot;feed&quot;&gt;&lt;\/div&gt;\r\n    &lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>\u4e0a\u8a18\u30b3\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u305f\u30a2\u30d7\u30ea\u3092\u633f\u5165\u3059\u308b\u3068\u3001\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u30bb\u30ec\u30af\u30c8\u30dc\u30c3\u30af\u30b9\u304b\u3089\u9078\u629e\u3057\u305fRSS\u30d5\u30a3\u30fc\u30c9\u3092\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u898b\u51fa\u3057\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u8a72\u5f53\u8a18\u4e8b\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_16_01.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_16_01-300x235.jpg\" alt=\"\" title=\"Office2013_16_01\" width=\"300\" height=\"235\" class=\"alignnone size-medium wp-image-2108\" srcset=\"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_16_01-300x235.jpg 300w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_16_01-290x227.jpg 290w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_16_01-150x117.jpg 150w, https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/Office2013_16_01.jpg 910w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306bWeb API\u3068Javascript\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u975e\u5e38\u306b\u7c21\u5358\u306b\u5b9f\u7528\u7684\u306a\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u203b \u3053\u306e\u60c5\u5831\u306fOffice 2013 \u30ab\u30b9\u30bf\u30de\u30fc \u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3092\u5143\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u88fd\u54c1\u7248\u3067\u306f\u5909\u66f4\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002 \u4eca\u56de\u306fGoogle Feed API\u3092\u5229\u7528\u3057\u3066\u3001\u4f5c\u696d\u30a6\u30a3\u30f3\u30c9\u30a6\u306bRSS\u3092\u8868\u793a\u3059\u308b\u30a2 [&hellip;]","protected":false},"author":1,"featured_media":7119,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[130,4,79],"tags":[74,77],"class_list":["post-2107","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apps-for-office","category-office","category-office2013","tag-office-2013","tag-apps-for-office"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.ka-net.org\/blog\/wp-content\/uploads\/eyecatch-OfficeAddins.png","jetpack_shortlink":"https:\/\/wp.me\/p4UZZr-xZ","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2107"}],"version-history":[{"count":3,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2107\/revisions"}],"predecessor-version":[{"id":2667,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2107\/revisions\/2667"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=\/wp\/v2\/media\/7119"}],"wp:attachment":[{"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ka-net.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}