B l o g g e n m o z Bringing the Blogger API to Mozilla Composer
 
Monday, 11. March 2002

Blogger API support for Mozilla Composer, version 0.1.1



I reworked my original code into an overlay to Mozilla Composer. While the functionality is still as primitive as it used to be, this allows me to package it as xpi (cross platform installer) file. If you use a recent version of Mozilla you should be able to install the package just by clicking on the link below. Alternatively, if you want to look at the code, simply right-click on download and save the file. You should be able to unpack the archive with any jar or zip utility.

install download

How to use it

When you open up Mozilla's Composer window, you should find a menu item called "Publish to Weblog" in the File menu (it's possible that you have to restart Mozilla after installation). Activating this menu item should bring up a simple dialog window. The values you have to enter depend on which weblog tool you are using, please refer to the documentation to find out. To give it a quick try you can use the following settings:

XML-RPC-URL: http://www.antville.org:5056/
Weblog ID: pippi
Username: annika
Password: tommy

This should result in your stuff to appear on pippi.antville.org.

Notes and Caveats

Currently, you can't retrieve existing postings from your weblog via Blogger API. This means that you have to save your page locally (which is actually a good idea especially for longer pieces because you get a backup copy on your local machine). In order to know whether a page is being posted for the first time or being updated, Composer will add a meta tag to the HTML head of the page the first time it's saved.

<meta name="BloggerAPIStoryID" content="22663">
The presence of this kind of meta tag will let it know whether to create a new posting or update an existing one the next time you publish. Because of this, it is important that you save the page after you published it for the first time. In the current version there is a bug where the save button remains disabled if you already saved before first publishing. When you close the window you will be promted to save, though.

Some additional caveats:

  1. Password saving is not yet implemented, you'll have to enter your password each time you publish. Remember, it's 0.1.
  2. The publish flag is always set to true, that means everything you write will be published immediately.
Remember that this is experimental code. Have fun!

posted by hns, 3/11/02, 10:43 PM link   

 

About Bloggenmoz



This project was created by Hannes Wallnöfer.

I have a weblog at henso.com (sorry, mostly in german). You can reach me by email at hannes at helma dot at.

The reason for the funny Bloggenmoz name is that all other combinations of the words "Blogger" and "Mozilla" seem to be occupied by someone else. I'm starting to like it though. It has something swedisch about it, like you can buy at IKEA or some such ;-)

BTW, this site is running on Antville, our kick-ass software for weblog hosting. Check it out!



posted by hns, 3/11/02, 2:19 PM link   

 

Welcome to Bloggenmoz!



This site was created to document my attempts to add support for the Blogger API directly to Mozilla Composer. What this means is that people should be able to post to their weblogs directly from the HTML editor that comes with Mozilla. I've started coding over the weekend and already have a functional prototype. Here's a screenshot:

screenshot 1 (Click here if the popup script doesn't work)

You can get my current code from the download page. You'll also find installation instructions as well as some notes and caveats. Please remember that this code is experimental!

This project was inspired by Mike Lee's MozBlog, a Mozilla extension that is embedded in the browser window and allows for quick posting of smaller texts (think bookmarklet). In contrast, Blogger API support in Composer would be ideal for writing longer texts, something that is very unconvenient with browser-based solutions.

There's more to come soon - stay tuned and let me know what you think!



posted by hns, 3/11/02, 1:33 PM link   

 

 
online for 8291 Days
last updated: 5/18/02, 5:48 PM
status
Youre not logged in ... Login
menu
... home
... ideas
... download
... about
... search
... Home
... Tags

... antville home
March 2002
SunMonTueWedThuFriSat
12
3456789
10111213141516
17181920212223
24252627282930
31
May
recent
recent

RSS Feed

Made with Antville
powered by
Helma Object Publisher