Posting to blogger?
Some days are just big buckets of fail. So far I've not been able to get any code to successfully publish anything to blogger.com. I've failed with both Net::Blogger and Atompub and am seriously tempted to just create a bunch of damned HEREDOCs and push them straight to the Google Blogger API.
Didn't we use to own the Web? Or maybe I'm just having a really off day. I've successfully written a custom CMS in just a few hours and I'm stuck on one last, little stumbling block.
Anyone have working code they care to share? I mean real, live working code, not examples. I've seen more failed examples than I care to admit :)
Hi Ovid
Have you looked at Miril?
http://search.cpan.org/~pshangov/Miril-0.007/
I had a quick play with it, and I'd have to say the interface is not quite intuitive, but it works.
Ron, there is a very specific reason for the need to post to blogger.com. Miril doesn't appear to do that.
Maybe this thread will be helpful:
http://groups.google.com/group/bloggerDev/browse_thread/thread/4e751bb3e728ee9c
It includes some working code which may still work, although it is old (2007).
Oh and here's a simpler option - just enable posting via email in your Blogger account (Settings -> Email & Mobile) and post to blogger via an email created with your Perl script :)
@Offer: I had actually considered the email gateway at one point :) I'll take a look at the other solution when I can. It looks correct.
Can you update us on your solution to this problem? I am also looking to make a command line client to blogger.
@kthakore: I will. I think Offer's link has a working solution, but I can't test it right now.