ailon's DevBlog: Development related stuff in my life

Cross-post to LiveJournal Extension for BlogEngine.NET

4/24/2008 7:07:00 PM

Some time ago I decided to cross-post all my blog posts from various blogs to my blog at LiveJournal. I used cross-posting plugin for Windows Live Writer by Daniel Cazzulino for some time but then it stopped working with newer releases of WLW. So after toying with idea for some months I decided to write an extension for BlogEngine.NET to do this automatically.

Update: 2008-04-25: I've updated the extension to version 1.0. Here's what was added/fixed

  1. FEATURE ADDED: username, password, xml-rpc url and prepended text could now be edited in Extension Manager
  2. FEATURE ADDED: tags are now cross-posted along with the post
  3. BUGFIX: LiveJournal assumed that posts are in ASCII. Though they were stored and displayed just fine, it wasn't possible to correctly edit them in LJ. Added ver=1 protocol version number.

Note that you will need to configure the extension in Extension Manager after installation

Download it: BECrossPostToLJ-1.0.zip (2kb)

I've used excellent XML-RPC.NET library by Charles Cook so you'll need that too.

Installation

  1. Download XML-RPC.NET library from http://www.xml-rpc.net/
  2. Copy bin/CookComputing.XmlRpcV2.dll to Bin directory of your BlogEngine.NET installation
  3. Upload the files in App_Code/Extensions/ directory to the App_Code/Extensions/ of your BlogEngine.NET installation
  4. Configure the extension in Extension Manager

Known limitations/issues

  • In case your post includes relative URLs in links or image source attributes they wont work. I use WindowsLiveWriter for most of my posts and it inserts images with absolute URLs so this is a minor problem in my case
  • Only new posts are being cross-posted. Cross-posting updates adds too much overhead in tracking IDs, etc. so I don't plan to do this in the nearest future.

Other APIs

I plan to create similar extension for MetaWeblog API if someone needs it. So, again, let me know if you do, so I don't waste time for no reason.

kick it on DotNetKicks.com

P.S.: here's this post cross-posted to LiveJournal using this extension.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Related posts

Comments

5/25/2008 12:36:50 PM

golev

It seems that the extension "forgets" LJ username and password sometimes. I tried to understand the cause of the error but due to the fact that I don't post often, I have't figured it out yet.

golev ru

5/25/2008 12:40:20 PM

ailon

Hmmm... doesn't happen in my setup. I'm running it on this BE setup and another one since the release it didn't "forget" it once since then. There's something like this when you run it for the first time but I think that's the issue of BE.NET's extension subsystem.

ailon lt

10/24/2008 3:37:47 AM

Paolo

Me parece bien e interesante el tema.

Gracias por la aportación.

http://www.espondilitis.eu

Paolo es

11/25/2008 5:14:15 AM

Busby SEO Test

What a nice post about
Cross-post to Live Journal Extension for Blog Engine.NET

Busby SEO Test us

11/25/2008 5:22:37 AM

Busby SEO Test

hello! thanks for the information about Cross-post to LiveJournal Extension for BlogEngine.NET

Busby SEO Test us

12/5/2008 9:39:24 AM

Dating New York

This is very useful. Thank you for sharing this with us.

Dating New York us

12/10/2008 3:08:56 PM

SEO Tester Tools

Thankd for sharing the script

SEO Tester Tools us

12/19/2008 5:58:07 AM

Busby SEO Test

thank for the info

Busby SEO Test us

1/11/2009 1:56:56 AM

electric guitars blog

Thanks for fixed. I wii figure out how to configure the extension in Extension Manager after installation.

electric guitars blog us

1/27/2009 10:54:26 PM

busby seo test case

thanks for share the extention

busby seo test case us

1/29/2009 12:47:12 PM

Busby SEO Test

thats good extension and thank for fixed.

Busby SEO Test us

2/11/2009 12:36:49 PM

Registry Repair

New knowledge again, thanks for sharing this information...

Registry Repair ph

2/12/2009 9:43:39 AM

Kampanye Damai Pemilu Indonesia 2009

what a great post, it's so useful info. thank you.

Kampanye Damai Pemilu Indonesia 2009 us

2/16/2009 9:20:51 AM

Best Registry Cleaner

Thanks for sharing this information with us..

Best Registry Cleaner ph

2/23/2009 2:42:06 PM

learning selling

thanks for sharing this! very useful. keep it up!

learning selling us

2/24/2009 12:20:13 PM

easy cash gifts

hey that's the information i was looking for! finally found it! thanks!

easy cash gifts us

2/26/2009 3:26:48 PM

learning selling

thanks for the script mate!

learning selling us

3/6/2009 11:01:46 AM

cooldude055

Thanks for sharing this one. Nice post.

cooldude055 us

3/8/2009 9:26:48 AM

Jobs in Dubai

i just downloaded and installed and uploaded it but it doesn't work with me. :-(

Jobs in Dubai ae

3/14/2009 11:01:11 AM

Secured Homeowner Loan


Thanks for the tips, it’s really worthwhile coming on your page keep it up.

It’s a really great sharing your ideas, it really helps, thanks for posting.

Secured Homeowner Loan us

3/17/2009 6:55:56 AM

The Peoples Program Team

good post., i love to read each word of this post!

The Peoples Program Team us

3/17/2009 8:30:05 AM

Slim Fit Blog

this is what another what i like

Slim Fit Blog us

3/19/2009 1:38:09 PM

giving4prosperity

Thanks for the great information.

giving4prosperity us

3/24/2009 6:02:36 AM

gadgets in future

it give more info,thanks

gadgets in future us

3/24/2009 8:52:51 AM

bolinao

Hi, i enjoy reading your website or blog. Finally, i collect some ideas for my blog. Thanks for the information.

bolinao us

3/24/2009 5:25:33 PM

seo alaminos

thanks for the latest updates, now i can easily put some features to my blogengine

seo alaminos us

3/25/2009 4:51:11 AM

tnomeralc web design toys

Your tips is good. Really helpful to me. Thank you for this.

tnomeralc web design toys us

Comments are closed
Copyright © 2003 - 2009 Alan Mendelevich
Powered by BlogEngine.NET 1.3.1.0