Posting from Google Docs

I just wanted to check what would be if I could write my articles nicely in Google Docs and publish them directly to my blog (wordpress) so here is my first attempt to do this.

I will include some formatted text and also some other things like pictures:

First of all a wizard hat:

And what I wand to test with this? Well I’ve been thinking a lot lately how could I share the things I learned across these few years of developing in Java, with those interested.

I mean I’ve done some things that maybe might be useful for others, or maybe could give them ideas to create something special…in short I just want to share my findings during these few years…but because I am a lazy developer I hate (still hate) using the Blog editors to compose and write my stuff, plus It would be nice to be able to work on these short articles wherever I have time (even offline) so this made me think:”Would it be possible to write these articles in Google Docs and than post them as blog posts on the Blog engine”…and after a short Goggling I came across the following article (http://bavatuesdays.com/publishing-google-docs-to-your-blog/) published in 2008 which gave me hope ;), but after reading the comments it seems like this will not. And indeed it is not working as Google Docs does not have the Publish to Blog feature anymore.

Another option was an interesting plugin which was designed to follow a folder in your Google Drive and move documents from this to another specified folder, while transforming them to posts. The plugin is called Doc to WordPress and has a details description here but I was not convinced to enter my Google credentials to such a plugin and having it move files around on my Drive is not an option for me, sorry guys I am too paranoid  plus this did not have any support for images, only text.

Just when I was about to give up, I tried one last thing: Download and import

…which did work (as you see)

Download the article as Microsoft Word (.docx)

Using the Post Office plugin create a post using a simple interface:

and there you go…

Well I think it will work fine for me …

If you see this post you can compare it with the original Doc:

https://docs.google.com/document/pub?id=1oEvppe1u3OjFR1Wj1TFbsAWcXV5pcQDVoOlvI7b72X4

With all this set, I can start writing.

Until next time, happy coding.