Posts Tagged ‘invenio’
CDS Invenio: avoid duplicate content on comments and other record tabs
Using Invenio 0.99.x and interested in SEO? You should definetly try to avoid duplicate title‘s! When viewing a record (for instance, http://yourinveniopage.com/record/XXXX), you will notice several tabs on top: Information, Discussion, Usage Statistics… These links show different content, but the same <title>> Not great for SEO purposes. Use Google’s Webmaster Tools and you will notice [...]
CDS Invenio: OAI ListRecords from one set
When our records are being harvested via OAI we should notice that some harvesters need a namespace and some others do not. So, what is a namespace? Example: – Namespace setName: uzcds:tesisuzcds:tesis – No-Namespace setName: uzcds:tesistesis Our cds invenio 0.99.1 did NOT have namespace’d setNames. Adding em is a easy task. Adding namespaces to SetName’s [...]
CDS Invenio: Debugging/checking permissions (webaccess)
Some time ago I talked about authorizations, roles and actions in CDS-Invenio webaccess module. Two days ago I noticed some weird behaviour with authorization to runbibedit with (collection) parameter. Will write a post about it some time. But it is nice to know how you can debug this funny behaviours using acc_authorize_action python function or [...]
CDS Invenio: customize help pages
Do you want to customize your /help pages in CDS Invenio repository? Which files do you have to edit in order to achieve desired results? Lets take a look at how /help works: URL’s like /help/whatever They are controlled by $PATH_to_CDS/lib/python/invenio/webdoc_webinterface.py. Here a call to return webInterfaceDocumentationPages function is used. Lets observe the relations between [...]
CDS-Invenio: implementing autocomplete for authors with jQuery and php [SOLVED]
This is a BETA. I will NOT BE RESPONSIBLE for any damages this may cause in your repository. It is not my intention to write a super-in-detail guide, just a quick cheatsheet for programmers who know what they are doing this post has been updated due to a mail asking how to implement autocomplete in [...]
CDS Invenio: webaccess default behaviour
Some of you have mailed asking for webaccess roles, actions, authorizations and default behaviour. Like you, I assumed the default behaviour for act=SRV is NOT ALLOW (as stated in the webaccess manual). I was not 100% sure this is right, because for act=SBI the default behaviour seemed to be ALLOW… Well, this is how things [...]
CDSInvenio: why some of my records do not have stats in rnkDOWNLOADS table? [SOLVED]
Some days ago I wrote a post about CDS Invenio records’ number-of-downloads stats. I noticed that some of my records did not have stats in rnkDOWNLOADS table and I was wondering why. This is related to the way in which records have been submitted to the repository. If the record has been submited with bibupload [...]
CDS Invenio v1.0 bibclassify exceptions when 404 error
If you are getting exceptions like the following in your CDS Invenio v1.0: Exception (bibclassify_webinterface.py:135:get_keywords_body) Exception (webinterface_handler.py:378:_handler) The following problem occurred on <http://yourhost> (Invenio 1.0.0-rc0)>> 2011-01-12 03:13:27 -> SERVER_RETURN: 404 404 >>> >>> User details agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0E) email: guest group: [...]
CDS-INVENIO: Exporting download stats of records in each collection
I’ve been asked to export some stats related to the number of downloads of each record belonging to collection PhD’s of our cds invenio repository. This can be done in a pretty simple way: 1. MARC format stores the collection id in 980 fields. My PhD collection identifier is TESIS. So go to your bib98x [...]
CDS-Invenio: compress CSS to speed up page load
Some days ago I discovered PageSpeed plugin for Firebug. This plugin is really useful to speed up your CDSInvenio website load time. In this brief post I’ll be describing how to compress CSS with GZIP to speed up page load. It is really simple. 1. Your server must be able to execute PHP. 2. Edit [...]