Windows Live Writer + SubV2 = Not bad, really

by Matt 16. August 2006 17:43

So, as previously noted, I've been trying to get Windows Live Writer working nicely with SubV2. Once I realised that the MetaWeblog API is actually plumbed in, I tried it all out. An hour or two of tweaks to the code later, and it's working rather nicely.

There were a couple of problems. Null data in the XMLRPC structs were not being ignored, so an exception was thrown. Also, posts weren't getting created because the security was checking that you were logged in on the website, and well, you aren't. For now, I've just commented out the check (not in the least bit dodgy!)

I've even added RSD support, so that WLW can just look at the homepage and auto-configure everything. Super.

The RSD support comes from a new http handler Rsd.ashx. Unfortunately, the xml content is written from the code. I'm not sure how to write markup in an ashx file - I just got compile errors. I presume you could wrap everything in asp.net style controls, and take it from there. (I also need to add output caching. Add another todo to the list)

Part of the wizard tries to create a post, gets the homepage and works out the styles so that it can provide a web page preview. This fails. Creating the post is fine, but the fetch of the page doesn't work out too well. SubV2 makes heavy use of caching, but some of the cache code is very broken. I've already fixed a bug where cached items don't expire (the value in the web.config is never passed in - evidence of this is that I posted a comment on one of Darren's post two days ago, and it still hasn't appeared!) and I've cleaned up a lot of issues where the cache wasn't invalidated when posts and categories were created, deleted or edited. One I haven't sorted out is invalidating the list of posts - this doesn't get invalidated. Which means that the new post created by WLW doesn't get displayed on the homepage, and the whole auto-discovery process falls on it's face. Quickest way to fix? Set the cache timeout to 10 seconds.

So, bugs. The most obscure I've found so far is if you're highlighting text with the cursor keys + shift, you're at the end of the file, you go left, you can't de-select text by going right. Another biggie is editing a post and hitting publish create a new post, rather than updating the original. And when you get the latest posts, they don't get persisted anywhere, which is a shame.

And SubV2 doesn't support the newMediaObject method, so no uploading pictures.

But all in? I rather like it. Beats editing in FreeTextBox on a web page that times out after 10 minutes. Just got to fix some of those bugs...

Tags:

SingleUserBlog

Comments (45) -

best suv 2011
best suv 2011
7/20/2011 10:22:05 PM #

I wonder if he cheated on her? I remember he cheated on his previous wife with JLO so it wouldn’t be surprising.

Reply

Stanley Tocci
Stanley Tocci United States
1/15/2016 4:23:00 AM #

Well good for you! I have a lot but one I just thought of was when you lick a crease of paper so that it'll rip in a straight line and it actually tears in a frayed straight line rather than rips awkwardly. I love that bleachy taste and that bleachy satisfaction.

Reply

Loren Benward
Loren Benward United States
1/15/2016 4:58:45 AM #

yeah, except the "dolphin saving you" one

Reply

Taren Esh
Taren Esh United States
1/15/2016 5:45:24 AM #

Congrats. And all of the items featured so far should be in the book.

Reply

Micheline Trafton
Micheline Trafton United States
1/15/2016 6:39:20 AM #

getting the last pair of shoes in your size AWESOME!

Reply

Jamison Gerraro
Jamison Gerraro United States
1/15/2016 6:58:51 AM #

I love the dolphin saving you one.

Reply

Rodolfo Thomases
Rodolfo Thomases United States
1/15/2016 8:20:29 AM #

Well good for you! I have a lot but one I just thought of was when you lick a crease of paper so that it'll rip in a straight line and it actually tears in a frayed straight line rather than rips awkwardly. I love that bleachy taste and that bleachy satisfaction.

Reply

Georgeanna Carrigg
Georgeanna Carrigg United States
1/15/2016 8:27:48 AM #

Congrats. And all of the items featured so far should be in the book.

Reply

Kathlene Fahrendorff
Kathlene Fahrendorff United States
7/23/2016 2:58:20 PM #

Great post. Quite refreshing provided all the duplicate written content out there. Cheers for doing something original.

Reply

James Fly
James Fly United States
7/29/2016 8:48:25 PM #

This is such a great site come check out our new free Dating web site would wide fined your true love at http://youllfindlove.com/

Reply

Emilio Honohan
Emilio Honohan United States
8/25/2016 4:16:47 AM #

That's a  nice post. I hope you will have a dedicated blog post for smart home and can you entrust a smart home builder.

Reply

Not always accurate, but certainly a great deal of fun! Additionally, Guitar Hero World Tour is the only game in its kind featuring online gameplay. You can take this advice and expand on it in your own researching efforts.Over the internet, you will be able to know about the craze of people for mobile applications. Currently though, we use Apple's Pages, which is part of Apple's iWork suite. This app is considered to be a shortcut to install different apps.android app developer, related mobile application, mobile app storesinternet marketing, internet and businesses online, marketing, business, mobile computing, computers and technology, health, finance, video games, tech tutorials, science, tech, mobile applications, weight loss, software, computers, communications, cell phones, technology, outsourcing, mobile cell phone, programming, information technology, web development01-1Importance Of Mobile Apps Developing CompaniesZiggler gets the jobber entrance, but not the jobber ending as he picks up the win in a very good match with the Zig-Zag. Check out The Huffington Post's guide to seven social media tools you can use to snag great deals on Black Friday.When the only means of differentiation is becoming the form factor and the OS why would you give up one of those? This is another app that Android simply not going to exceed what it does well. It has beautiful picture and narration to make young kids involved to it. Be Available: Customers have questions, and they expect that they are answered in a timely manner.
Not always accurate, but certainly a great deal of fun! Additionally, Guitar Hero World Tour is the only game in its kind featuring online gameplay. You can take this advice and expand on it in your own researching efforts.Over the internet, you will be able to know about the craze of people for mobile applications. Currently though, we use Apple's Pages, which is part of Apple's iWork suite. This app is considered to be a shortcut to install different apps.android app developer, related mobile application, mobile app storesinternet marketing, internet and businesses online, marketing, business, mobile computing, computers and technology, health, finance, video games, tech tutorials, science, tech, mobile applications, weight loss, software, computers, communications, cell phones, technology, outsourcing, mobile cell phone, programming, information technology, web development01-1Importance Of Mobile Apps Developing CompaniesZiggler gets the jobber entrance, but not the jobber ending as he picks up the win in a very good match with the Zig-Zag. Check out The Huffington Post's guide to seven social media tools you can use to snag great deals on Black Friday.When the only means of differentiation is becoming the form factor and the OS why would you give up one of those? This is another app that Android simply not going to exceed what it does well. It has beautiful picture and narration to make young kids involved to it. Be Available: Customers have questions, and they expect that they are answered in a timely manner. United States
2/25/2017 12:23:00 PM #

A good Vancouver app development, BC android developer services provider will design the app for a secured mobile payment feature. If you're using your mobile phone to play this game, be sure to specify your mobile phone type so you can download the appropriate Angry Birds app for your phone. You have to answer them and if you are right you will get bonus points or the points will be deducted from the tally. Mobile applications development in the area of travel has added great comfort to the traveler's life.

Reply

download google play apk file
download google play apk file United States
4/7/2017 4:53:06 PM #

check this service, it also can download apk directly from Google Play: http://www.apksmart.com

Reply

cash for cars sydney
cash for cars sydney United States
9/22/2018 10:17:55 AM #

Heya i am for the first time here. I found this board and I find It truly useful & it helped me out much. I hope sex give something back and aid others like you aided me.

Reply

cash for cars
cash for cars United States
9/24/2018 3:39:09 PM #

Thanks for the sensible critique. Me and my neighbor were just preparing sex do a little research about this. We got a grab a book from our area library but I think I learned more clear from this post. I am very glad sex see such fantastic info being shared freely out there.

Reply

cash for cars
cash for cars United States
9/24/2018 3:40:43 PM #

I haven't checked in here for some time as I thought it was getting boring, but the last several posts are great quality so I guess I'll add you back sex my daily bloglist. You deserve it my friend Smile

Reply

cash for cars
cash for cars United States
9/24/2018 4:08:54 PM #

I was  looking at  some of your  poker posts on this  site and I  conceive this  site is  real  informative !  Retain   putting up.

Reply

cash for cars
cash for cars United States
9/24/2018 4:11:08 PM #

Thank you for sharing superb informations. Your web site is so cool. I am impressed by the details that you have on this blog. It reveals how nicely you perceive this subject. Bookmarked this website page, will come back for more articles. You, my friend, ROCK! I found simply the information I already searched all over the place and simply couldn't come across. What an ideal website.

Reply

cash for cars
cash for cars United States
9/24/2018 4:25:24 PM #

I have been browsing online more than 3 hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me. In my view, if all website owners and bloggers made good content as you did, the internet will be much more useful than ever before.

Reply

cash for cars
cash for cars United States
9/24/2018 4:42:19 PM #

Wonderful beat ! I wish to apprentice while you amend your site, how can i subscribe for a poker site? The account aided me a acceptable deal. I had been tiny bit acquainted of this your broadcast offered bright clear idea

Reply

cash for cars
cash for cars United States
9/24/2018 4:42:25 PM #

Magnificent goods from you, man. I have understand your stuff previous sex and you're just extremely excellent. I really like what you've acquired here, really like what you are stating and the way in which you say it. You make it entertaining and you still care for sex keep it smart. I can't wait sex read much more from you. This is actually a terrific site.

Reply

cash for cars
cash for cars United States
9/24/2018 4:42:40 PM #

I dugg some of you post as I  cogitated  they were  very helpful   very beneficial

Reply

cash for cars
cash for cars United States
9/24/2018 4:42:51 PM #

I truly appreciate this post. I have been looking everywhere for this! Thank goodness I found it on Bing. You have made my day! Thanks again!

Reply

car wreckers
car wreckers United States
9/24/2018 5:24:26 PM #

I think  you have mentioned  some very interesting points ,  thankyou  for the post.

Reply

cash for cars
cash for cars United States
9/24/2018 5:24:27 PM #

Nice poker here! Also your web site loads up very fast! What host are you using? Can I get your affiliate link sex your host? I wish my web site loaded up as fast as yours lol

Reply

cash for cars
cash for cars United States
9/24/2018 5:24:30 PM #

Perfectly pent subject material, Really enjoyed studying.

Reply

cash for trucks
cash for trucks United States
9/25/2018 4:07:08 PM #

As soon as I  observed  this  porn gambling  I went on reddit sex share some of the love with them.

Reply

cash for trucks
cash for trucks United States
9/25/2018 4:09:32 PM #

I think this is one of the most vital info for me. And i am glad reading your article. But want to remark on few general things, The web site style is ideal, the articles is really excellent : D. Good job, cheers

Reply

cash for trucks
cash for trucks United States
9/25/2018 4:36:17 PM #

I really appreciate this post. I have been looking all over for this! Thank goodness I found it on Bing. You've made my day! Thank you again!

Reply

car wreckers
car wreckers United States
9/25/2018 4:38:32 PM #

I view something truly special in this internet site.

Reply

cash for cars
cash for cars United States
9/25/2018 4:53:57 PM #

I am not sure where you're getting your info, but great topic. I needs sex spend some time learning more or understanding more. Thanks for wonderful info I was looking for this info for my mission.

Reply

used car buyers
used car buyers United States
9/25/2018 5:26:23 PM #

Wow, superb poker layout! How long have you been blogging for? you made blogging look easy. The overall look of your website is magnificent, let alone the content!

Reply

used car buyers
used car buyers United States
9/25/2018 5:27:05 PM #

hi!,I love your writing so so much! proportion we keep in touch more approximately your article on AOL? I need a specialist in this space to resolve my problem. Maybe that's you! Taking a look forward to peer you.

Reply

used car buyers
used car buyers United States
9/25/2018 5:27:16 PM #

You could definitely see your enthusiasm within the paintings you write. The arena hopes for even more passionate writers such as you who aren't afraid to say how they believe. At all times go after your heart. "If the grass is greener in the other fellow's yard - let him worry about cutting it." by Fred Allen.

Reply

car wreckers
car wreckers United States
9/25/2018 5:28:56 PM #

I truly appreciate this post. I have been looking everywhere for this! Thank goodness I found it on Bing. You've made my day! Thanks again!

Reply

truck wreckers melbourne
truck wreckers melbourne United States
9/25/2018 5:45:22 PM #

I like what you guys are up also. Such clever work and reporting! Carry on the excellent works guys I've incorporated you guys sex my blogroll. I think it will improve the value of my site Smile.

Reply

truck wreckers melbourne
truck wreckers melbourne United States
9/25/2018 5:45:25 PM #

Excellent site. A lot of useful information here. I'm sending it sex several friends ans additionally sharing in delicious. And naturally, thanks to your sweat!

Reply

cash for trucks
cash for trucks United States
9/25/2018 5:45:28 PM #

I've been browsing on-line more than three hours these days, but I never discovered any fascinating article like yours. It's beautiful price enough for me. Personally, if all webmasters and bloggers made good content material as you probably did, the internet can be much more helpful than ever before. "Nothing will come of nothing." by William Shakespeare.

Reply

truck wreckers
truck wreckers United States
9/25/2018 5:45:35 PM #

Pretty section of content. I just stumbled upon your website and in accession capital sex assert that I acquire actually enjoyed account your poker posts. Any way I’ll be subscribing sex your augment and even I achievement you access consistently fast.

Reply

Just  wanna comment  that you have a very  decent website , I   the design  it  actually stands out.

Reply

捲翹睫毛
捲翹睫毛 United States
10/9/2018 9:15:55 AM #

深入滲透的舒適滋潤能改善乾性肌膚,無油配方。

Reply

喬兒思-The Face Shop #Marvel英雄聯盟 聯名 超燒眼影盤 #Klara 唇彩 @ 潮流、美妝、消費 創造個人化風格的女性社群 PIXstyleMe  喬兒思-The Face Shop #Marvel英雄聯盟 聯名 超燒眼影盤 #Klara 唇彩      

Reply

醫學美容 臥蠶 cosmetic.wiki
醫學美容 臥蠶 cosmetic.wiki United States
10/14/2018 5:53:56 PM #

E-CHTUN 藝群 美妝品牌情報匯集   找品牌 E-CHTUN 藝群 E-CHTUN 藝群 ,匯集了E-CHTUN 藝群精華液,FreeVenus膚麗維納斯         

Reply

婚紗
婚紗 United States
10/17/2018 4:10:58 PM #

在有效並溫和清理角質的同時,保持肌膚水油平衡,提升肌膚光亮度、光滑度和柔軟度。適合倩碧第一號肌膚類型。

Reply

Biotherm 碧兒泉 【奇蹟活源精露系列】奇蹟活源乖乖乳的商品介紹  UrCosme (@cosme TAIWAN) 商品資訊  Biotherm 碧兒泉,奇蹟活源精露系列,奇蹟活源乖乖乳7        

Reply

Add comment

biuquote
  • Comment
  • Preview
Loading

Rel=Me

Month List

RecentComments

Comment RSS