{"id":2090,"date":"2011-03-07T19:07:01","date_gmt":"2011-03-07T10:07:01","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/?p=2090"},"modified":"2011-03-07T19:07:01","modified_gmt":"2011-03-07T10:07:01","slug":"tweetbackup-%e3%82%82%e3%81%a9%e3%81%8d%e3%82%92%e4%bd%9c%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b","status":"publish","type":"post","link":"http:\/\/www.moonmile.net\/blog\/archives\/2090","title":{"rendered":"tweetbackup \u3082\u3069\u304d\u3092\u4f5c\u3063\u3066\u307f\u308b"},"content":{"rendered":"<p>\u30c4\u30a4\u30c3\u30bf\u30fc\u306e\u5168\u767a\u8a00\u3092\u53d6\u5f97\u3059\u308b perl \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4ee5\u524d\u66f8\u3044\u305f\u306e\u3067\u3001<\/p>\n<p>\u6307\u5b9a\u3057\u305fTwitter\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u5168\u30c4\u30a4\u30fc\u30c8\u3092\u53d6\u5f97(perl\u7248)<br \/>\n<a href=\"http:\/\/www.moonmile.net\/blog\/archives\/860\">http:\/\/www.moonmile.net\/blog\/archives\/860<\/a><\/p>\n<p>\u4eca\u56de\u306f\u3001C# \u3092\u4f7f\u3063\u3066\u3082\u3046\u5c11\u3057\u5206\u304b\u308a\u3084\u3059\u304f\u66f8\u304d\u76f4\u3057\u307e\u3059\u3002\u3072\u3068\u307e\u305a\u3001\u629c\u7c8b\u3060\u3051\u30a2\u30c3\u30d7\u3057\u3066\u3001\u5f8c\u3067\u30c4\u30fc\u30eb\u3092\u30a2\u30c3\u30d7\u3068\u3044\u3046\u3053\u3068\u3067\u3002<\/p>\n<p>[code lang=&#8221;csharp&#8221;]<br \/>\n    public class TwiBack<br \/>\n    {<br \/>\n        protected string _user;<br \/>\n        \/\/\/ &lt;summary&gt;<br \/>\n        \/\/\/ \u30a2\u30ab\u30a6\u30f3\u30c8<br \/>\n        \/\/\/ &lt;\/summary&gt;<br \/>\n        public string User<br \/>\n        {<br \/>\n            get { return _user; }<br \/>\n            set { _user = value; }<br \/>\n        }<\/p>\n<p>        protected const string HTTPTWI = &quot;http:\/\/twitter.com&quot;;<\/p>\n<p>        \/\/\/ &lt;summary&gt;<br \/>\n        \/\/\/ \u30c4\u30a4\u30fc\u30c8\u6570<br \/>\n        \/\/\/ &lt;\/summary&gt;<br \/>\n        \/\/\/ &lt;returns&gt;&lt;\/returns&gt;<br \/>\n        public int GetTweetCount()<br \/>\n        {<br \/>\n            string url = string.Format(&quot;{0}\/{1}&quot;, HTTPTWI, _user);<\/p>\n<p>            WebClient web = new WebClient();<br \/>\n            StreamReader sr = new StreamReader( web.OpenRead(url));<\/p>\n<p>            \/\/ &lt;span id=&quot;update_count&quot; class=&quot;stat_count&quot;&gt;2,153&lt;\/span&gt;<br \/>\n            Regex rx = new Regex(&quot;&gt;([0-9,]+)&lt;&quot;);<br \/>\n            while (sr.EndOfStream == false)<br \/>\n            {<br \/>\n                string line = sr.ReadLine();<br \/>\n                if (line.IndexOf(&quot;&lt;span id=\\&quot;update_count\\&quot;&quot;) &gt;= 0)<br \/>\n                {<br \/>\n                    Match mt = rx.Match(line);<br \/>\n                    int count = int.Parse(mt.Groups[1].Value.Replace(&quot;,&quot;, &quot;&quot;));<br \/>\n                    return count;<br \/>\n                }<br \/>\n                \/\/ Console.WriteLine(line);<br \/>\n            }<br \/>\n            return 0;<br \/>\n        }<\/p>\n<p>        \/\/\/ &lt;summary&gt;<br \/>\n        \/\/\/ \u30da\u30fc\u30b8\u756a\u53f7\u3067\u30c4\u30a4\u30fc\u30c8\u3092\u53d6\u5f97<br \/>\n        \/\/\/ &lt;\/summary&gt;<br \/>\n        \/\/\/ &lt;param name=&quot;page&quot;&gt;&lt;\/param&gt;<br \/>\n        \/\/\/ &lt;returns&gt;&lt;\/returns&gt;<br \/>\n        public string GetTweetPage(int page)<br \/>\n        {<br \/>\n            string url = string.Format(&quot;{0}\/{1}?page={2}&quot;, HTTPTWI, _user, page);<\/p>\n<p>            WebClient web = new WebClient();<br \/>\n            StreamReader sr = new StreamReader(web.OpenRead(url));<\/p>\n<p>            \/\/ &lt;li class=&quot;hentry u-moonmile status&quot; id=&quot;status_41673902056935425&quot;<br \/>\n            List&lt;string&gt; lines = new List&lt;string&gt;();<br \/>\n            while (sr.EndOfStream == false)<br \/>\n            {<br \/>\n                string line = sr.ReadLine();<br \/>\n                if (line.IndexOf(&quot;&lt;li class=\\&quot;hentry&quot;) &gt;= 0)<br \/>\n                {<br \/>\n                    lines.Add(line + &quot;\\n&quot;);<br \/>\n                    while (sr.EndOfStream == false)<br \/>\n                    {<br \/>\n                        line = sr.ReadLine();<br \/>\n                        lines.Add( line + &quot;\\n&quot; );<br \/>\n                        if ( line.IndexOf(&quot;&lt;\/li&gt;&quot;) &gt;= 0 ) {<br \/>\n                            break;<br \/>\n                        }<br \/>\n                    }<br \/>\n                }<br \/>\n            }<br \/>\n            string ss = &quot;&quot;;<br \/>\n            foreach ( string s in lines ) {<br \/>\n                ss += s ;<br \/>\n            }<br \/>\n            return ss ;<br \/>\n        }<\/p>\n<p>        \/\/\/ &lt;summary&gt;<br \/>\n        \/\/\/ \u30c4\u30a4\u30fc\u30c8XML\u3092\u30b3\u30f3\u30d0\u30fc\u30c8<br \/>\n        \/\/\/ &lt;\/summary&gt;<br \/>\n        \/\/\/ &lt;param name=&quot;xml&quot;&gt;&lt;\/param&gt;<br \/>\n        \/\/\/ &lt;returns&gt;&lt;\/returns&gt;<br \/>\n        public string ConvXml(string xml)<br \/>\n        {<br \/>\n            EXDoc.EXDocument doc = new EXDocument();<br \/>\n            doc.LoadXML(xml);<\/p>\n<p>            EXDocument dout = new EXDocument();<br \/>\n            \/\/ \u30eb\u30fc\u30c8\u8981\u7d20\u3092\u4f5c\u308b<br \/>\n            dout += &quot;tweets&quot;;<br \/>\n            \/\/ \u5909\u63db\u5143\u3092\u30eb\u30fc\u30d7<br \/>\n            foreach (EXElement twi in doc * &quot;li&quot; )<br \/>\n            {<br \/>\n                \/\/ \u5909\u63db\u5143\u304b\u3089\u53d6\u308a\u51fa\u3059<br \/>\n                string id = twi[&quot;id&quot;].Replace(&quot;status_&quot;, &quot;&quot;);<br \/>\n                string content = ((EXElement)(twi * &quot;span&quot; % &quot;class&quot; == &quot;entry-content&quot;)).Xml;<br \/>\n                string date = twi * &quot;span&quot; % &quot;class&quot; == &quot;published timestamp&quot;;<\/p>\n<p>                Console.WriteLine(id);<br \/>\n                \/\/ \u8981\u7d20\u3092\u4f5c\u308b<br \/>\n                EXElement tweet = dout.Root.Append(&quot;tweet&quot;);<br \/>\n                tweet.Append(&quot;id&quot;).Value = id;<br \/>\n                tweet.Append(&quot;content&quot;).Value = content;<br \/>\n                tweet.Append(&quot;date&quot;).Value  = date;<br \/>\n            }<br \/>\n            return dout.Xml;<br \/>\n        }<br \/>\n    }<br \/>\n[\/code]<\/p>\n<p>TwiBack \u30af\u30e9\u30b9\u306e\u4e2d\u3067\u3001GetTweetCount \u30e1\u30bd\u30c3\u30c9\u3068 GetTweetPage \u30e1\u30bd\u30c3\u30c9\u306f\u30ce\u30fc\u30de\u30eb\u306b Twitter \u306e Web \u30da\u30fc\u30b8\u304b\u3089\u767a\u8a00\u6570\u3068\u767a\u8a00\u3092\u53d6\u5f97\u3057\u3066\u3044\u308b\u3068\u3053\u308d\u3067\u3059\u3002perl \u7248\u3068\u540c\u69d8\u306b\u3001\u30d6\u30e9\u30a6\u30b6\u7d4c\u7531\u3067\u53d6\u5f97\u3059\u308b\u306e\u3067\u3001\u30a2\u30af\u30bb\u30b9\u6570\u5236\u9650\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u305f\u3060\u3001\u8fd4\u4fe1\u3068\u304b\u3057\u3066\u3044\u308b\u306e\u306f\u53d6\u308c\u306a\u3044\u306e\u3067\u3001\u3044\u307e\u3044\u3061\u3067\u3059\u3051\u3069\u306d\u3002\u3053\u306e\u3042\u305f\u308a\u306f\u3001OAuth \u3067\u30ed\u30b0\u30a4\u30f3\u3057\u305f\u5f8c\u306b\u30d6\u30e9\u30a6\u30b6\u7d4c\u7531\u3067\u53d6\u308b\u3088\u3046\u306b\u4fee\u6b63\u3057\u3066\u304d\u307e\u3059\u3002<\/p>\n<p># \u5f53\u521d\u306e\u76ee\u7684\u304c\u4eba\u69d8\u306e\u767a\u8a00\u3092\u5168\u90e8\u53d6\u3063\u3066\u304f\u308b\u306e\u3067\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3068\u306f\u3061\u3087\u3063\u3068\u30cb\u30e5\u30a2\u30f3\u30b9\u304c\u9055\u3046\u306e\u3067\u3059\u3002<\/p>\n<p>\u3067\u3001\u53d6\u5f97\u3057\u305f HTML \u30bf\u30b0\u306f\u3001\u4ee5\u4e0b\u306e\u5f62\u5f0f\u3067\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>[code lang=&#8221;xml&#8221;]<br \/>\n&lt;li class=&quot;hentry u-moonmile status latest-status&quot; id=&quot;status_42686164938932224&quot;&gt;<br \/>\n\t&lt;span class=&quot;status-body&quot;&gt;<br \/>\n\t\t&lt;span class=&quot;status-content&quot;&gt;<br \/>\n        \t&lt;span class=&quot;entry-content&quot;&gt;\u3010\u30e1\u30e2\u3011 \u30af\u30ed\u30fc\u30e9\u306e\u305b\u3044\u3067\u91cd\u304f\u306a\u3063\u305f MT4i \u306e\u5bfe\u7b56 &#8211; Movable Type\u904b\u55b6\u8a18<br \/>\n&lt;a href=&quot;http:\/\/bit.ly\/es5CWf&quot; class=&quot;tweet-url web&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http:\/\/bit.ly\/es5CWf&lt;\/a&gt; &#8212; \u4ee5\u524d\u304b\u3089\u6c17\u306b\u306a\u3063\u3066\u3044\u305f\u3051\u3069\u3001yeti \u306f\u97d3\u56fd\u7cfb\u306e\u30af\u30ed\u30fc\u30e9\u30fc\u306a\u306e\u304b\u3002\u3053\u308c\u3082\u30d6\u30ed\u30c3\u30af\u3002&lt;\/span&gt;<br \/>\n        &lt;\/span&gt;<br \/>\n    \t&lt;span class=&quot;meta entry-meta&quot; data='{}&#8217;&gt;<br \/>\n  \t\t\t&lt;a class=&quot;entry-date&quot; rel=&quot;bookmark&quot; href=&quot;http:\/\/twitter.com\/moonmile\/status\/42686164938932224&quot;&gt;<br \/>\n    \t\t&lt;span class=&quot;published timestamp&quot; data=&quot;{time:&#8217;Tue Mar 01 20:42:29 +0000 2011&#8242;}&quot;&gt;12:42 PM Mar 1st&lt;\/span&gt;<br \/>\n    \t\t&lt;\/a&gt;<br \/>\n  \t\t&lt;span&gt;&lt;a href=&quot;http:\/\/moonmile.net\/&quot; rel=&quot;nofollow&quot;&gt;TwiNetBot&lt;\/a&gt;\u304b\u3089&lt;\/span&gt;<br \/>\n  \t\t&lt;\/span&gt;<br \/>\n        &lt;ul class=&quot;meta-data clearfix&quot;&gt;&lt;\/ul&gt;<br \/>\n  \t&lt;\/span&gt;<br \/>\n&lt;\/li&gt;<br \/>\n[\/code]<\/p>\n<p>\u3053\u306e\u307e\u307e\u3060\u3068\u4f7f\u3044\u3065\u3089\u3044\u306e\u3067\u3001\u5206\u304b\u308a\u3084\u3059\u3044\u3088\u3046\u306b\u6574\u5f62\u3057\u307e\u3059\u3002\u3063\u3066\u3068\u3053\u308d\u3067\u666e\u901a\u306a\u3089\u3070 LINQ to XML \u3092\u4f7f\u3046\u306e\u3067\u3057\u3087\u3046\u304c\u3001\u3048\u3048\u30c3\u305d\u3046\u3067\u3059\u30c3!!! \u81ea\u524d\u306e EXDoc \u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p>[code lang=&#8221;csharp&#8221;]<br \/>\n\/\/\/ &lt;summary&gt;<br \/>\n\/\/\/ \u30c4\u30a4\u30fc\u30c8XML\u3092\u30b3\u30f3\u30d0\u30fc\u30c8<br \/>\n\/\/\/ &lt;\/summary&gt;<br \/>\n\/\/\/ &lt;param name=&quot;xml&quot;&gt;&lt;\/param&gt;<br \/>\n\/\/\/ &lt;returns&gt;&lt;\/returns&gt;<br \/>\npublic string ConvXml(string xml)<br \/>\n{<br \/>\n    EXDoc.EXDocument doc = new EXDocument();<br \/>\n    doc.LoadXML(xml);<\/p>\n<p>    EXDocument dout = new EXDocument();<br \/>\n    \/\/ \u30eb\u30fc\u30c8\u8981\u7d20\u3092\u4f5c\u308b<br \/>\n    dout += &quot;tweets&quot;;<br \/>\n    \/\/ \u5909\u63db\u5143\u3092\u30eb\u30fc\u30d7<br \/>\n    foreach (EXElement twi in doc * &quot;li&quot; )<br \/>\n    {<br \/>\n        \/\/ \u5909\u63db\u5143\u304b\u3089\u53d6\u308a\u51fa\u3059<br \/>\n        string id = twi[&quot;id&quot;].Replace(&quot;status_&quot;, &quot;&quot;);<br \/>\n        string content = ((EXElement)(twi * &quot;span&quot; % &quot;class&quot; == &quot;entry-content&quot;)).Xml;<br \/>\n        string date = twi * &quot;span&quot; % &quot;class&quot; == &quot;published timestamp&quot;;<\/p>\n<p>        Console.WriteLine(id);<br \/>\n        \/\/ \u8981\u7d20\u3092\u4f5c\u308b<br \/>\n        EXElement tweet = dout.Root.Append(&quot;tweet&quot;);<br \/>\n        tweet.Append(&quot;id&quot;).Value = id;<br \/>\n        tweet.Append(&quot;content&quot;).Value = content;<br \/>\n        tweet.Append(&quot;date&quot;).Value  = date;<br \/>\n    }<br \/>\n    return dout.Xml;<br \/>\n}<br \/>\n[\/code]<\/p>\n<p>\u306a\u3093\u304b\u4e0d\u601d\u8b70\u306a\u8a18\u53f7\u304c\u3044\u3063\u3071\u3044\u306b\u306a\u3063\u3066\u304d\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u304c\uff57\u3001\u5909\u63db\u5143\u304b\u3089\u3001<\/p>\n<p>\u30fbid<br \/>\n\u30fbcontent(\u767a\u8a00)<br \/>\n\u30fbdate(\u767a\u8a00\u3057\u305f\u65e5\u6642)<\/p>\n<p>\u3092\u62fe\u3063\u3066\u304d\u3066\u3001<\/p>\n<p>[code lang=&#8221;xml&#8221;]<br \/>\n&lt;tweet&gt;<br \/>\n\t&lt;id&gt;&#8230;&lt;\/id&gt;<br \/>\n\t&lt;content&gt;&#8230;&lt;\/content&gt;<br \/>\n\t&lt;date&gt;&#8230;&lt;\/date&gt;<br \/>\n&lt;\/tweet&gt;<br \/>\n[\/code]<\/p>\n<p>\u306a\u5f62\u306b\u6574\u5f62\u3057\u307e\u3059\u3002<\/p>\n<p>\u8981\u7d20\u3092\u8ffd\u52a0\u3059\u308b\u306e\u306b\u3001\u3044\u308d\u3044\u308d\u591a\u91cd\u5b9a\u7fa9\u3059\u308b\u6f14\u7b97\u5b50\u3092\u63a2\u3057\u3066\u307f\u305f\u306e\u3067\u3059\u304c\u3001\u7d50\u5c40\u306e\u3068\u3053\u308d\u3001Append \u30e1\u30bd\u30c3\u30c9\u306b\u843d\u3061\u7740\u304d\u307e\u3057\u305f\u3002\u30c7\u30ea\u30b2\u30fc\u30c8\u306e\u8ffd\u52a0\u6f14\u7b97\u5b50\u306e\u3088\u3046\u306b += \u6f14\u7b97\u5b50\u3092\u4f7f\u304a\u3046\u3068\u3057\u305f\u306e\u3067\u3059\u304c\uff08\u5b9f\u88c5\u306f\u3057\u3066\u3044\u307e\u3059\uff09\u3001+= \u6f14\u7b97\u5b50\u3092\u4f7f\u3063\u305f\u5f8c\u306b\u3001\u8ffd\u52a0\u3057\u305f\u8981\u7d20\u304c\u53d6\u308c\u306a\u3044\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u3001\u3084\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>C++ \u3060\u3068\u3001<\/p>\n<p>[code lang=&#8221;cpp&#8221;]<br \/>\nEXElement *tweet = dout.Root += &quot;tweet&quot;;<br \/>\n(tweet += &quot;id&quot;) = id;<br \/>\n(tweet += &quot;content&quot;) = content;<br \/>\n(tweet += &quot;date&quot;) = date;<br \/>\n[\/code]<\/p>\n<p>\u306a\u611f\u3058\u3067\u4f5c\u308c\u308b\u3093\u3067\u3059\u3051\u3069\u306d&#8230;C# \u3060\u3068\u5de6\u8fba\u306b\u5f0f\u3092\u7f6e\u3051\u306a\u3044\u306e\u3067\u3001\u3053\u308c\u304c\u3067\u304d\u306a\u3044\u306e\u3067\u3059\u3002<br \/>\n\u3042\u3068\u3001cout \u306a\u3069\u3067\u5b9a\u756a\u306e &lt;&lt; \u6f14\u7b97\u5b50\u3082 C# \u3067\u306f\u306a\u305c\u304b\u6570\u5024\u3057\u304b\u4f7f\u3048\u306a\u3044\u306e\u3067\u3001\u3010\u4f7f\u3048\u306a\u3044\u3011\u6f14\u7b97\u5b50\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u3042\u305f\u308a\u306e\u5236\u9650\u304c\u3001C# \u306f\u304b\u306a\u308a\u5909\u3067\u3059\u3002<\/p>\n<p>\u3068\u306f\u8a00\u3048\u3001\u30e1\u30bd\u30c3\u30c9\u30c1\u30a7\u30fc\u30f3\u3068\u914d\u5217\u3092\u4f7f\u3044\u306a\u304c\u3089\u3001\u30a4\u30e1\u30fc\u30b8\u3057\u3084\u3059\u3044\u5f62\u3067\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u304c\u3067\u304d\u307e\u3059\u3002\u7279\u306b\u3001XML \u3092\u4f5c\u6210\u3059\u308b\u3068\u304d\u306f\u3001Append \u3092\u7d9a\u3051\u3066\u5b50\u3092\u4f5c\u3063\u3066\u3044\u304f\u3068\u3044\u3046\u306e\u304c\u30a4\u30e1\u30fc\u30b8\u3057\u3084\u3059\u3044\u3068\u601d\u3044\u307e\u3059\u3002\u3053\u308c\u304c\u666e\u901a\u306e XML \u306e\u69cb\u7bc9\u3060\u3068\u3001CreateNode \u3057\u305f\u5f8c\u306b\u3001AppendChild \u3059\u308b\u306e\u3067\u3001\u306a\u3093\u304b\u4f5c\u6210\u3068\u633f\u5165\u304c\u9060\u3044\u611f\u3058\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059(\u307e\u3042\u3001\u4f5c\u6210\u3057\u305f\u9014\u7aef\u306b\u8ffd\u52a0\u3059\u308c\u3070\u3044\u3044\u3060\u3051\u306a\u3093\u3067\u3059\u3051\u3069\u306d\uff09\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30c4\u30a4\u30c3\u30bf\u30fc\u306e\u5168\u767a\u8a00\u3092\u53d6\u5f97\u3059\u308b perl \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4ee5\u524d\u66f8\u3044\u305f\u306e\u3067\u3001 \u6307\u5b9a\u3057\u305fTwitter\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u5168\u30c4\u30a4\u30fc\u30c8\u3092\u53d6\u5f97(perl\u7248) http:\/\/www.moonmile.net\/blog\/archives\/860  &hellip; <a href=\"http:\/\/www.moonmile.net\/blog\/archives\/2090\">\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":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[23],"tags":[],"class_list":["post-2090","post","type-post","status-publish","format-standard","hentry","category-csharp"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/2090","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=2090"}],"version-history":[{"count":1,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/2090\/revisions"}],"predecessor-version":[{"id":2091,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/2090\/revisions\/2091"}],"wp:attachment":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=2090"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=2090"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=2090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}