今回は色々機能追加したぞ。まずは、複数ブログ対応。Bloggerは一つのアカウントで複数のブログを作成できるのだが、それに対応した。
設定ファイルはこんな感じ。
email: user@gmail.com
passwd: passwd
blog:
default: hoge
list:
- name: hoge
url: http://hoge.blogspot.com/
posturl: http://www.blogger.com/feeds/####################/posts/default/
- name: fuga
url: http://fuga.blogspot.com/
posturl: http://www.blogger.com/feeds/********************/posts/default/
すると
% bloggerpost -b fuga entry.rd
で投稿できる。defaultのブログならオプションで指定する必要はない。
ちなみにこの機能は複数のブログを持ちたかったから作ったというわけではなく、bloggerpostのテスト用のブログが必要だったので作った。
次に、バックアップ機能。これは投稿したファイルを保存してくれる機能だ。ちょっと前のエントリーを更新したい場合に、元のファイルを整理しておいてくれるとうれしいかな、と思って作った。
例えば、このエントリーならデフォルトで
~/.bloggerpost/backup/yu-u.blogspot.com/2007/01/blog-post_145.rd
にファイルが保存される。要するにURLを元にしたディレクトリに保存されることになる。
最後に、更新と削除にURLを指定する方法を色々増やした。今までは、例えば、このエントリーを更新するなら
% bloggerpost -u http://www.blogger.com/feeds/2861948079335449058/posts/default/3161717702637742317 entry.rd
なんて言う長くて意味不明なURLを指定しなければならなかったが、以下の3つの方法を新しく追加した。
まず、エントリーのURL。
% bloggerpost -u http://yu-u.blogspot.com/2007/01/blog-post_145.html entry.rd
まあ、一番直感的だね。
次に、ブログのオプションとパスの組み合わせ。
% bloggerpost -b yuu -u 2007/01/blog-post_145 entry.rd
短くなった。-uには拡張子を付ける必要はない。
最後に直接バックアップファイルで更新する方法。
% cd ~/.bloggerpost/backup/yu-u.blogspot.com/2007/01/
% emacs blog-post_145.rd (編集する)
% bloggerpost -u blog-post_145.rd
ちなみに、なんでこんな指定方法が可能なのかというと送信ログを参照しているから。なんか、ログというよりはデータベース的な使い方をしている。
あと、更新と削除できない件だが、とりあえず送信直前のURLに
url.gsub(/www.blogger.com/, 'www2.blogger.com')
という処理をして、当座を凌ぐことにした。はやくBlogger対応してくれないかな。
49 件のコメント:
[url=http://www.officialbearsfansstore.com/]Brandon Marshall Elite Jersey[/url]
The feelings will followThink of your happiness as interest bearing bank account? the more you mindfully collect and deposit, the greater the compounded value Don't purchase anything new unless you eliminate one item form your home or office
[url=http://www.broncosnflprostore.com/]Von Miller Elite Jersey[/url]
A thief will not know if you sign your checks with your full name, or if you use your initials If your dog is very itchy after a bath or his skin is red and irritated, it may be an allergic reaction You have your own blissful happiness support system deep inside of you He has consulted in the visual media and software industries and for clients such as Toshiba and Transport for London
[url=http://www.officialbearsjerseystore.com/]Brian Urlacher Elite Jersey[/url]
top [url=http://www.c-online-casino.co.uk/]uk casino bonus[/url] check the latest [url=http://www.realcazinoz.com/]realcazinoz[/url] unshackled no store hand-out at the best [url=http://www.baywatchcasino.com/]casino online
[/url].
Article writing is also a excitement, if you know
then you can write or else it is complex to write.
Look at my webpage - new casino bonuses
This article offers clear idea in favor of the new viewers of blogging, that genuinely how to do running a blog.
Also visit my homepage :: optionshorts1.xanga.com
I visited various blogs however the audio quality for audio
songs current at this web site is really
marvelous.
Also visit my web site - Http://Www.Webutation.Net/Go/User/Lamp61Wool
Thanks designed for sharing such a fastidious idea, article is good, thats why i have read it fully
Feel free to visit my webpage ; best casino bonuses 2013
Hi, I do think this is an excellent website.
I stumbledupon it ;) I will return yet again since I
book marked it. Money and freedom is the greatest way
to change, may you be rich and continue to guide other people.
Check out my blog : Best online casino bonuses for us players
What a material of un-ambiguity and preserveness of precious
experience on the topic of unexpected feelings.
Also visit my site :: Metal garage Storage cabinets
My brother recommended I would possibly like this website.
He used to be totally right. This submit truly made my day.
You cann't believe just how a lot time I had spent for this information! Thanks!
Here is my web site ... garage storage ideas
Superb blog you have here but I was curious if you knew of any forums that cover the same topics discussed here?
I'd really love to be a part of group where I can get feedback from other knowledgeable individuals that share the same interest. If you have any suggestions, please let me know. Cheers!
Here is my webpage www.specialityfoodmagazine.Com
great issues altogether, you simply won a new reader.
What could you suggest in regards to your submit
that you made a few days ago? Any sure?
My web site : best casino bonus free money
Hi, I would like to subscribe for this website to
take most recent updates, thus where can i do
it please assist.
Here is my site - best casino bonus payouts
Hi there, just wanted to mention, I liked this post. It was inspiring.
Keep on posting!
Here is my page ... http://blumercpas.com/member/680997
I want to to thank you for this good read!! I absolutely enjoyed every bit of it.
I've got you bookmarked to look at new stuff you post…
Also see my web page: best online casino bonuses for us players
I really like your blog.. very nice colors & theme.
Did you make this website yourself or did you hire someone to do it
for you? Plz respond as I'm looking to design my own blog and would like to know where u got this from. thank you
Feel free to visit my web site ... http://en.netlog.com/robinenemark/blog/blogid=16656537
Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point.
You obviously know what youre talking about, why waste your
intelligence on just posting videos to your weblog when you could be giving us
something enlightening to read?
Also visit my web-site ... best online casino bonuses for us players
Hi there! I'm at work surfing around your blog from my new iphone 3gs! Just wanted to say I love reading your blog and look forward to all your posts! Carry on the fantastic work!
My blog post : best online casino bonus cash no download
I comment when I appreciate a post on a site or if I have
something to contribute to the conversation. Usually it's caused by the passion displayed in the article I read. And on this post "複数ブログ対応、バックアップ機能などを追加". I was actually excited enough to post a commenta response :-P I do have some questions for you if it's
okay. Is it simply me or does it seem like a few of the remarks
come across like written by brain dead visitors?
:-P And, if you are writing on additional online social sites, I'd like to follow anything fresh you have to post. Could you list every one of all your community sites like your twitter feed, Facebook page or linkedin profile?
Feel free to visit my web blog ... netent casino
Hi there, I found your site via Google even as searching for a comparable subject,
your site got here up, it appears good. I have bookmarked it in my google bookmarks.
Hello there, just became alert to your blog thru Google,
and found that it's truly informative. I'm going to be careful for brussels.
I'll appreciate in case you continue this in future. A lot of other folks will probably be benefited out of your writing. Cheers!
Here is my website; Http://www.onesinalifetime.Com/member/75408
Do you mind if I quote a couple of your articles as long as I provide credit and sources back to your webpage?
My website is in the exact same area of interest as yours and my visitors would really benefit from a
lot of the information you present here. Please let me know
if this ok with you. Thank you!
my blog post :: http://www.clutterfreecoding.com/
Hmm is anyone else having problems with the images on
this blog loading? I'm trying to determine if its a problem on my end or if it's the blog.
Any suggestions would be greatly appreciated.
Have a look at my web blog netent casino games
Because the admin of this site is working, no uncertainty very rapidly it will be famous, due to its quality contents.
Look at my homepage :: new netent casinos 2013
Hello there! This post couldn't be written any better! Reading through this post reminds me of my previous room mate! He always kept chatting about this. I will forward this post to him. Fairly certain he will have a good read. Thanks for sharing!
Also visit my web page All Netent casinos
An intriguing discussion is definitely worth comment.
There's no doubt that that you ought to publish more on this issue, it might not be a taboo subject but usually people don't
speak about such topics. To the next! All the best!!
My site :: www.21plus.org
I'm really enjoying the theme/design of your blog. Do you ever run into any internet browser compatibility issues? A handful of my blog readers have complained about my blog not working correctly in Explorer but looks great in Firefox. Do you have any tips to help fix this issue?
Here is my web page ... netent casino free slots
Excellent post. I used to be checking continuously this weblog and I'm inspired! Very useful info specially the remaining section :) I handle such info a lot. I was looking for this certain information for a very long time. Thank you and good luck.
my site http://www.dotbeyond.com
What's up to all, the contents existing at this web page are really remarkable for people knowledge, well, keep up the nice work fellows.
my page new Netent casinos
Hi everyone, it's my first visit at this website, and piece of writing is genuinely fruitful for me, keep up posting these articles or reviews.
Feel free to surf to my webpage no deposit casino netent
Pretty component to content. I simply stumbled upon your
site and in accession capital to assert that I get actually enjoyed account your blog posts.
Any way I'll be subscribing to your augment or even I achievement you get entry to consistently quickly.
My web-site :: netent casinos free spins
Hi there mates, fastidious paragraph and good arguments commented here,
I am actually enjoying by these.
Here is my blog netent casinos
Valuable information. Lucky me I discovered your web site accidentally, and I am surprised
why this coincidence did not happened in advance! I bookmarked it.
Have a look at my webpage new Casino Netent
Hey there! Do you know if they make any plugins to safeguard against
hackers? I'm kinda paranoid about losing everything I've worked hard on.
Any recommendations?
Also visit my homepage :: netent casinos No Deposit bonus
I am truly grateful to the owner of this website who has
shared this fantastic paragraph at at this place.
Also visit my web-site - netent casino list
my webpage :: netent casinos
Hmm it looks like your blog ate my first comment (it was
extremely long) so I guess I'll just sum it up what I had written and say, I'm thoroughly enjoying your blog.
I as well am an aspiring blog blogger but I'm still new to everything. Do you have any suggestions for inexperienced blog writers? I'd genuinely appreciate it.
Here is my site ... net entertainment casinos bonus
Pretty section of content. I just stumbled upon
your website and in accession capital to assert that I acquire in fact
enjoyed account your blog posts. Any way I will be
subscribing to your augment and even I achievement
you access consistently rapidly.
My web site; netent Casino no Deposit bonuses
What's up, everything is going sound here and ofcourse every one is sharing information, that's really excellent,
keep up writing.
My site; netent casinos
Great goods from you, man. I have understand your
stuff previous to and you are just too magnificent.
I actually like what you have acquired here, really like what you're saying and the way in which you say it. You make it enjoyable and you still care for to keep it wise. I can not wait to read much more from you. This is really a terrific site.
Look at my blog; http://blog.bitcomet.com
Hi, Neat post. There's a problem together with your web site in internet explorer, could test this? IE still is the market leader and a huge component of folks will omit your excellent writing because of this problem.
Also visit my blog :: netent Casino bonus 100%
Wow, superb blog layout! How long have you been blogging for?
you made blogging look easy. The overall look of your web
site is great, as well as the content!
Also visit my web page; Netent casinos
My page > netent casino
Wow, awesome blog format! How long have you been blogging for?
you made blogging look easy. The overall look of your site is excellent, as smartly as the
content!
Also visit my web-site ... netent casinos 2013
What a data of un-ambiguity and preserveness of valuable experience on
the topic of unpredicted emotions.
my site all netent casinos
hello there and thank you for your information – I have definitely picked up
anything new from right here. I did however expertise
some technical issues using this web site, since I experienced to reload the website a lot
of times previous to I could get it to load correctly.
I had been wondering if your hosting is OK? Not that I am
complaining, but sluggish loading instances times will sometimes affect your
placement in google and could damage your high quality score if advertising and
marketing with Adwords. Well I am adding this RSS to my e-mail and can look
out for a lot more of your respective intriguing content.
Make sure you update this again soon.
My website :: netent live casino malta
This article gives clear idea designed for the new visitors of blogging, that really how to do blogging.
Here is my website :: casino netent online
Also see my website: netent casino games free
Hey there, I think your site might be having browser compatibility issues.
When I look at your blog in Chrome, it looks fine but when
opening in Internet Explorer, it has some overlapping.
I just wanted to give you a quick heads up! Other
then that, excellent blog!
Feel free to surf to my webpage netent casinos
Very shortly this site will be famous amid all blog viewers, due to it's good articles or reviews
my webpage ... alle net entertainment casinos
Did you [url=http://www.onlinecasinos.gd]online casino[/url] associate that you can wing it deprecate Revolving Bastion without delay from your mobile? We line a prominence lightweight casino within reach an lustfulness to iPhone, iPad, Android, Blackberry, Windows 7 and Smartphone users. A bicycle your gaming with you and be a conquering famous [url=http://www.avi.vg]adults toys[/url] wherever you go.
This is a topic that's close to my heart... Many thanks! Exactly where are your contact details though?
Here is my blog post - new netent casinos
I just could not depart your site before suggesting that I really
enjoyed the usual information a person supply on your guests?
Is going to be again steadily in order to inspect new posts
My weblog - Zahngold Rechner
That is a great tip particularly tο thosе fresh to the blogοsphere.
Sіmplе but vеry accurаte info… Thanκ you for ѕharing this one.
A must rеad pоѕt!
my ѕite - reputation management
コメントを投稿