Path

ez projects / ez_url_jump


eZ URL Jump

UNIX name Owner Status Version Compatible with
ez_url_jump Quoc-Huy NGUYEN DINH planning 1.0.3 4.0.x, 4.1.x, 4.2.0

This extension will allow you to create URL shortener web service like
tinyurl.com, is.gd or bit.ly...
The shortened URLs will look like:
But with a RewriteRule it can be:
See the full description for more details

Requirements:
- eZ Publish 4.0.1 at least
- this has been tested with an eZ Publish installation configured with
VirtualHost (see
- this has been tested with an eZ Publish installation configured with
MatchOrder=host (site.ini)
Installation:
- Install the ezpackage file included in the tarball.
- in the content structure, create a folder named 'URL Jumps' for the
container
- configure the folder NodeID in the settings/ezurljump.ini file
- create a section named 'URL Jump'
- assign the above created folder to this section
- the created folder should not be available to the public (unless
that is what you want...)
- activate the extension in your site.ini
Use:
- an API similar to the one from tinyurl.com allows you to generate a
short version of any URL:
- you can call it directly from a fopen() to, for example:
- the short URL is called thru the 'out' view:
- you can shorten the API URL with a URL Wildcard such as 'shorten*'
=> 'ezurljump/in/{1}' and use
Background:
- the extension uses the URL shortener described here:
- the short URL ID will start with two characters and will move to 3,
4 etc... characters as needed.
RewriteRule (no demo site):
- if you want even shorter then you will of course need a short domain
name and add a RewriteRule to your apache config (or .htaccess
depending on your system installation)
- customize the rule depending on what else you are doing on the
website.

Screenshot

This project has no reviews yet. Be the first one to review it!

No forum messages yet.