Newer versions of this code may be found at https://github.com/oerpub/oerpub.editor/