<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-12452743.post4250555413604154543..comments</id><updated>2008-10-11T12:33:23.549+09:00</updated><title type='text'>Comments on clmemo@aka: Blogger in Draft の Import/Export 機能</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://at-aka.blogspot.com/feeds/4250555413604154543/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default'/><link rel='alternate' type='text/html' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html'/><author><name>@aka</name><uri>http://www.blogger.com/profile/02788145611186336349</uri><email>masayuki.ataka@gmail.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-12452743.post-4630235979025691976</id><published>2008-10-11T12:33:00.000+09:00</published><updated>2008-10-11T12:33:00.000+09:00</updated><title type='text'>muri さんへ返事が遅くなくて申し訳ないです。&gt; どうやら直ったと見て良いようです。Good Ne...</title><content type='html'>muri さんへ&lt;BR/&gt;&lt;BR/&gt;返事が遅くなくて申し訳ないです。&lt;BR/&gt;&lt;BR/&gt;&amp;gt; どうやら直ったと見て良いようです。&lt;BR/&gt;&lt;BR/&gt;Good News :)&lt;BR/&gt;&lt;BR/&gt;&amp;gt; エクスポートしたファイルのチェック例です&lt;BR/&gt;&lt;BR/&gt;ありがとうございます。&lt;BR/&gt;# Python は、まだまだ初心者なんで勉強しないと ^^;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/4630235979025691976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/4630235979025691976'/><link rel='alternate' type='text/html' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html?showComment=1223695980000#c4630235979025691976' title=''/><author><name>@aka</name><uri>http://www.blogger.com/profile/02788145611186336349</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17691257907827764373'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html' ref='tag:blogger.com,1999:blog-12452743.post-4250555413604154543' source='http://www.blogger.com/feeds/12452743/posts/default/4250555413604154543' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12452743.post-5117283526250481060</id><published>2008-09-25T20:03:00.000+09:00</published><updated>2008-09-25T20:03:00.000+09:00</updated><title type='text'>エクスポートしたファイルのチェック例です(何かの役に立つか分りませんけど)。# python+Bea...</title><content type='html'>エクスポートしたファイルのチェック例です(何かの役に立つか分りませんけど)。&lt;BR/&gt;&lt;BR/&gt;# python+BeautifulSoupを使います。&lt;BR/&gt;&amp;gt;&amp;gt; import re&lt;BR/&gt;&amp;gt;&amp;gt; from BeautifulSoup import BeautifulSoup as Soup&lt;BR/&gt;&lt;BR/&gt;# エクスポートしたファイルを読み込む。&lt;BR/&gt;&amp;gt;&amp;gt; soup = Soup(open(&amp;#39;blog-09-24-2008.xml&amp;#39;,&amp;#39;rb&amp;#39;).read().decode(&amp;#39;utf-8&amp;#39;))&lt;BR/&gt;&lt;BR/&gt;# entryタグを抽出&lt;BR/&gt;&amp;gt;&amp;gt; entries = soup(&amp;#39;entry&amp;#39;)&lt;BR/&gt;&amp;gt;&amp;gt; len(entries)&lt;BR/&gt;238&lt;BR/&gt;&lt;BR/&gt;#  idタグに&amp;#39;.post-&amp;#39;を含むエントリは、記事、またははコメントらしい。&lt;BR/&gt;&amp;gt;&amp;gt; posts = [i for i in entries if &amp;#39;.post-&amp;#39; in str(i(&amp;#39;id&amp;#39;)[0].contents[0])]&lt;BR/&gt;&lt;BR/&gt;# 記事とコメントの総数&lt;BR/&gt;&amp;gt;&amp;gt; len(posts)&lt;BR/&gt;195&lt;BR/&gt;&lt;BR/&gt;# そのうち、記事本体はcategoryタグに文字列&amp;#39;kind#post&amp;#39;を含んでいるらしい。&lt;BR/&gt;&amp;gt;&amp;gt; articles = [i for i in posts if i(&amp;#39;category&amp;#39;,{&amp;#39;term&amp;#39;:re.compile(&amp;#39;.*kind#post&amp;#39;)}]&lt;BR/&gt;&lt;BR/&gt;# 記事総数。私のブログと一致しているようです。&lt;BR/&gt;&amp;gt;&amp;gt; len(articles)&lt;BR/&gt;134&lt;BR/&gt;&lt;BR/&gt;# コメントはcategoryタグに文字列&amp;#39;kind#comment&amp;#39;を含んでいるらしい。&lt;BR/&gt;&amp;gt;&amp;gt; comments = [i for i in posts if i(&amp;#39;category&amp;#39;,{&amp;#39;term&amp;#39;:re.compile(&amp;#39;kind#comment&amp;#39;))]&lt;BR/&gt;&lt;BR/&gt;# コメント総数。195-134=61で、一致しているようです。&lt;BR/&gt;&amp;gt;&amp;gt; len(comments)&lt;BR/&gt;61</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/5117283526250481060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/5117283526250481060'/><link rel='alternate' type='text/html' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html?showComment=1222340580000#c5117283526250481060' title=''/><author><name>muri</name><uri>http://www.blogger.com/profile/05399977252521021679</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html' ref='tag:blogger.com,1999:blog-12452743.post-4250555413604154543' source='http://www.blogger.com/feeds/12452743/posts/default/4250555413604154543' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12452743.post-3938929616497573</id><published>2008-09-25T14:24:00.000+09:00</published><updated>2008-09-25T14:24:00.000+09:00</updated><title type='text'>@akaさん、情報ありがとうございます。今度は最後のfeedタグがきちんと閉じているので、どうやら直...</title><content type='html'>@akaさん、情報ありがとうございます。&lt;BR/&gt;今度は最後のfeedタグがきちんと閉じているので、どうやら直ったと見て良いようです。今までは回線速度に依存する実装だったようですね(笑)。</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/3938929616497573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/3938929616497573'/><link rel='alternate' type='text/html' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html?showComment=1222320240000#c3938929616497573' title=''/><author><name>muri</name><uri>http://www.blogger.com/profile/05399977252521021679</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html' ref='tag:blogger.com,1999:blog-12452743.post-4250555413604154543' source='http://www.blogger.com/feeds/12452743/posts/default/4250555413604154543' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12452743.post-4474485280054768852</id><published>2008-09-25T07:56:00.000+09:00</published><updated>2008-09-25T07:56:00.000+09:00</updated><title type='text'>muri さんへBlogger でバグ修正が行なわれました。これで解決しているかもしれません。ref...</title><content type='html'>muri さんへ&lt;BR/&gt;&lt;BR/&gt;Blogger でバグ修正が行なわれました。これで解決しているかもしれません。&lt;BR/&gt;&lt;BR/&gt;ref. &lt;A HREF="http://at-aka.blogspot.com/2008/09/blogger-in-draft-export.html" REL="nofollow"&gt;clmemo@aka: Blogger in draft の Export 機能のバグが修正された&lt;/A&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/4474485280054768852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/4474485280054768852'/><link rel='alternate' type='text/html' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html?showComment=1222296960000#c4474485280054768852' title=''/><author><name>@aka</name><uri>http://www.blogger.com/profile/02788145611186336349</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17691257907827764373'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html' ref='tag:blogger.com,1999:blog-12452743.post-4250555413604154543' source='http://www.blogger.com/feeds/12452743/posts/default/4250555413604154543' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12452743.post-3370817927339198587</id><published>2008-09-21T15:01:00.000+09:00</published><updated>2008-09-21T15:01:00.000+09:00</updated><title type='text'>ううむ。そうですか。一筋縄ではいかないものですね。Export 機能が Blogger でも使えるよ...</title><content type='html'>ううむ。そうですか。一筋縄ではいかないものですね。&lt;BR/&gt;&lt;BR/&gt;Export 機能が Blogger でも使えるようになったら、何か修正が入るかもしれません。そこら辺に期待でしょうか。</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/3370817927339198587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/3370817927339198587'/><link rel='alternate' type='text/html' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html?showComment=1221976860000#c3370817927339198587' title=''/><author><name>@aka</name><uri>http://www.blogger.com/profile/02788145611186336349</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17691257907827764373'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html' ref='tag:blogger.com,1999:blog-12452743.post-4250555413604154543' source='http://www.blogger.com/feeds/12452743/posts/default/4250555413604154543' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12452743.post-7395930679383702594</id><published>2008-09-20T21:22:00.000+09:00</published><updated>2008-09-20T21:22:00.000+09:00</updated><title type='text'>@akaさん御回答ありがとうございます。entry, idタグに'.post-'を含む物が記事のよう...</title><content type='html'>@akaさん御回答ありがとうございます。&lt;BR/&gt;entry, idタグに'.post-'を含む物が記事のようなので数えてみましたが、やはり全記事数の半数程でぷっちり切れてしまっていました。&lt;BR/&gt;もしかしたら単にうちの変なネット環境のせいかもしれません(100Kbpsの低速回線でfirefox)。ダウンロード時にサイズ不明でがんがん送ってきますし。</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/7395930679383702594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/7395930679383702594'/><link rel='alternate' type='text/html' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html?showComment=1221913320000#c7395930679383702594' title=''/><author><name>muri</name><uri>http://www.blogger.com/profile/05399977252521021679</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html' ref='tag:blogger.com,1999:blog-12452743.post-4250555413604154543' source='http://www.blogger.com/feeds/12452743/posts/default/4250555413604154543' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12452743.post-8934069925720864375</id><published>2008-09-20T13:43:00.000+09:00</published><updated>2008-09-20T13:43:00.000+09:00</updated><title type='text'>muri さん、はじめまして。Export したファイルを見てみた所、ファイルの最後は私のブログの最...</title><content type='html'>muri さん、はじめまして。&lt;BR/&gt;&lt;BR/&gt;Export したファイルを見てみた所、ファイルの最後は私のブログの最初の記事ではありませんでした。ファイルの末尾は &amp;lt;updat で終わっていました。正に尻切れトンボという感じです。&lt;BR/&gt;&lt;BR/&gt;しかし、エディターで検索してみると、最初の記事はファイルの途中 (かなり後ろの方です) に見つかりました。Blogger が何をやっているのかは分かりませんが、一応全てのエントリーをダウンロードしているのではないかと思います (予想ですが)。&lt;BR/&gt;&lt;BR/&gt;というわけで、ファイル内で一度 Search してみてはいかがでしょう。&lt;BR/&gt;&lt;BR/&gt;あと、テスト用のブログを一つ作って、Export したファイルを Import してみるのも手かもしれません。&lt;BR/&gt;&lt;BR/&gt;ではでは。</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/8934069925720864375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/8934069925720864375'/><link rel='alternate' type='text/html' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html?showComment=1221885780000#c8934069925720864375' title=''/><author><name>@aka</name><uri>http://www.blogger.com/profile/02788145611186336349</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17691257907827764373'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html' ref='tag:blogger.com,1999:blog-12452743.post-4250555413604154543' source='http://www.blogger.com/feeds/12452743/posts/default/4250555413604154543' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12452743.post-2373726980125433872</id><published>2008-09-20T01:01:00.000+09:00</published><updated>2008-09-20T01:01:00.000+09:00</updated><title type='text'>うちでは何度試しても尻切れトンボ(ローカルに保存したファイルの尻の方が途中で切れてタグも閉じてない)...</title><content type='html'>うちでは何度試しても尻切れトンボ(ローカルに保存したファイルの尻の方が途中で切れてタグも閉じてない)で諦めました。こういう症状の人は他に居ないんでしょうか。</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/2373726980125433872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/2373726980125433872'/><link rel='alternate' type='text/html' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html?showComment=1221840060000#c2373726980125433872' title=''/><author><name>muri</name><uri>http://www.blogger.com/profile/05399977252521021679</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html' ref='tag:blogger.com,1999:blog-12452743.post-4250555413604154543' source='http://www.blogger.com/feeds/12452743/posts/default/4250555413604154543' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12452743.post-7257124967979840009</id><published>2008-09-19T23:07:00.000+09:00</published><updated>2008-09-19T23:07:00.000+09:00</updated><title type='text'>Hit さん、こんにちは。今回のエントリーは、私の大変な勘違いでした。ご指摘ありがとうございます。早...</title><content type='html'>Hit さん、こんにちは。今回のエントリーは、私の大変な勘違いでした。ご指摘ありがとうございます。&lt;BR/&gt;&lt;BR/&gt;早速、修正しました。&lt;BR/&gt;&lt;BR/&gt;# ハァ、このブログの黒歴史として早く過去に追いやりたい orz</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/7257124967979840009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/7257124967979840009'/><link rel='alternate' type='text/html' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html?showComment=1221833220000#c7257124967979840009' title=''/><author><name>@aka</name><uri>http://www.blogger.com/profile/02788145611186336349</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17691257907827764373'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html' ref='tag:blogger.com,1999:blog-12452743.post-4250555413604154543' source='http://www.blogger.com/feeds/12452743/posts/default/4250555413604154543' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-12452743.post-1715152471968539167</id><published>2008-09-19T19:07:00.000+09:00</published><updated>2008-09-19T19:07:00.000+09:00</updated><title type='text'>私のブログを export してみたら最初の方は Blogger の設定一覧があって、その後にちゃん...</title><content type='html'>私のブログを export してみたら最初の方は Blogger の設定一覧があって、その後にちゃんと本文も export できましたよ。</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/1715152471968539167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12452743/4250555413604154543/comments/default/1715152471968539167'/><link rel='alternate' type='text/html' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html?showComment=1221818820000#c1715152471968539167' title=''/><author><name>Hit</name><uri>http://www.blogger.com/profile/04408978337522972633</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='17795764411881458601'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://at-aka.blogspot.com/2008/09/blogger-in-draft-importexport.html' ref='tag:blogger.com,1999:blog-12452743.post-4250555413604154543' source='http://www.blogger.com/feeds/12452743/posts/default/4250555413604154543' type='text/html'/></entry></feed>