Difference between revisions of "Latest tool.pl"
(Added page about config file) |
m |
||
Line 2: | Line 2: | ||
{{cfgd}} | {{cfgd}} | ||
− | '''latest_tool.pl''' contains | + | '''latest_tool.pl''' contains configutation for displaying eprints that have most recently been added to the live archive. This includes: |
* '''<code>$c->{latest_tool_modes}</code>''' - Hash reference of tool modes. Each mode contains the citation to use and optional, the max number of items and any filter to apply to the latest items. | * '''<code>$c->{latest_tool_modes}</code>''' - Hash reference of tool modes. Each mode contains the citation to use and optional, the max number of items and any filter to apply to the latest items. | ||
* '''<code>$c->{latest_tool_feeds}</code>''' - Hash reference of tool feeds. Each feed includes whether it is enabled and the label to use when you hover over the feed icon. | * '''<code>$c->{latest_tool_feeds}</code>''' - Hash reference of tool feeds. Each feed includes whether it is enabled and the label to use when you hover over the feed icon. |
Revision as of 16:05, 4 February 2022
EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects
latest_tool.pl contains configutation for displaying eprints that have most recently been added to the live archive. This includes:
$c->{latest_tool_modes}
- Hash reference of tool modes. Each mode contains the citation to use and optional, the max number of items and any filter to apply to the latest items.$c->{latest_tool_feeds}
- Hash reference of tool feeds. Each feed includes whether it is enabled and the label to use when you hover over the feed icon.