Closed hroberts closed 8 years ago
We could save it the search and add a short hash to the saved object, and do lookups against that (combined with user id). That'd be a lowest-hanging-fruit solution.
So the short URL would be /q/uid/saved-query-hash or something.
Rahul On Fri, Feb 5, 2016 at 2:20 PM Hal Roberts notifications@github.com wrote:
maybe I'm adding functionality where it shouldn't be, but our urls are too long for easy sharing, so it would be great to have a way to automagically generate a shortened url.
— Reply to this email directly or view it on GitHub https://github.com/c4fcm/MediaMeter-Dashboard/issues/235.
I was imagining just imagining literally forwarding to bitly, but this would be better.
Come to think of it, there's a reason why every content site in the world includes sharing links plastered everywhere in their site. They always feel a bit icky about the, but we should at least talk about whether to add them to the next version.
Why do we need the uid in the url? Can't we just look it up based on the hash?
-hal
On 2/5/16 1:57 PM, rahulbot wrote:
We could save it the search and add a short hash to the saved object, and do lookups against that (combined with user id). That'd be a lowest-hanging-fruit solution.
So the short URL would be /q/uid/saved-query-hash or something.
Rahul On Fri, Feb 5, 2016 at 2:20 PM Hal Roberts notifications@github.com wrote:
maybe I'm adding functionality where it shouldn't be, but our urls are too long for easy sharing, so it would be great to have a way to automagically generate a shortened url.
— Reply to this email directly or view it on GitHub https://github.com/c4fcm/MediaMeter-Dashboard/issues/235.
— Reply to this email directly or view it on GitHub https://github.com/c4fcm/MediaMeter-Dashboard/issues/235#issuecomment-180534095.
Hal Roberts Fellow Berkman Center for Internet & Society Harvard University
You can get the short url on the saved search popup now. A number of major caveats here:
Fantastic! Thanks Rahul!
maybe I'm adding functionality where it shouldn't be, but our urls are too long for easy sharing, so it would be great to have a way to automagically generate a shortened url.