moved subidea ordering into content
extracted URL helper functions from kinetic.idea for reuse in export to html