WLW Post Download Plugin–instructions

UPDATE 9/25/2010: Fixed some more blogger issues. Thanks to Jimmy Bergmark for the big help in testing this.

The issue: you are browsing your blog and come across a very old post that you wish to update (typo, changes, etc.). You try to open it with Windows Live Writer but the mission is almost impossible since the post is deeply buried in the history and hard to find.

The solution: my plugin! In reality it’s not really a plugin in the literal sense as much as a standalone application that uses Windows Live Writer to accomplish its job.

How it works: the plugin installs a URI handler which means that by creating a specially crafted url to be published on your blog or to type in on any browser, you will be able to download the post and edit it with Windows Live Writer. To specially craft the url you need two bits of information: the postid of the post to be edited and if the post itself is a “regular post” or a “page”. The url format is this:

wlw://[yourblogdomain]/?postid=[postid]    for regular blog posts and
wlw://[yourblogdomain]/?pageid=[postid]   for a “page”.

You can even put the link in the post content itself by editing the template. For added security you can make the link visible only to the blog editors, but nonetheless the blog credentials will be required to perform the editing anyway.

For example, if I wish to edit this page I need to open the following URL:

wlw://aovestdipaperino.com/?pageid=4952

The image below shows what happens when such URL is opened:

Note for blogger/blogspot users: The url format described above only works for MetablogAPI based blogs (95% of the blogs platform supported). An exception to this is the blogger/blogspot platform for which a different but simpler url format is required. The url format for blogger is the same URL that links to the post with WLW in place of HTTP. For example, if this blog was running on blogger, the URL to open it would be:

image

The plugin is downloable from this page or directly from this link.

-enjoy

Backlinks which might provide better instructions:

Potrebbero interessarti anche:
Commenti (16):
1. kiatlc
lunedì 11 ottobre 2010 alle 6:53 PM - chrome 6.0.472.63 Windows XP
   

One question:

1. can it be used with Google Chrome?

2. it can also used with WordPress?

   
2. Paperino
lunedì 11 ottobre 2010 alle 7:16 PM - chrome 6.0.472.63 Windows 7
   

Yes and yes since Wordpress supports the Metablog API.

   
3. Peter Donker
martedì 6 dicembre 2011 alle 2:32 PM - chrome 15.0.874.121 Windows 7
   

Any chance of getting the source code? Or having it on Codeplex? The documentation on the WLW API is very sketchy and this would help greatly to illustrate how we can use it to open a particular blog post.

Peter

   
4. Paperino
martedì 6 dicembre 2011 alle 4:28 PM - chrome 15.0.874.121 Windows 7
   

@Peter: I can send you the code if you want, but I am not convinced it should live on Codeplex. I don't use public APIs, I use some internal WLW APIs I discovered through reflector. I hope one day this becomes built-in functionality.

   
5. Peter Donker
giovedì 8 dicembre 2011 alle 9:40 PM - chrome 15.0.874.121 Windows 7
   

@Paperino: I'd love the code, yes. We're looking to do a project where we use the WLW capacities to manage other content items on a site than blog. It seems the WLW API and management capabilities were only designed with blogs in mind. But it could be a very powerful tool to manage other content items on websites due to its ability to embed content. Your code would really help to find a workaround for the lack of management capabilities. Cheers.

   
6. Paperino
venerdì 9 dicembre 2011 alle 12:23 AM - chrome 15.0.874.121 Windows 7
   

Yes Peter, by using this "hack" you could technically manage any type of content: I thought about that in the past as a possibility for users to post elaborate comments etc. Now that you make me think back to this, yes it would make sense to make it on codeplex. I am sending the code your way for now, gimme a couple of days to find which version is the most up to date.

   
7. Peter Donker
lunedì 12 dicembre 2011 alle 10:48 PM - chrome 15.0.874.121 Windows 7
   

Hey man. Did you already try to send it over? I'm running through my spam filter to see if it got stuck there.

Peter

   
8. Paperino
martedì 13 dicembre 2011 alle 7:09 PM - chrome 15.0.874.121 Windows 7
   

I just did. I've been busy and I am fairly positive I am sending the latest version. Check your email, sorry for the delay.

   
9. Hernan Seivane
domenica 4 marzo 2012 alle 4:27 AM - firefox 10.0.2 Windows 7
   

Hi, How are you? I´m getting this error in a huge blog. It works fine with lower numbered pages.


destino de la invocación. ‐‐‐>
WindowsLive.Writer.PostEditor.PostEditorStorageException: Error de acceso a la
entrada local ‐ Error inesperado al tener acceso a la entrada local
﴾UriFormatException﴿

URI no válido: no se puede analizar el nombre de host.
   en
WindowsLive.Writer.PostEditor.PostEditorFile.SaveCore﴾IBlogPostEditingContext
editingContext, PostEditorFile autoSaveSourceFile, String filePath﴿
   en
WindowsLive.Writer.PostEditor.PostEditorFile.SaveBlogPost﴾IBlogPostEditingCont
ext editingContext﴿
   ‐‐‐ Fin del seguimiento de la pila de la excepción interna ‐‐‐
   en System.RuntimeMethodHandle._InvokeMethodFast﴾Object target, Object[]
arguments, SignatureStruct& sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner﴿
   en System.RuntimeMethodHandle.InvokeMethodFast﴾Object target, Object[]
arguments, Signature sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner﴿
   en System.Reflection.RuntimeMethodInfo.Invoke﴾Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean
skipVisibilityChecks﴿
   en System.Reflection.RuntimeMethodInfo.Invoke﴾Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture﴿
   en WLWPostDownloader.MainForm.InvokeMethod﴾Object o, String[]
methodNames, Object[] args﴿
   en WLWPostDownloader.MainForm.backgroundWorker_DoWork﴾Object sender,
DoWorkEventArgs e﴿

   
10. Paperino
lunedì 5 marzo 2012 alle 7:43 PM - chrome 17.0.963.56 Windows 7
   

It seems more like an issue with the blog URL. I would suggest you try to do it on a machine where you have only one blog configured on WLW. Lemme know.

   
11. Hernan Seivane
sabato 10 marzo 2012 alle 1:44 AM - firefox 10.0.2 Windows 7
   

Same problem, the blog has more than 1000 pages.

   
12. Paperino
sabato 10 marzo 2012 alle 6:37 AM - chrome 17.0.963.78 Windows 7
   

Contact me privately and I will see if I can debug your issue.

   
13. Michael
venerdì 27 settembre 2013 alle 6:54 AM - chrome 29.0.1547.76 OS X 10.8.4
   

Hi, thankyou for this pluggin. But for some reason- when I try to download it with wordpress, it dies out giving me a bad URL error?

The blog post I am trying to download from wordpress follows your structure but I cannot figure it out? Thanks so much for your help!

wlw://www.michaelweening.com/?...

 

cannot figure out what I am doing wrong?

   
14. Paperino
venerdì 27 settembre 2013 alle 9:04 PM - chrome 29.0.1547.76 Windows 8
   

Michael, shoot me an email and I will see how can I help. Thanks!

   
15. andrea
mercoledì 18 dicembre 2013 alle 7:50 PM - firefox 26.0 Windows XP
   

Hi, I have installed WLW downloader, but i have the error message 'invalid url'. I use both postingid and url.I use both IE and mozilla.

I have the last version of wlw: build 14.0.8117.416 it. On windows xp 32

thank you very much

Andrea

   
16. Paperino
giovedì 19 dicembre 2013 alle 6:23 PM - chrome 31.0.1650.63 Windows 7
   

Andrea, scrivimi una mail: http://aovestdipaperino.com/ContactMe.aspx

   
Lascia un commento:
Commento: (clicca su questo link per gli smiley supportati; regole di ingaggio per i commenti)
(opzionale, per il Gravatar)