Thursday, December 29, 2011

Place PDF from Google Docs into your Blog

Posted a how to post a Presentation from Google docs into your blog. Presented my findings to my friend and it got back again to me. "No is not a presentation but a pdf that I want to show" - he said. So lets start all over again but now with a pdf.
The PDF embed into this post has the details on how to, however I will quick break down the steps.

Will try to show in a few quick steps on how to

  1. We assume you have a pdf file already.
  2. Upload your pdf to your Google Docs account.
  3. Share your pdf and set it to be public.
  4. Copy the link given from Google Docs of your pdf
  5. Paste the link into the address bar of your browser
  6. Copy again the resulting link from the address bar of your browser
  7. On the address replace chrome=true to chrome=false and append to the end of the link "&embedded=true" (without the " )
  8. Place your resulting URL into this block
    1. <iframe height="780" src="MY_ADDRESS" style="border: none;" width="600"></iframe>
  9. Change width and height as needed.

Sample resulting block of code

<iframe height="780" src=";pid=explorer&amp;chrome=false&amp;srcid=0B10UfrjZDyv1YzNiZDgzZTgtMWM2Mi00YmM4LTg3OGEtZWY3YjQ1NmExMGQz&amp;hl=en_US&amp;embedded=true" style="border: none;" width="600"></iframe>

Embedded PDF in action!

Hope this was useful to you!

Wednesday, December 28, 2011

How to link a Google doc presentation into your blog

Some time ago a friend asked me on how to share a document made in Google Docs from his blog. Well I said I don't know. But as the nerd that I am, could not stop me from finding out.

So here it goes in 5 steps.
1. Create the document (this you may already conquer!!, one down and four to go). Sample is a presentation.
2. Change the privacy settings of your document to make it "Anyone with the link"
3. Go into the right corner to Share - Publish/embed
4. Click on Publish Presentation
5. Copy and paste the code into your blog.

If the instructions are too hard for you, take a look at the presentation bellow.

That is all, hope it helps.

Monday, December 5, 2011

Am I that stupid developer?

Everyday I read stories in the web about someone (a developer) who do something awesome. Some great app or hack that for me seems to be impossible to accomplish.
I spend a lot of time on developer sites, reading and coding. But still I am able to accomplish very little. So it is normal to ask myself "Am I that stupid or are they so smart?". Probably the answer is a little of both (which one is more left to be seen).
All this just to say, if you are a developer or want to be. Please do not think of yourself less than others because of what some guys in the web do. There are a lot of brilliant guys out there and in my experience a lot of those brilliant guys can help during our late nights smashing our heads about a null pointer exception or a script error. Keep on programming, hacking or whatever is that rocks your boat. Because be sure that I will continue as well as a lot of other nerds like us.
Enjoy programming and developing, help others when you can and share what ever you can!
Happy programming for all who reads this (if any).