Giter Club home page Giter Club logo

shorteen's Introduction

Shorteen

Shorteen lets you shorten your URLs using wide range of shortening services - third-party and self-hosted.

Usage

{exp:shorteen:process service="bitly" url="http://www.ellislab.com"}

Parameters:

  • url – URL to shorten. If omited, will shorten URL of current page.
  • service – shortening service to use. Possible values:
    • googl – goo.gl (default)
    • isgd – is.gd
    • bitly – bit.ly (default)
    • yourls – YOURLS based service (running on any domain)
    • lessn-more – Lessn More based service (running on any domain)
    • cloud-app – CloudApp based service (running on any domain)

The shortest form of tag would be {exp:shorteen:process} – shortens URL of current page using goo.gl

If service is not available or some data are missing in settings, the module will return the 'initial' long URL.

Settings

Some shortening services are available openly for everyone, and some require providing API key and/or other data. You need to provide those in module settings.

goo.gl

To acquire an API key, visit the APIs Console. In the Services pane, activate the Google URL Shortener API; if the Terms of Service appear, read and accept them.

Next, go to the API Access pane. The API key is near the bottom of that pane, in the section titled "Simple API Access."

bit.ly

To get started, you'll need a free bitly user account and Access token. Signup at: http://bitly.com/a/sign_up

If you already have an account, you can find your access token at: https://bitly.com/a/oauth_apps

YOURLS

If you have YOURLS running on you own domain, you need to specify service URL (where script is installed) and secret signature token. The signature can be found on http://yourls-address/admin/tools.php

Lessn More

If you have Lessn More running on you own domain, you need to specify service URL (where script is installed) and API key (displayed when you log in to Lessn More).

CloudApp

Because CloudApp uses HTTP Digest authentication, you need to provide your CloudApp email address and password to create short URLs.

shorteen's People

Contributors

loren138 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.