OJS OCS OMP OHS

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
Developer Resources:

Documentation: The OJS Technical Reference and the OJS API Reference are both available from the OJS Documentation page.

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a technical support question, try the OJS Technical Support subforum.

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

[baseURL]/index.php/[journal]/article/view/[articleId]

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

[baseURL]/index.php/[journal]/article/view/[mnemonic]

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

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 8851
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. :-)
BrianG
 
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 1 guest