Commits

Author Commit Message Labels Comments Date
Peter Hosey
Fix the .be suffix creeping in when shortening a URL that has been previously shortened and then unshortened.
Peter Hosey
Added test cases and fixes for a couple of eating-characters-after-the-URL bugs in Amazon shortening.
Peter Hosey
Added tests for Tumblr shortening.
Peter Hosey
Added support for Tumblr.
Peter Hosey
Made it possible for subclasses to override the canonical URL prefix as well as suffix, and improved documentation of the overridable attributes generally.
Peter Hosey
RetrievingURLShortener now gives subclasses the ability to customize the command-line to curl.
Peter Hosey
Added support and a test case for another kind of Amazon URL I've spotted.
Peter Hosey
Added a test and a fix for #1, an Amazon format I encountered for the first time today.
Peter Hosey
In the Flickr canonical-URL regex, make the terminal slash optional, handle /in/whatever paths explicitly, and don't eat anything after the URL.
Peter Hosey
Update Flickr short-URL regular expression for their current markup.
Peter Hosey
Added tag 1.0.1 for changeset fd343a40ac13
Peter Hosey
Fixed shortening of Flickr URLs with @ signs in the username.
Tags
1.0.1
Peter Hosey
Added support for shortening Amazon wish-list URLs. Thanks to Dan Wood for using such a shortened URL in a tweet (https://twitter.com/danwood/status/9690199654), thereby tipping me off to the existence of this ability.
Peter Hosey
Add test-tmo as a phony target.
Peter Hosey
Added The Mac Observer's shortener.
Peter Hosey
Added tag 1.0 for changeset 8d549beecab7
Peter Hosey
Added a note that this license only applies to my code. This, too, applies retroactively.
Tags
1.0
Peter Hosey
Added my BSD license. This license applies retroactively to all previous revisions of this source code, and applies to my code in all releases until further notice.
Peter Hosey
Added support for Amazon.
Peter Hosey
Argh, forgot to add the newest test target to the set of all test targets *again*.
Peter Hosey
Added an Ars Technica URL shortener subclass.
Peter Hosey
Added the --location switch to the curl command, thus supporting redirects from slightly-less-canonical URLs to truly-canonical URLs.
Peter Hosey
Robustify the Flickr shortener against the possibility of Flickr making the link element self-terminate.
Peter Hosey
Fixed shortening TechCrunch URLs with digits in the slug.
Peter Hosey
Fixed a regression in canonicalizing TechCrunch URLs.
Peter Hosey
Made the retrieving URL shorteners more fault-tolerant. When they fail to find a short URL in the document, they now log the document to a temporary file and print a message with the path to stderr.
Peter Hosey
Refactored the code for canonical-document-retrieving shortener classes like that of Flickr and TechCrunch. Those two are now subclasses of a single abstract class, which does the actual work; the concrete subclasses merely provide information it needs.
Peter Hosey
Forgot to add the test-techcrunch target to the set of all test targets.
Peter Hosey
Added support for TechCrunch. Currently copypasta from the Flickr shortener; needs a refactor.
Peter Hosey
Fixed a bug in the Flickr shortener with extended URLs such as those in photo sets. Found by the test cases for photo set URLs. All tests now pass.
  1. Prev
  2. Next