dthompson/billboard — pull request #13 by ahhrrr (2013-07-21 23:54:42+00:00)
Title: identify type by url

Billboard should be able to figure what kind of a thing you're trying to send to it using a simple heuristic:

- If the url ends in .jpg, .gif, or .png, it's an image.
- if the url contains youtube, and you can extract out the video id, it's a youtube video.
- if it doesn't meet the above categories, it's treated as an iframe.