Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.71 KB

README.md

File metadata and controls

31 lines (18 loc) · 1.71 KB

MTMT PubList

A small server that fetches and compiles relevant information from the MTMT MYCITE2 API in an easy-to-display format.

Previous queries are cached so a) MTMT is not bombarded for every page request and b) it has fallbacks for when MTMT is down. Journal titles are also cached globally (those should not really change, but querying the API for each of them takes a long time).

Usage without hosting

Use the etoservice-standalone.html (if viewing on github, you can find it above in the file list view) as an example to use the service which is hosted at etoservice.elte.hu. Just copy the contents into page on your website.

An example how this would look is here, bar styling (e.g. fonts) of course.

Depending on whether you want to generate a list for yourself (single author) or an institution, you'd need to make the below modifications to the file:

Single author

To get the publications of one person change line 45

    fetch ("https://etoservice.elte.hu/mtmt-publist/user?mtid=10028021").then(res => res.json()).then(

so that the mtid=XXXXXXX has the specific author's mtid. I usually get this from the URL of the author's page, e.g. if I search for myself I land on this URL: https://m2.mtmt.hu/gui2/?type=authors&mode=browse&sel=10028021, which has my mtmt id at the end.

Institutions

Rather similar, but you need to change user to institute in the url and here you can specify several ID-s, e.g. if your department also hosts some research groups which you want to handle together.

    fetch ("https://etoservice.elte.hu/mtmt-publist/institute?mtid=338&mtid=12724&mtid=11351&mtid=20298").then(res => res.json()).then(