Message Boards Message Boards

1
|
2318 Views
|
0 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Named URL for URLShorten

Posted 6 years ago

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 ​ 
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract