Message Boards Message Boards

Named URL for URLShorten

GROUPS:

It would be nice to make short URLs with a name coming after a long garbled block, by which I mean if I have a site at: https://www.wolframcloud.com/objects/b3m2a1.paclets/PacletServer/main.html

It'd be nice to make a short URL that looks like "https://wolr.am/rand_string/paclet_server" where rand_string will look like "tFnQPetH". Just some random disambiguation string. That way nothing will ever collide.

The DownValues of URLShorten suggest that WRI employees can make named URLs, although it looks like they're restricted to alphanumeric and - (from a further DownValue). Unfortunately my first attempt at hacking this system:

Block[{$WolframID = "faker@wolfram.com"},
 URLShorten["https://www.google.com", "google"]
 ]

Gives me:

"URLShorten::clnterr: Unexpected client error: <|url->You do not have permission to create named URLs.|>."

$Failed

So why not let us do silly things like "https://wolr.am/OadkAmkE/dumb_url"?

POSTED BY: b3m2a1 ​ 
Answer
16 days ago

Group Abstract Group Abstract