You are viewing the PKP Support Forum | PKP Home Wiki

REQ: Look up an article by mnemonic instead of ID

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

REQ: Look up an article by mnemonic instead of ID

Postby BrianG » Thu Jun 29, 2006 3:19 pm

Right now to display the abstract of an article the url is


How hard would it be to replace [articleId] with a user-defined mnemonic such that the following URL is also valid:


I assume another column will need to be added to the articles table as well as the appropriate form field on the create/edit article page.

This is to support a shorter and more human-readable format to be printed in an article, http://mydomain.com/articles/MyMnemonic/, that would map to the longer form (via mod_rewrite), http://mydomain.com/ojs/index.php/myjou ... yMnemonic/. Back issues already have this shorter URL printed in each article.
Posts: 10
Joined: Tue Jun 27, 2006 1:05 pm

Postby asmecher » Thu Jun 29, 2006 3:22 pm

Hi Brian,

This is already available; go into Journal Setup step 4 as Manager and find the section titled "Identification of Journal Content". Enable the option called "Custom identifiers will be used to identify published items." Now as Editor you should be able to assign symbolic names to articles and address them as you describe.

Alec Smecher
Open Journal Systems Team
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby BrianG » Thu Jun 29, 2006 3:25 pm

Thanks. Will look into it. Talk about feature overload. :-)
Posts: 10
Joined: Tue Jun 27, 2006 1:05 pm

Return to OJS Development

Who is online

Users browsing this forum: No registered users and 4 guests