Dashboard > Magnolia Development > ... > Concepts > Concept Short-urls
Concept Short-urls Log In View a printable version of the current page.

Added by Teresa Miyar , last edited by Boris Kraft on Sep 30, 2008  (view change)
Labels: 
(None)

Introduction

This page contains a summary of what does this module and modifystream module do. This module would be used to shorten the images urls in a, img tags.

Implemented in 3.6 ee

See MGNLSHORTURLS@jira MGNLMODSTR@jira

Goals

  • provide a module to rewrite the response from the server
  • provide a specific use using this module: shorten the urls
  • make the changes persistent on server restart

Requirements

  • need of module-modifystream for module-shorturl to work
  • filter must be behind the gzip filter so we can read the response before is gzipped. 

Current state

Modules are now available for magnolia ee

Thanks for this page. May I suggest that whenever we describe a module, class or method, we start with explaining the intention said module, class or method? Why would we want to shorten a URL, what is the use-case for this module?

The intention of the short url module is to shorten urls which might be to long otherwise URLs should not be longer than 256 characters if you want to be on the safe side. If you have parameters in the url you might extend that. We wrote the module for a very specific usecase: image generation by passing parameters.

We have put that code in a separate module and use it as a particular example for the url rewriting facility you have in the modify-in-stream module.

Powered by a free Atlassian Confluence Open Source Project License granted to Magnolia International. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators