EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #05539
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] EPrints Shelves - a question and suggestion
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] EPrints Shelves - a question and suggestion
- From: Adam Field <Adam.Field@jisc.ac.uk>
- Date: Thu, 31 Mar 2016 09:21:54 +0000
Hi Tomasz
This is interesting. It's kindof like a browse view, but only generating for one set of items.
I've had a quick peek at:
And the ids of the content of the shelf are contained in the 'items' field. I think
it would be fairly straightforwards to extend the behaviour of a shelf. You'd need to do the following:
* Add a 'shelf_search' field to the shelf -- see how the editorial rights restrictions on a user do this, it's also a search field.
* Create a script that will iterate through all shelves, finding the ones with a shelf_search field set, run the search and swap the contents of the shelf for the result of the search. Run it
nightly (or whatever) in the crontab.
Note that there may be some user interface issues here -- if people add things to the shelf then they'll be lost on the next nightly update. Some thinking will need to go into this. Maybe make
it an admin only function and restrict the shelf editors.
From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
Reply-To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk> Date: Tuesday, 29 March 2016 16:25 To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk> Subject: [EP-tech] EPrints Shelves - a question and suggestion It looks to me like EPrints “Shelves” (http://bazaar.eprints.org/258/ - although the EPrints Bazaar looks to be not responding right now) are the closest in terms of functionality to allowing for sorted RSS export of search results from EPrints. I have a question and a suggestion about it. The question is: I would like to roll this out to admins and editors first, is there a way to turn off the shelves functionality for non-administrators and non-editors?
The suggestion: Rather than adding items individually one-by-one to a shelf, it would be useful if it was possible to assign a shelf to a Search URL/parameters directly, and have EPrints regenerate the shelf export nightly based on the
search. This would make the shelves dynamic, once they are set, they would update automatically as more content is added to the repository. Tomasz Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800. Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800. |
- Prev by Date: Re: [EP-tech] making a document upload not appear in summary page
- Next by Date: [EP-tech] Modifying Latest Additions
- Previous by thread: [EP-tech] EPrints Shelves - a question and suggestion
- Next by thread: [EP-tech] making a document upload not appear in summary page
- Index(es):