{"id":1234,"date":"2010-08-24T17:19:29","date_gmt":"2010-08-24T08:19:29","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/archives\/1234"},"modified":"2010-08-24T17:19:33","modified_gmt":"2010-08-24T08:19:33","slug":"net%ef%bc%88c%e3%81%a7rss%e3%83%95%e3%82%a3%e3%83%bc%e3%83%89%e3%82%92%e5%8f%97%e4%bf%a1%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"http:\/\/www.moonmile.net\/blog\/archives\/1234","title":{"rendered":".NET\uff08C#)\u3067RSS\u30d5\u30a3\u30fc\u30c9\u3092\u53d7\u4fe1\u3059\u308b"},"content":{"rendered":"<p>\n    \u30a2\u30e1\u30d6\u30ed\u306e\u30a2\u30ec\u95a2\u9023\u3067\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u6d77\u5916\uff08\u82f1\u8a9e\u570f\uff09\u306e\u30b5\u30a4\u30c8\u3092\u30af\u30ed\u30fc\u30eb\u3057\u3066\u3001\u307e\u3068\u3081\u30d6\u30ed\u30b0\u3092\u4f5c\u308d\u3046\u304b\u306a\u3068\u3002\n<\/p>\n<p>\n    Google \u306e\u30af\u30ed\u30fc\u30eb\u76ee\u5f53\u3066\u306a\u306e\u3067\u3001Wordpress \u3067\u7acb\u3066\u308b\u3060\u3051\u3067\u5341\u5206\u306a\u306e\u3067\u3001\n<\/p>\n<p>\n    \u624b\u9806\u3068\u3057\u3066\u306f\u3001\n<\/p>\n<ol>\n<li>\u4e3b\u8981\u306a\u82f1\u8a9e\u570f\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u7cfb\u30d6\u30ed\u30b0\u304b\u3089\u3001RSS \u3092\u53d7\u4fe1\n    <\/li>\n<li>\u9069\u5f53\u306b\u30b5\u30de\u30ea\u3092\u6574\u5f62\u3057\u3066\u3001\u5b9a\u671f\u7684\u306b\u30d6\u30ed\u30b0\u306b\u30a2\u30c3\u30d7\n    <\/li>\n<\/ol>\n<p>\n    \u3092\u81ea\u52d5\u5316\u3055\u305b\u307e\u3059\u3002\n<\/p>\n<p>\n    \u82f1\u8a9e\u570f\u306e\u30d6\u30ed\u30b0\u3092\u96c6\u3081\u308b\u306e\u306f\u3001Google \u306e\u30af\u30ed\u30fc\u30eb\u306b\u5bfe\u5fdc\u3059\u308b\u305f\u3081\u3067\u3059\u3002\u3053\u306e\u30d6\u30ed\u30b0\u3082\u305d\u3046\u3067\u3059\u304c\u3001\u82f1\u5358\u8a9e\uff08\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u7cfb\u306e\u7528\u8a9e\uff09\u304c\u5165\u3063\u3066\u3044\u308b\u30d6\u30ed\u30b0\u306f\u3001\u7d50\u69cb Google \u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u6570\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u3041\u3001\u30ed\u30dc\u30c3\u30c8\u306e\u30a2\u30af\u30bb\u30b9\u304c\u3042\u3063\u305f\u3068\u3053\u308d\u3067\u3001\u3069\u3046\u3068\u3044\u3046\u3053\u3068\u3082\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u30a2\u30e1\u30d6\u30ed\u306e\u30a2\u30ec\u3092\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30ed\u30dc\u30c3\u30c8\u3067\u3042\u3063\u3066\u3082\u30a2\u30af\u30bb\u30b9\u304c\u3042\u308b\u307b\u3046\u304c\u3044\u3044\u306e\u3067\u3002\n<\/p>\n<p>\n    \u3068\u3044\u3046\u8a33\u3067\u3001\u5b9a\u671f\u7684\u306b2,000PV\/\u65e5\u3050\u3089\u3044\u3042\u308b\u30b5\u30a4\u30c8\u3092\u4f5c\u308a\u307e\u3059\u3002\n<\/p>\n<p>\n    RSS \u3067\u96c6\u3081\u308b\u3068\u304d\u306b\u3001PHP \u3067\u66f8\u3044\u3066\u3082\u3044\u3044\u3093\u3067\u3059\u304c\u3001\u307e\u3041\u3001.NET \u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f5c\u308a\u307e\u3059\u3002\n<\/p>\n<p>\n    .NET \u306b\u306f\u3001RSS&nbsp;\u30d5\u30a3\u30fc\u30c9\u306e\u30af\u30e9\u30b9\u304c\u3042\u3063\u3066\u3001\n<\/p>\n<p>\n    System.ServiceModel.Syndication \u3092\u53c2\u7167\u8a2d\u5b9a\u3057\u307e\u3059\u3002\n<\/p>\n<p>\n    RSS 2.0\uff0fATOM 1.0\u30d5\u30a3\u30fc\u30c9\u3092\u51e6\u7406\u3059\u308b\u306b\u306f\uff1f\uff3b3.5\u3001C#\u3001VB\uff3d<a href=\"http:\/\/www.atmarkit.co.jp\/fdotnet\/dotnettips\/753rssfeed\/rssfeed.html\">http:\/\/www.atmarkit.co.jp\/fdotnet\/dotnettips\/753rssfeed\/rssfeed.html<\/a>\n<\/p>\n<p>\n    \u3092\u53c2\u8003\u306b\u3057\u3066\u3001\u4f5c\u3063\u305f\u306e\u304c\u3053\u308c\uff08\u307b\u3068\u3093\u3069\u540c\u3058\u3067\u3059\u304c\uff09\u3002\n<\/p>\n<blockquote style=\"MARGIN-RIGHT: 0px\" dir=\"ltr\">\n<p>\n        class Program<br \/>\n        {<br \/>\n        &nbsp;&nbsp;&nbsp; static void Main(string[] args)<br \/>\n        &nbsp;&nbsp;&nbsp; {<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (args.Count() != 1)<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Usage();<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return;<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string url = args[0];\n    <\/p>\n<p>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; using (XmlReader rd = XmlReader.Create(url))<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SyndicationFeed feed = SyndicationFeed.Load(rd);<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine(&#8220;\u984c\u540d: {0}&#8221;, feed.Title.Text);<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine(&#8220;\u8a73\u7d30: {0}&#8221;, feed.Description.Text);<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; foreach (SyndicationItem item in feed.Items)<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine(&#8220;&#8212;&#8220;);<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine(&#8220;\u4ef6\u540d: {0}&#8221;, item.Title.Text);<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine(&#8220;\u65e5\u4ed8: {0}&#8221;, item.PublishDate.ToString());<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine(&#8220;\u5185\u5bb9: {0}&#8221;, item.Summary.Text);<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine(&#8220;&#8212;&#8220;);<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }\n    <\/p>\n<p>\n        &nbsp;&nbsp;&nbsp; }\n    <\/p>\n<p>\n        &nbsp;&nbsp;&nbsp; static void Usage()<br \/>\n        &nbsp;&nbsp;&nbsp; {<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine(&#8220;ReadRSS [URL]&#8221;);<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine(&#8220;URL: RSS\u914d\u4fe1\u306eURL&#8221;);<br \/>\n        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return;<br \/>\n        &nbsp;&nbsp;&nbsp; }<br \/>\n        }\n    <\/p>\n<\/blockquote>\n<p>\n    \u5f15\u6570\u306bURL\u3092\u6307\u5b9a\u3057\u3066\u3001RSS\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u53d7\u4fe1\u3057\u307e\u3059\u3002\n<\/p>\n<p>\n    \u3053\u308c\u3092\u30d0\u30c3\u30c1\u306b\u3059\u308b\u304b\u3001\u5e38\u99d0\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u3059\u308b\u304b\u3059\u308c\u3070\uff2f\uff2b\u3067\u3059\u306d\u3002RSS\u30ea\u30fc\u30c0\u30fc\u3092\u4f5c\u308b\u6c17\u306f\u306a\u3044\u306e\u3067\u3001UI\u306f\u3069\u3046\u3067\u3082\u3044\u3044\u306e\u3067\u3059\u3002DB\u306b\u5165\u308c\u308b\u304b\u3001XML\u5f62\u5f0f\u3067\u4fdd\u5b58\u3059\u308b\u304b\u3001\u3068\u3044\u3046\u3068\u3053\u308d\u3067\u3059\u3002\n<\/p>\n<p>\n    \u3082\u3046\u4e00\u65b9\u306e\u30d6\u30ed\u30b0\u3078\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u3059\u304c\u3001XML-RPC\u3092\u4f7f\u3046\u304b\u3001Atom Publishing \u3092\u4f7f\u3044\u307e\u3059\u3002\u3069\u3046\u3084\u3089\u3001\n<\/p>\n<p>\n    XML-RPC.Net<br \/>\n    <a href=\"http:\/\/www.xml-rpc.net\/\">http:\/\/www.xml-rpc.net\/<\/a>\n<\/p>\n<p>\n    \u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u3066\u3001\u3055\u3063\u304f\u308a\u3068 WordPress \u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u308c\u3070\u3001\u305d\u308c\u3067\u5341\u5206\u304b\u3082\u3001\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002\n<\/p>\n<p>\n    \u3067\u3001\n<\/p>\n<p>\n    \u3075\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u81ea\u52d5\u306b\u3059\u308b\u306e\u3067\u3042\u308c\u3070\u3001\u4f55\u3082 wordpress \u306a\u3069\u3092\u7d4c\u7531\u3059\u308b\u5fc5\u8981\u306f\u306a\u3044\u3093\u3067\u3059\u3088\u306d\u3002\u76f4\u63a5 HTML \u3092\u5410\u304d\u51fa\u3057\u3066\u3001ftp \u3067\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3001\u30d0\u30c3\u30c1\u3092\u66f8\u3051\u3070\u3044\u3044\u308f\u3051\u3067&#8230;\u3053\u3063\u3061\u306e\u307b\u3046\u304c\u79c1\u7684\u306b\u306f\u7c21\u5358\u305d\u3046\u3002\n<\/p>\n<p>\n    wordpress \u3092\u5229\u7528\u3057\u305f\u307b\u3046\u304c\u3001\u30c7\u30b6\u30a4\u30f3\u9762\u3067\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u6d41\u7528\u304c\u3067\u304d\u308b\u306e\u3067\u3059\u304c\u3001\u4eca\u56de\u306e\u76ee\u7684\u306f\u300c\u30a2\u30e1\u30d6\u30ed\u306e\u30a2\u30ec\u300d\u306e\u305f\u3081\u306e\u30b5\u30a4\u30c8\u306a\u306e\u3067\u3001\u4eba\u9593\u306b\u5bfe\u3059\u308b\u30c7\u30b6\u30a4\u30f3\u306f\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093\u3002\n<\/p>\n<p>\n    \u307e\u3042\u3001\u96fb\u5b50\u66f8\u7c4d\u30b5\u30a4\u30c8\u306e\u6280\u8853\u8abf\u67fb\u3082\u542b\u3081\u3066\u3001XML-RPC.NET \u3092\u4f7f\u3063\u3066\u307f\u307e\u3059\u304b\u3002\u3061\u3087\u3063\u3068\u601d\u6848\u3002\n<\/p>\n<p>\n    &nbsp;\n<\/p>\n<p>\n    &nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30a2\u30e1\u30d6\u30ed\u306e\u30a2\u30ec\u95a2\u9023\u3067\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u6d77\u5916\uff08\u82f1\u8a9e\u570f\uff09\u306e\u30b5\u30a4\u30c8\u3092\u30af\u30ed\u30fc\u30eb\u3057\u3066\u3001\u307e\u3068\u3081\u30d6\u30ed\u30b0\u3092\u4f5c\u308d\u3046\u304b\u306a\u3068\u3002 Google \u306e\u30af\u30ed\u30fc\u30eb\u76ee\u5f53\u3066\u306a\u306e\u3067\u3001Wordpress \u3067\u7acb\u3066\u308b\u3060\u3051\u3067\u5341\u5206\u306a\u306e\u3067\u3001 \u624b\u9806\u3068\u3057\u3066\u306f\u3001 \u4e3b\u8981\u306a\u82f1\u8a9e\u570f\u306e\u30d7 &hellip; <a href=\"http:\/\/www.moonmile.net\/blog\/archives\/1234\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1234","post","type-post","status-publish","format-standard","hentry","category-dev"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/1234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=1234"}],"version-history":[{"count":1,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/1234\/revisions"}],"predecessor-version":[{"id":1235,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/1234\/revisions\/1235"}],"wp:attachment":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=1234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=1234"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=1234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}