Giter VIP home page Giter VIP logo

substanced_alias's Introduction

substanced_alias 1.0a
=========================

A plugin for the Python Substance D (substanced) CMS that allows you to create
aliases for resources. The aliases maintain a reference to a resource in zodb
and perform a redirect to the full URL when accessed.

Ex. You want to share your amazing new blog post located here:
  http://site/blog/category/posts/neat-article?page=7

But you want the URL to look like this:
  http://site/NEAT

In your Pyramid's main function, add:

    config.include('substanced')
    config.include('substanced_alias')


Now when you access a Folder through the admin interface (including your site's
root folder), the Add button menu will allow you to add an Alias object.


Singleton FAQ
=============
Why not use a URL shortening service?

Why not indeed! Actually, you probably should use a URL shortening service if
that's an option for you.

But sometimes it's important to use your branded URL, and the small increase in
overhead (an application-level redirect) often outweighs the pain of managing
redirects at the server level. As a bonus, it also means power users can create
and maintain these on their own via substanced's intuitive admin UI.

substanced_alias's People

Contributors

ericrasmussen avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  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.