Archives

April 2004 (7)
March 2004 (12)
February 2004 (12)
January 2004 (22)
December 2003 (19)
November 2003 (16)
October 2003 (26)
September 2003 (18)
August 2003 (38)
July 2003 (80)
June 2003 (13)
May 2003 (24)
April 2003 (76)
March 2003 (75)
February 2003 (51)
January 2003 (73)

Category

Family (5)
FYI (18)
Games (2)
Geek (88)
Geographic (3)
Hacks (13)
Home (15)
Humor (54)
Ideas (20)
Ideaspace (15)
Local (15)
Metadata (10)
Microsoft (2)
MovableType (5)
Nitwits (66)
PKI (2)
Politics (22)
Quotes (3)
RDF (15)
RSS (4)
Security (3)
Semantic Web (13)
Site Info (13)
Social Networks (1)
Spam (9)
Sysadmin (1)
Tips (2)
Tivo (2)
TMFTOTHD (1)
To Do (1)
Unlisted (1)
Web (3)
Windows (1)

Local

« MetroBlogs »
DC metroblogs
beltway bloggers

Links


Assorted bits

Blogroll Me!
GeoURL
Listed on BlogShares




July 31, 2003

Blog This! your own way

Hmmm, I've hacked the google blogthis toolbar to post to my own weblog. It's a hack but a workable one until google offers a way to configure it manually. On a Windows 2000 or XP box one can edit %WINDIR%\system32\drivers\etc\hosts and add a line that points new.blogger.com to a local host. I've an apache box that's up to the task (a bit of virtual host jiggery-pokery) and now it answers instead of the actual blogger site. The next step is a cgi program that captures the incoming parameters the google toolbar sends it. The trick is rearranging the params and pushing the same params into your own weblogging software.

There's another way to do this but would involve hacking into the GoogleActivate.dll binary file. Searching for hex "6E 00 65 00 77 00 2E 00 62 00 6C 00 6F 00 67 00 67 00 65 00 72 00 2E 00 63 00 6F 00 6D" as in "new.blogger.com" delimited by hex 00, shows that the address is hard-coded directly into the toolbar itself. The trick is making sure the hostname you want to use it exactly the same number of characters. I hacked it up to use one here and it worked well enough.

The trick now is to make an input screen that effectively mimics the one it uses.

Hacks
Perma  | TrackBack (0) | 08:06 PM  | xml

Navigation

Recent Entries

America and Europe: Vive la différence?
Server changes afoot
Diet behavior mod
Googling for sensitive info
Outlook 2003 and IMAP, a marriage made in Hell
Bike to Work Day, May 7th
Speakeasy rocks
Zippo USB?
When geographic data is nowhere 'near' correct
Local campaign contributions

User comments
Trackbacks

Contact

send me an e-mail E-mail
chat with me using MS messenger MSN Messenger
chat with me via AIM America Online
chat with me on ICQ ICQ
chat with me on Yahoo! Yahoo
Add my vCard to your electronic addressbook vCard
Friend of a Friend FoaF

Syndication

XML  RDF  CDF

Comments

XFML

Extra Stuff

foaf
vCard
pgp info
Linked In
Powered by
Movable Type 2.64