Continuing yesterday's work, today I added support for parsing Twitter URLs to XRay.There were a couple tricks to make this work. I wanted to make sure that Tweets are always expanded to include the most data possible, and also wanted to avoid needing to make a bunch of HTTP requests. Scraping from the twitter.com website wasn't an option, since some of the data isn't available or would require additional HTTP calls to fetch. (For example I would have to fetch every t.co URL to expand them.) So I set to work using the Twitter API to fetch the tweets.
The html includes the URL as well as the t.co link it's in spans inside the a with class invisible, as well as in data-expanded-url
ah you're right. I don't think the tweet page shows the full contents of quoted tweets though. This way I end up with an h-cite with the full-res version of the quoted tweet. I also get the author data and timestamp info from the person who RT'd a tweet this way.
Day 21. This evening, a snow storm hit Portland. It went from "oh look at the cute snowflakes" to 5 inches of snow in about 2 hours. I originally shot a bunch more b-roll for this video, but then decided I liked this shot enough to use it for the whole clip. With some more time, there's a bunch more I want to do with this song. I might try to expand on it later, because I keep having ideas for how to make this sound more like I'm imagining it.