How pkp/portico works
This OJS plugin exports article metadata and full-text packages for digital preservation, with manual export and scheduled automatic registration. The main workflow selects content, builds a ZIP with Portico-compatible JATS and packaged renditions, then delivers it to configured endpoints and updates deposit status. Settings and endpoint validation support that workflow. The graph follows the sampled source and README; internal packaging details are grouped where excerpts do not establish separate call relationships.
Main entry points: PorticoExportPlugin.php Export actions and packaging · PorticoDeliver.php Deposit job · PorticoInfoSender.php Scheduled registration · PorticoSettingsForm.php Endpoint settings
Components 10
Plugin and settings
- Plugin registration
PorticoPlugin.php - Export actions and packaging
PorticoExportPlugin.php - Endpoint settings
classes/form/PorticoSettingsForm.php - Deployment stub
PorticoExportDeployment.php
Package generation
- JATS processing
PorticoJatsProcessor.php
Deposit and delivery
- Scheduled registration
PorticoInfoSender.php - Deposit job
jobs/PorticoDeliver.php
Other components
- Journal manager
- Export user
- Portico preservation
Connections 11
- Journal manager → Endpoint settings: configures
classes/form/PorticoSettingsForm.php - Export user → Export actions and packaging: starts export
README.md - Plugin registration → Export actions and packaging: registers
PorticoPlugin.php - Export actions and packaging → Endpoint settings: creates form
PorticoExportPlugin.php - Export actions and packaging → Deployment stub: names deployment
PorticoExportPlugin.php - Export actions and packaging → JATS processing: uses processor
PorticoExportPlugin.php - Export actions and packaging → Deposit job: dispatches
PorticoExportPlugin.php - Export actions and packaging → Scheduled registration: schedules
PorticoExportPlugin.php - Scheduled registration → Export actions and packaging: selects and deposits
PorticoInfoSender.php - Deposit job → Export actions and packaging: builds and delivers
jobs/PorticoDeliver.php - Deposit job → Portico preservation: delivers package