All Projects → Daniel-KM → Omeka-plugin-CleanUrl

Daniel-KM / Omeka-plugin-CleanUrl

Licence: other
Omeka plugin that allows to have clean, searchable and readable URL like https://example.com/my_collection/dc:identifier instead of https://example.com/items/show/internal_code.

Projects that are alternatives of or similar to Omeka-plugin-CleanUrl

seourls
phpBB Extension: URL rewriting for phpBB forums
Stars: ✭ 44 (+238.46%)
Mutual labels:  url, seo
Prestashop Clean Urls
Prestashop module. This override module allows to remove IDs from URLs
Stars: ✭ 87 (+569.23%)
Mutual labels:  url, seo
SolrSearch
Add a Solr-backed search interface to Omeka.
Stars: ✭ 20 (+53.85%)
Mutual labels:  omeka, omeka-plugin
django-slugs-example-app
A basic app to show how to add slugs to models
Stars: ✭ 12 (-7.69%)
Mutual labels:  url, seo
Limax
Node.js module to generate URL slugs. Another one? This one cares about i18n and transliterates non-Latin scripts to conform to the RFC3986 standard. Mostly API-compatible with similar modules.
Stars: ✭ 423 (+3153.85%)
Mutual labels:  url, seo
Omeka-plugin-CsvImportPlus
This fork of the plugin for Omeka allows users to import metadata of items from a simple CSV file. Improvements are: choice of separators, import of metadata of files and collections, update of any record, import of files one by one to avoid to overload the server.
Stars: ✭ 21 (+61.54%)
Mutual labels:  omeka, omeka-plugin
1c http
Подсистема 1С для работы с HTTP
Stars: ✭ 48 (+269.23%)
Mutual labels:  url
flyyer-wp
👉 Visit the wiki: https://github.com/useflyyer/flyyer-wp/wiki | Generate social share images with web technologies
Stars: ✭ 13 (+0%)
Mutual labels:  seo
deadlink
💀 Checks and fixes URLs in code and documentation.
Stars: ✭ 105 (+707.69%)
Mutual labels:  url
awesome-search-engine-optimization
A curated list of backlink, social signal opportunities, and link building strategies and tactics to help improve search engine results and ranking.
Stars: ✭ 82 (+530.77%)
Mutual labels:  seo
server-render-javascript
Prerender your javascript web page for better seo with PhantomJS. ⚠️ no es6 supported.
Stars: ✭ 12 (-7.69%)
Mutual labels:  seo
Odyssey
A piece of software that shows a traceroute of a URL redirect path
Stars: ✭ 41 (+215.38%)
Mutual labels:  url
uri
A type to represent, query, and manipulate a Uniform Resource Identifier.
Stars: ✭ 16 (+23.08%)
Mutual labels:  url
pagespeedParseR
pagespeedParseR is an R wrapper for Google Pagespeed Insights API, that also enables convenient parsing
Stars: ✭ 20 (+53.85%)
Mutual labels:  seo
vue-seo-friendly-spa-template
Vue.js PWA/SPA template initially scaffolded with vue-cli and configured for SEO. Makes use of prerendering and other techniques/packages in order to achieve a perfect "Lighthouse Score".
Stars: ✭ 41 (+215.38%)
Mutual labels:  seo
link text
Easy to use text widget for Flutter apps, which converts inlined urls into working, clickable links
Stars: ✭ 20 (+53.85%)
Mutual labels:  url
relateurl
Create a relative URL with options to minify.
Stars: ✭ 52 (+300%)
Mutual labels:  url
immurl
🔗 A tiny immutable URL library, backed by the native whatwg URL.
Stars: ✭ 23 (+76.92%)
Mutual labels:  url
magento-2-google-xml-sitemap
Google XML Sitemap for Magento 2 helps Google search bots find all every corner on your website to index, bring in potential benefits for your SEO strategy. Also, the HTML sitemap will help users more easily search for information on your site than only use Magento default.
Stars: ✭ 31 (+138.46%)
Mutual labels:  seo
golgi
A composable routing library for Haxe.
Stars: ✭ 37 (+184.62%)
Mutual labels:  url

Clean Url (plugin for Omeka)

Build Status

Clean Url is a plugin for Omeka that creates clean, readable and search engine optimized URLs like http://example.com/my_collection/dc:identifier instead of http://example.com/items/show/internal_code. Used identifiers come from standard Dublin Core metadata, or from a specific field, so they are easy to manage.

See the example of the digitized heritage of the library of Mines ParisTech.

This plugin is upgradable to Omeka S via the plugin Upgrade to Omeka S, that installs the module Clean Url for Omeka S.

Installation

Uncompress files and rename plugin folder "CleanUrl".

Then install it like any other Omeka plugin and follow the config instructions.

Automatic test

For testing and debugging, phpunit 5.7 is required. If you don’t have it:

cd tests
wget https://phar.phpunit.de/phpunit-5.7.phar
php phpunit-5.7.phar

Usage

Clean urls are automatically displayed in public theme and they are not used in the admin theme. They are case insensitive.

This module may be used with the module Archive Repertory to set similar paths for real files (collection_identifier / item_identifier / true_filename).

Identifiers

Simply set an identifier for each record in a field. The recommended field is Dublin Core:Identifier. This field should be available for collections, items and files.

  • Identifiers can be any strings with any characters, as long as they don’t contain reserved characters like "/" and "%".
  • To use numbers as identifier is possible but not recommended. if so, it’s recommended that all records have got an identifier.
  • A prefix can be added if you have other data in the same field.
  • A record can have multiple identifiers. The first one will be used to set the default url. Other ones can be used to set alias.
  • If the same identifier is used for multiple records, only the first record can be got. Currently, no check is done when duplicate identifiers are set.
  • Reserved words like "collections", "items", "files", "exhibits", simple pages slugs...) should not be used as identifiers, except if there is a part before them (a main path, a collection identifier or a generic word).
  • If not set, the identifier will be the default id of the record, except for collections, where the original path will be used.

Structure of urls

The configuration page let you choose the structure of paths for collections, items and files.

  • A main path can be added , as "archives" or "library": http://example.com/main_path/my_collection/dc:identifier.
  • A generic and persistent part can be added for collections, items and files, for example http://example.com/my_collections/collections_identifier, or http://example.com/document/item_identifier.
  • Multiple urls can be set, in particular to have a permalink and a search engine optimized link.
  • If multiple structures of urls are selected, a default one will be used to set the default url. Other ones can be used to get records.

So the configuration of the plugin let you choose among these possible paths:

Collections

- / :identifier_collection
- / generic_collection / :identifier_collection
- / main_path / :identifier_collection
- / main_path / generic_collection / :identifier_collection

Items

- / :identifier_item (currently not available)
- / generic_item / :identifier_item
- / :identifier_collection / :identifier_item
- / generic_collection / :identifier_collection / :identifier_item
- / main_path / :identifier_item
- / main_path / generic_item / :identifier_item
- / main_path / :identifier_collection / :identifier_item
- / main_path / generic_collection / :identifier_collection / :identifier_item

Files

- / :identifier_file (currently not available)
- / :identifier_item / :identifier_file (currently not available)
- / generic_file / :identifier_file
- / generic_file / :identifier_item / :identifier_file
- / :identifier_collection / :identifier_file
- / generic_collection / :identifier_collection / :identifier_file
- / :identifier_collection / :identifier_item / :identifier_file
- / generic_collection / :identifier_collection / :identifier_item / :identifier_file
- / main_path / :identifier_file
- / main_path / :identifier_item / :identifier_file
- / main_path / generic_file / :identifier_file
- / main_path / generic_file / :identifier_item / :identifier_file
- / main_path / :identifier_collection / :identifier_file
- / main_path / generic_collection / :identifier_collection / :identifier_file
- / main_path / :identifier_collection / :identifier_item / :identifier_file
- / main_path / generic_collection / :identifier_collection / :identifier_item / :identifier_file

Note: only logical combinations of some of these paths are available together!

Compatibility with other plugins

Clean Url is compatible with all plugins.

Routes to plugins can be added with the filter "clean_url_route_plugins". Then, when ?rp=my_name will be appended to the url, Clean Url will forward the record to the plugin. Query params are kept.

Nevertheless, the default url may be still used in theme. So the theme may need to be modified too.

Internally Managed Routes

The reroute from a clean url to these plugins are included:

Archive Repertory

Use the plugin Archive Repertory if you wish to set similar paths for real files (collection_identifier / item_identifier / true_filename).

Warning

Use it at your own risk.

It’s always recommended to backup your files and your databases and to check your archives regularly so you can roll back if needed.

Troubleshooting

See online issues on the plugin issues page on GitHub.

License

This plugin is published under the CeCILL v2.1 licence, compatible with GNU/GPL and approved by FSF and OSI.

In consideration of access to the source code and the rights to copy, modify and redistribute granted by the license, users are provided only with a limited warranty and the software’s author, the holder of the economic rights, and the successive licensors only have limited liability.

In this respect, the risks associated with loading, using, modifying and/or developing or reproducing the software by the user are brought to the user’s attention, given its Free Software status, which may make it complicated to use, with the result that its use is reserved for developers and experienced professionals having in-depth computer knowledge. Users are therefore encouraged to load and test the suitability of the software as regards their requirements in conditions enabling the security of their systems and/or data to be ensured and, more generally, to use and operate it in the same conditions of security. This Agreement may be freely reproduced and published, provided it is not altered, and that no provisions are either added or removed herefrom.

Contact

Current maintainers:

  • Daniel Berthereau (see Daniel-KM on GitHub)

First version of this plugin has been built for École des Ponts ParisTech. The upgrade for Omeka 2.0 has been built for Mines ParisTech.

Copyright

  • Copyright Daniel Berthereau, 2012-2018

Initially based on ItemId of Jim Safley (see GitHub ItemId).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].