Log in

No account? Create an account
AtomClient.pm LJ/Blogger Atom Perl package - LiveJournal Client Discussions — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

AtomClient.pm LJ/Blogger Atom Perl package [Jun. 14th, 2005|04:37 pm]
LiveJournal Client Discussions
I have good news. The LJ/Blogger Atom client I was coding is completed, and it works great in both Blogger and LJ blogs.

The package is called AtomClient.pm and I put it under the GNU LGPL.

Using it in your Perl code is simple, just do the following:

use AtomClient qw(postentry);

$result_msg = AtomClient::postentry("blog_url", "username", "password", "title", "content", "method");

- "method" is either "basic" for Basic HTTP Auth, or "digest" for Digest HTTP Auth. If no method is sent, basic will be tried first, then digest if basic fails.
- This does NOT support WSSE since neither Blogger or LJ support WSSE at this time.


パッケージはAtomClient.pmと言う。GNU LGPLであげる。


use AtomClient qw(postentry);

$result_msg = AtomClient::postentry("blog_url", "username", "password", "title", "content", "method");


From: trevmex
2006-03-19 01:09 am (UTC)

Re: Thanks a lot !

Thanks. I am glad that you find it useful. I use the script to post my blog to both Blogger and LJ. It has been working find for me for some time, although there is a bug with sending large posts that I haven't solved yet.
(Reply) (Parent) (Thread)