Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Brings canonical path calculation functionality

Project Description

Introduction

quintagroup.canonicalpath package brings canonical path calculation functionality to Plone. The package allows to define path and/or link to the object, which may differ from standard physical path or its URL in portal.

It’s used by such products as quintagroup.seoptimizer (for defining canonical link of the object) and quintagroup.plonegooglesitemaps (on google sitemaps generation).

This package is intended for bringing canonical_path and/or canonical_link property to any traversable object. For that purpose it defines ICanonicalPath and ICanonicalLink interfaces, and registers basic adapters for ITraversable objects.

This package also registers canonical_path and canonical_link indexes for possible usage in catalog (ZCatalog).

Default adapters behaviour:

  • canonical_path returns path from portal root, i.e. for /plone/front-page canonical_path will be /front-page.
  • canonical_link returns absoulute url of the object.

Supported Plone version

  • 3.x

Authors

The product was developed by Quintagroup.com team:

  • Andriy Mylenkyi
  • Taras Melnychuk
  • Volodymyr Cherepanyak

Python development by Quintagroup, 2003-2012

Changelog

0.7 (2010-06-01)

  • Add converters from CanonicalPath to CanonicalLink. Useful for migration [mylan]
  • Added tests for convertors [mylan]
  • Extract DefaultPropertyAdapter into separate one from DefaultCanonicalAdapter [mylan]
  • Added tests of default adapters registration [mylan]

0.6 (2010-04-19)

  • added compatibility with plone 3.0-3.3 [fenix]
  • added compatibility for plone 4, removed unnecessary tests [fenix]
  • added delete property functionality for ICanonicalPath, ICanonicalLink [mylan]
  • added ICanonicalLink interface/adapter/tests/indexer [mylan]

0.4 (2010-02-11)

  • Reregistered base adatapter for OFS.interface.ITraversable [mylan]
  • Rewrite indexer registration with help of plone.indexer [mylan]
  • Removed metadata registration in portal catalog [mylan]
  • Added tests [mylan]
  • Added README [mylan]

0.1 (2009-03-13)

  • Initial release
Release History

Release History

This version
History Node

0.7

History Node

0.6

History Node

0.4

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
quintagroup.canonicalpath-0.7-py2.4.egg (24.0 kB) Copy SHA256 Checksum SHA256 2.4 Egg Jun 1, 2010
quintagroup.canonicalpath-0.7.tar.gz (14.7 kB) Copy SHA256 Checksum SHA256 Source Jun 1, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting