trying to get tumblr post embedding working properly, which is to say using the official API to get the semantic building blocks of each post instead of the dog vomit HTML they actually contain, and I've found myself shaving a yak. hopefully someone other than me will find this useful