2011 June 15

Hold the presses! Can’t distribute software!

Filed under: Digital music,Software — gasstationwithoutpumps @ 03:15

This post was going to be a release of a .c file and a .h file for making WAV files from C programs. Unfortunately, the WordPress.com blog site provides no convenient way for distributing software files. The file extensions they allow are limited to jpg, jpeg, png, gif, pdf, doc, ppt, odt, pptx, docx, pps, ppsx, xls, xlsx for “security reasons”. Allowing docx and prohibiting plain text files clear has nothing to do with security, but trying to support the Microsoft monopoly. I may need to seriously rethink whether I want to run this blog on WordPress.com, as I’ll be wanting to include file types that they do not support (program source code, perhaps schematics or PC board layouts).

Maybe it is time to abandon wordpress.com and find a friendlier blogging site that allows reasonable other file formats.

UPDATE: 8 October 2011

WordPress.com does have a perfectly fine way to show code snippets, explained on Posting Source Code.  I don’t think that documentation existed when I first posted this message—at least I couldn’t find it then.  The method is actually fairly simple: just put [sourcecode language=”python”] and [/sourcecode] around the code (with any of 28 different formatting sytles, including “cpp” for c++ and “text” for generic formatting).  So I can do snippets fairly easily, though multi-file programs may be a pain to distribute.  Downloading the snippets to the clipboard is easy, but downloading to files is not supported.  Still, that is probably good enough for this blog.



  1. I use Scribd when I need to distribute files — they can be embedded directly into a WordPress blog.

    I just uploaded a text file without problems. The file is publicly viewable, and can be downloaded in .txt format by anyone.

    The code to embed it is here:

    Comment by Mylène — 2011 June 15 @ 17:27 | Reply

    • I’ve seen a lot of blogs with Scribd documents in them. That seems ok for plain text files where you don’t care about the extensions, but I’m used to web sites that allow arbitrary files (like tarballs and special-purpose binary files). I’m trying to decide now between moving to a hosting service that provides both blog and web support (which would probably cost me $5–10 a month) or using a free file-sharing service (like Scribd, but with fewer restrictions on file types) that is completely separate from the blog. There are dozens of file-sharing services out there currently, but I have no idea which ones will still exist a year from now. Going through the blog to fix all the links when I have to change file services would be a big pain, so an integrated blog and web service may be worth paying a little for.

      if this were more closely tied to my work at the university, I’d use my .edu address there for file storage, but I’m thinking of trying to separate my University teaching and research from my more personal work.

      Comment by karplus — 2011 June 15 @ 20:18 | Reply

  2. […] one of my earliest posts on this blog (Hold the presses! Can’t distribute software!), I complained about not being able to discuss code on the wordpress.com blogs. I found out today […]

    Pingback by I can post software! « karplus4arduino — 2011 October 8 @ 20:45 | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at WordPress.com.

%d bloggers like this: