This is an small wrapper around the ethical shortener service https://is.gd. Migrated from: http://static.smalltalkhub.com/Offray/Shortener/index.html
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Offray Vladimir Luna Cárdenas dc3fbba26d Migration from SmalltalkHub: .project created 3 weeks ago
.project Migration from SmalltalkHub: .project created 3 weeks ago
.properties Migration from SmalltalkHub: .project created 3 weeks ago
LICENSE Initial commit 2 years ago
README.md Actualizar 'README.md' 2 years ago

README.md

Shortener

This is an small wrapper around the ethical shortener service https://is.gd.

Installation

Run this two steps in a playground:

"Start by loading the configuration of Shortener"
  Gofer new
    url: 'http://smalltalkhub.com/mc/Offray/Shortener/main';
    package: 'ConfigurationOfShortener';
  load.

"After that load Shortener"
ConfigurationOfShortener load.

Usage

  • To shorten a link do:

    Shortener shorten: 'https://pharo.org', which produces something like: `'https://is.gd/cQWvtm'

  • To enlarge a link do:

    Shortener enlarge: 'https://is.gd/cQWvtm', which, conversely, produces `'https://pharo.org'.

  • To shorten a link with an explicit alias do:

    Shortener shorten: 'https://pharo.org' as: 'pharo', which produces 'https://is.gd/pharo'.

    or will raise an error once a short url have been taken. For example, by running the previous example the alias 'pharo' has been taken for all future short urls and can not be used again (you will need to pick a new short url alias).

Migrated from: http://static.smalltalkhub.com/Offray/Shortener/index.html