[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] how to display total number publications in eprints reporsitory



Hi Satish,
This is one approach you could take:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FAdd_repository_metrics_to_homepage&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4b481831adb4064ec3008d72011bedd%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=uBJwecI5KvWQEX4VvEr4fVEXfYDaP%2Bm915alxHwT%2BFU%3D&reserved=0

Let me know if it doesn't make sense!

Cheers,
John


From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of John Salter via Eprints-tech
Sent: 13 August 2019 08:21
To: eprints-tech at ecs.soton.ac.uk; satish mv <eprints.gechassan at gmail.com>
Subject: Re: [EP-tech] how to display total number publications in eprints reporsitory

Hi Satish,
I don't think there's a way to do this in a default install, although it can be done.

The home page is a static document.
The easiest way to achieve this might be to include a total via javascript. You would have to write a simple cgi script to pull the data out of the database.

An alternative way would be to create an EPScript method to provide the data.

I'm trying to find a couple of similar examples to point you in the right direction.
I think the 'Kultur' EPrints extension has some thing similar.
I'll send another email with some more detail later today!

And welcome to EPrints!
Cheers,
John
________________________________
From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> <eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk>> on behalf of satish mv via Eprints-tech <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>>
Sent: 10 August 2019 08:42:52
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk> <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>>
Subject: [EP-tech] how to display total number publications in eprints reporsitory

Hi,

I have installed eprints3 and would like to  display  total number of publications
in eprints repository home page.
I appreciate if you could share the perl script to query the mysql database and
also specify where to insert these codes?

Thank you in advance.
Satish MV
Librarian
Govt. Engineering College, Hassan
Karnataka.INDIA.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20190813/088845ed/attachment.html