EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #07966
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Pins & EPrints::Apache::Template
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Pins & EPrints::Apache::Template
- From: James Kerwin <jkerwin2101@gmail.com>
- Date: Fri, 13 Sep 2019 12:36:07 +0100
Hi All,
I've decided to go back and revisit pins to see how they work. Starting with the "main" pin in my repository default template:
<epc:pin ref="page"/>
According to the EPrints wiki Aprints:Apachec:Template.pm is what I want to look at. Going here I can see a sub:
This subroutine does STUFF to some filename and ends with a call to "prepare_page" which I assume prepares the page.sub handler {
Excuse me if this is really obvious or naive, but what causes "handler" to be called in the first instance? I've done so many greps and searched everywhere. I've even looked at bin/generate_static to see if that gives any clues. The notes in this module indicate that it's ran on server start-up, but does anybody know when "handler" is called? I want to see how the filenames are passed to handler.
Thanks,
James
- Follow-Ups:
- [EP-tech] Pins & EPrints::Apache::Template
- From: James Kerwin <jkerwin2101@gmail.com>
- [EP-tech] Pins & EPrints::Apache::Template
- References:
- [EP-tech] Pins & EPrints::Apache::Template
- From: James Kerwin <jkerwin2101@gmail.com>
- [EP-tech] Pins & EPrints::Apache::Template
- Prev by Date: Re: [EP-tech] search input html entities encoding
- Next by Date: Re: [EP-tech] Pins & EPrints::Apache::Template
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):