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

John Salter via Eprints-tech <[email protected]>
Newsgroups gmane.comp.web.eprints.devel
Message-ID <EMEW3|e97467e25be94d32617c570f734bb862v7CIF314eprints-tech-bounces|ecs.soton.ac.uk|DB6PR0302MB2711771A805C92AF857F0F3EC4D20@DB6PR0302MB2711.eurprd03.prod.outlook.com>
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&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cf4b481831adb4064ec3008d72011bedd%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=uBJwecI5KvWQEX4VvEr4fVEXfYDaP%2Bm915alxHwT%2BFU%3D&amp;reserved=0

Let me know if it doesn't make sense!

Cheers,
John


From: [email protected] [mailto:[email protected]] On Behalf Of John Salter via Eprints-tech
Sent: 13 August 2019 08:21
To: [email protected]; satish mv <[email protected]>
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: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> on behalf of satish mv via Eprints-tech <[email protected]<mailto:[email protected]>>
Sent: 10 August 2019 08:42:52
To: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>>
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.

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.