Customizing Holdings in Pathfinder Pro Resource Links
You can customize the formatting of the holdings within the Pathfinder Pro resource panels.
- To customize the holdings in resource links that display in response to a request from the Encore/WebPAC, create the wp_resource.html file.
- Edit the file to include the following two tokens:
<!--{linkdisplay}-->
<!--{coveragedate}-->
When the server displays the resource panel, the <!--{linkdisplay}--> token is replaced by the resource link, with the exception of the holdings. The <!--{coveragedate}--> is replaced by the resource's start and end date in the coverage database. - In your style sheet, define a paragraph tag style called "coverage" to format the content inserted by the <!--{coveragedate}--> token.
(The formatting of content inserted by the <!--{linkdisplay}--> token is controlled by the wblinkdisplay style.)NOTE
Innovative recommends defining styles in a style sheet rather than in the wp_resource.html and resserv_resource.html files.
- Apply the "coverage" style.
For example, this snippet can be utilized in resserv_resource.html or wp_resource.html:
<!--{linkdisplay}-->
<!--{ifcoveragedate}-->
<p class="coverage">
<!--{coveragedate}-->
</p>
<!--{xif}--> - Upload the customized resource panel file(s) and style sheet to your Encore/WebPAC live/screens directory.