DropBox + WordPress/Blogger

One of my major gripes with both WordPress and Blogger (hosted versions) is the restriction of file extension uploads. Blogger will only let you upload images to embed in your posts, whereas WordPress will allow images and a few different document types (doc, docx, pdf, ppt). WordPress also has an upgrade option in which you can purchase more space and with this upgrade you'll unlock the ability to upload common audio/video files (mp3, wav, mpg, avi, etc).

This is still highly restrictive however, what if I want to upload a zip file of an application I made and publish it on my blog? In the past you'd typically need to use a self-hosted WordPress installation for this which had no file extension restrictions.

However, DropBox has an interesting feature that easily allows you to create public links to any files you store in your public directory under your DropBox target folder, which you can then publish in your blog post. The procedure is as follows:
  1. Write a post in your blog to which you want to attach a file.
  2. Copy the file somewhere on your local pc in your public drop-box folder.
  3. The file will automatically get uploaded and synced to your Dropbox account.
  4. Right-click the file, hover over to the Dropbox context menu and click copy-link-address.
  5. Paste the link in your post and you're done!
The advantage of this is that you don't need to worry about uploading files through some clumsy web interface that takes twenty minutes to do - simply drop the file in your local file-system and copy the link. The file will then continue to upload in the background. This will also let you organize your files better, and should you wish to perform regular updates, even better!

Yet another advantage is that this decouples your blog from your file-storage. You can easily export a Blogger blog and import into a WordPress account and all your links will simply be carried over, still pointing to the same DrobBox URLs - no need to migrate directories across via FTP and re-edit all the links to make them conform to your new structure.

I'm strongly considering treating images the same way now rather than uploading to this account...it's bound to come in handy when I change my mind and switch to yet another CMS.

Comments

Popular posts from this blog

Wkhtmltopdf font and sizing issues

Import Google Contacts to Nokia PC Suite

Can't delete last blank page from Word