Skip to content

Commit

Permalink
Merge pull request #3 from eprintsug/v1.2.1
Browse files Browse the repository at this point in the history
Update default tracker URL to irus.jisc.ac.uk/counter/
  • Loading branch information
jesusbagpuss authored Mar 29, 2019
2 parents 15c05c0 + 4446ad6 commit dc5f073
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 52 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# PIRUS 'PUSH' implementation

>If you are looking for a version of this plugin that *does* have the latest IRUS tracker URL, but *doesn't* have the counter R5 updates see https://github.com/eprintsug/irus/tree/irus-jisc-ac-uk

UPDATE March 2019: The default URL used by this code has been updated to https://irus.jisc.ac.uk/counter/.

If you are looking for a version of this plugin that *does* have the latest IRUS tracker URL, but *doesn't* have the counter R5 updates see https://github.com/eprintsug/irus/tree/irus-jisc-ac-uk

Provide data for [COUNTER R5](https://www.projectcounter.org/code-of-practice-five-sections/abstract/) compliant usage statistics.

Expand Down Expand Up @@ -66,6 +69,10 @@ The default oai_dc metadata profile does not contain ORCIDs, but if you have a m

## Changes

* 1.2.1 John Salter <[email protected]>

Update to default tracker URL.

* 1.2.0 John Salter <[email protected]>

Update to COUNTER R5:
Expand Down
84 changes: 42 additions & 42 deletions irus.epm
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,29 @@
<documents>
<document>
<files>
<file>
<datasetid>document</datasetid>
<filename>cfg.d/z_oai_irus.pl.example</filename>
<mime_type>inode/symlink</mime_type>
<hash>d9ea2013033ac4abcf30e10548c1d1ea</hash>
<hash_type>MD5</hash_type>
<filesize>372</filesize>
<data encoding='base64'>IyBFeGFtcGxlIGNvZGUgdG8gYWRkIGEgY3VzdG9tIE9BSS1QTUggc2V0IHdpdGggT1JDSURzCiMg
VGhpcyBpcyBiYXNlZCBvbiB0aGUgc3RhbmRhcmQgT1JDSUQgaW1wbGVtZW50YXRpb24KIyBUbyBl
bmFibGUgdGhpcyBzZXQsIGNvcHkgdGhpcyBleGFtcGxlIGZpbGUgdG8gfi9bQVJDSElWRUlEXS9j
ZmcvY2ZnLmQvel9vYWlfaXJ1cy5wbApwdXNoIEB7JGMtPntvYWl9LT57Y3VzdG9tX3NldHN9fSwg
eyBzcGVjID0+ICJpcnVzLW9yY2lkIiwgbmFtZSA9PiAiSVJVUzogUmVjb3JkcyB3aXRoIE9SQ0lE
cyIsIGZpbHRlcnMgPT4gWwogICAgICAgeyBtZXRhX2ZpZWxkcyA9PiBbICJjcmVhdG9yc19vcmNp
ZCIgXSwgbWF0Y2ggPT4gIlNFVCIsIH0sCl0gfTsK
</data>
</file>
<file>
<datasetid>document</datasetid>
<filename>cfg.d/pirus.pl</filename>
<mime_type>inode/symlink</mime_type>
<hash>5d4d0f547805ca0e8462d8452fba7651</hash>
<hash>8ce08e43a4ff811693797650900b37a7</hash>
<hash_type>MD5</hash_type>
<filesize>2882</filesize>
<filesize>2883</filesize>
<data encoding='base64'>PXBvZAoKPWhlYWQxIFBJUlVTICdQVVNIJyBpbXBsZW1lbnRhdGlvbgoKUHJvdmlkZSBkYXRhIGZv
ciBDT1VOVEVSLWNvbXBsaWFudCB1c2FnZSBzdGF0aXN0aWNzLgoKQ29weXJpZ2h0IDIwMTIgVW5p
dmVyc2l0eSBvZiBTb3V0aGFtcHRvbgoKUmVsZWFzZWQgdG8gdGhlIHB1YmxpYyBkb21haW4gKG9y
Expand Down Expand Up @@ -41,44 +57,28 @@ bi5hYy51az4KCkZpeGVkIHJlZmVyZW5jZSB0byAnanRpdGxlJyBpbnN0ZWFkIG9mICdwdWJsaWNh
dGlvbicKCjEuMDAgVGltIEJyb2R5IDx0ZGIyQGVjcy5zb3Rvbi5hYy51az4KCkluaXRpYWwgdmVy
c2lvbgoKPWN1dAoKcmVxdWlyZSBMV1A6OlVzZXJBZ2VudDsKcmVxdWlyZSBMV1A6OkNvbm5DYWNo
ZTsKCiMgbW9kaWZ5IHRoZSBmb2xsb3dpbmcgVVJMIHRvIHRoZSBQSVJVUyB0cmFja2V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Nlc3MgPSAkYXJn
c3tkYXRhb2JqfTsKCglteSAkcGx1Z2luID0gJHJlcG8tPnBsdWdpbiggIkV2ZW50OjpQSVJVUyIg
KTsKCglteSAkciA9ICRwbHVnaW4tPmxvZyggJGFjY2VzcywgJHJlcG8tPmN1cnJlbnRfdXJsKCBo
b3N0ID0+IDEgKSApOwoKCWlmKCBkZWZpbmVkICRyICYmICEkci0+aXNfc3VjY2VzcyApCgl7CgkJ
bXkgJGV2ZW50ID0gJHJlcG8tPmRhdGFzZXQoICJldmVudF9xdWV1ZSIgKS0+ZGF0YW9ial9jbGFz
cy0+Y3JlYXRlX3VuaXF1ZSggJHJlcG8sIHsKCQkJZXZlbnRxdWV1ZWlkID0+IERpZ2VzdDo6TUQ1
OjptZDVfaGV4KCAiRXZlbnQ6OlBJUlVTOjpyZXBsYXkiICksCgkJCXBsdWdpbmlkID0+ICJFdmVu
dDo6UElSVVMiLAoJCQlhY3Rpb24gPT4gInJlcGxheSIsCgkJfSk7CgkJaWYoIGRlZmluZWQgJGV2
ZW50ICkKCQl7CgkJCSRldmVudC0+c2V0X3ZhbHVlKCAicGFyYW1zIiwgWyRhY2Nlc3MtPmlkXSAp
OwoJCQkkZXZlbnQtPmNvbW1pdDsKCQl9Cgl9Cn0pOwo=
</data>
</file>
<file>
<datasetid>document</datasetid>
<filename>cfg.d/z_oai_irus.pl.example</filename>
<mime_type>inode/symlink</mime_type>
<hash>d9ea2013033ac4abcf30e10548c1d1ea</hash>
<hash_type>MD5</hash_type>
<filesize>372</filesize>
<data encoding='base64'>IyBFeGFtcGxlIGNvZGUgdG8gYWRkIGEgY3VzdG9tIE9BSS1QTUggc2V0IHdpdGggT1JDSURzCiMg
VGhpcyBpcyBiYXNlZCBvbiB0aGUgc3RhbmRhcmQgT1JDSUQgaW1wbGVtZW50YXRpb24KIyBUbyBl
bmFibGUgdGhpcyBzZXQsIGNvcHkgdGhpcyBleGFtcGxlIGZpbGUgdG8gfi9bQVJDSElWRUlEXS9j
Z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JGFyZ3N7cmVwb3NpdG9yeX07CglteSAkYWNjZXNzID0gJGFy
Z3N7ZGF0YW9ian07CgoJbXkgJHBsdWdpbiA9ICRyZXBvLT5wbHVnaW4oICJFdmVudDo6UElSVVMi
ICk7CgoJbXkgJHIgPSAkcGx1Z2luLT5sb2coICRhY2Nlc3MsICRyZXBvLT5jdXJyZW50X3VybCgg
aG9zdCA9PiAxICkgKTsKCglpZiggZGVmaW5lZCAkciAmJiAhJHItPmlzX3N1Y2Nlc3MgKQoJewoJ
CW15ICRldmVudCA9ICRyZXBvLT5kYXRhc2V0KCAiZXZlbnRfcXVldWUiICktPmRhdGFvYmpfY2xh
c3MtPmNyZWF0ZV91bmlxdWUoICRyZXBvLCB7CgkJCWV2ZW50cXVldWVpZCA9PiBEaWdlc3Q6Ok1E
NTo6bWQ1X2hleCggIkV2ZW50OjpQSVJVUzo6cmVwbGF5IiApLAoJCQlwbHVnaW5pZCA9PiAiRXZl
bnQ6OlBJUlVTIiwKCQkJYWN0aW9uID0+ICJyZXBsYXkiLAoJCX0pOwoJCWlmKCBkZWZpbmVkICRl
dmVudCApCgkJewoJCQkkZXZlbnQtPnNldF92YWx1ZSggInBhcmFtcyIsIFskYWNjZXNzLT5pZF0g
KTsKCQkJJGV2ZW50LT5jb21taXQ7CgkJfQoJfQp9KTsK
</data>
</file>
<file>
Expand Down Expand Up @@ -2722,7 +2722,7 @@ rkJggg==
<content>coverimage</content>
</document>
</documents>
<version>1.2.0</version>
<version>1.2.1</version>
<creators>
<item>
<name>
Expand Down Expand Up @@ -2750,9 +2750,9 @@ rkJggg==
<id>https://orcid.org/0000-0002-8611-8266</id>
</item>
</creators>
<datestamp>2018-09-06 16:15:18</datestamp>
<datestamp>2019-03-29 12:55:09</datestamp>
<title>PIRUS/IRUS-UK PUSH Implementation</title>
<description>The aim of the PIRUS2 Project is to enable publishers, repositories and other organizations to generate and share authoritative, trustworthy usage statistics for the individual articles and other items that they host. v1.1.0 is COUNTER R5 compliant.</description>
<description>The aim of the PIRUS2 Project is to enable publishers, repositories and other organizations to generate and share authoritative, trustworthy usage statistics for the individual articles and other items that they host. v1.2.0 is COUNTER R5 compliant.</description>
<requirements>Requires 3.2.3 for TRIGGER and COUNTER robots list.</requirements>
<home_page>http://github.com/eprintsug/irus</home_page>
<icon>images/epm/icon_irus.png</icon>
Expand Down
18 changes: 9 additions & 9 deletions irus.epmi
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
<document>
<files>
<file>
<filename>cfg.d/pirus.pl</filename>
<filename>cfg.d/z_oai_irus.pl.example</filename>
<mime_type>inode/symlink</mime_type>
<hash>5d4d0f547805ca0e8462d8452fba7651</hash>
<hash>d9ea2013033ac4abcf30e10548c1d1ea</hash>
<hash_type>MD5</hash_type>
<filesize>2882</filesize>
<filesize>372</filesize>
</file>
<file>
<filename>cfg.d/z_oai_irus.pl.example</filename>
<filename>cfg.d/pirus.pl</filename>
<mime_type>inode/symlink</mime_type>
<hash>d9ea2013033ac4abcf30e10548c1d1ea</hash>
<hash>8ce08e43a4ff811693797650900b37a7</hash>
<hash_type>MD5</hash_type>
<filesize>372</filesize>
<filesize>2883</filesize>
</file>
<file>
<filename>plugins/EPrints/Plugin/Event/PIRUS.pm</filename>
Expand Down Expand Up @@ -54,7 +54,7 @@
<content>coverimage</content>
</document>
</documents>
<version>1.2.0</version>
<version>1.2.1</version>
<creators>
<item>
<name>
Expand Down Expand Up @@ -82,9 +82,9 @@
<id>https://orcid.org/0000-0002-8611-8266</id>
</item>
</creators>
<datestamp>2018-09-06 16:15:18</datestamp>
<datestamp>2019-03-29 12:55:09</datestamp>
<title>PIRUS/IRUS-UK PUSH Implementation</title>
<description>The aim of the PIRUS2 Project is to enable publishers, repositories and other organizations to generate and share authoritative, trustworthy usage statistics for the individual articles and other items that they host. v1.1.0 is COUNTER R5 compliant.</description>
<description>The aim of the PIRUS2 Project is to enable publishers, repositories and other organizations to generate and share authoritative, trustworthy usage statistics for the individual articles and other items that they host. v1.2.0 is COUNTER R5 compliant.</description>
<requirements>Requires 3.2.3 for TRIGGER and COUNTER robots list.</requirements>
<home_page>http://github.com/eprintsug/irus</home_page>
<icon>images/epm/icon_irus.png</icon>
Expand Down

0 comments on commit dc5f073

Please sign in to comment.