Export rename config
Multi destination and rename support in export rename config.
Case 1 Sample configuration
{
"default": {
"destinations": [
{
"S3": {
"bucket": "pagehub-export-test",
"awsRegion": "eu-west-1",
"path": {
"ePaperPath": "MultiDestination1/epaperfiles",
"inddPath": "MultiDestination1/inddfiles",
"pdfPath": "MultiDestination1/pdffiles"
}
}
}
],
"fileFormats": [
"epaper"
],
"exportRenameConfig": {
"enable": true,
"config": [
{
"PageNum": {
"PageNum": 3,
"Delimiter": "-"
}
},
{
"PremadePageLiteral": {
"PremadePageLiteral": false,
"PremadePageLiteral:N": 2,
"Delimiter": "-"
}
},
{
"Section": {
"Section": false,
"Section:N": 2,
"Delimiter": "-+"
}
},
{
"PagePrefix": {
"PagePrefix": false,
"PagePrefix:P": "default/Prefix",
"Delimiter": "-"
}
},
{
"Edition": {
"Edition": false,
"Edition:N": 5,
"Delimiter": "++"
}
},
{
"DateFormat": {
"Delimiter": "_-+_",
"DateFormat": "YYYY-MM-DD"
}
},
{
"Part": {
"Part": false,
"Part:N": 3,
"Delimiter": "--"
}
},
{
"Custom1": {
"Custom1": "custom1",
"Delimiter": "-"
}
}
]
}
},
"PMS_AGP1": {
"destinations": [
{
"S3": {
"bucket": "pagehub-export-test",
"awsRegion": "eu-west-1",
"path": {
"ePaperPath": "MultiDestination1/epaperfiles",
"inddPath": "MultiDestination1/inddfiles",
"pdfPath": "MultiDestination1/pdffiles"
}
}
}
],
"fileFormats": [
"epaper"
],
"exportRenameConfig": {
"enable": true,
"config": [
{
"PageNum": {
"PageNum": 3,
"Delimiter": "-"
}
},
{
"PremadePageLiteral": {
"PremadePageLiteral": false,
"PremadePageLiteral:N": 2,
"Delimiter": "-"
}
},
{
"Section": {
"Section": false,
"Section:N": 2,
"Delimiter": "-+"
}
},
{
"PagePrefix": {
"PagePrefix": false,
"PagePrefix:P": "default/Prefix",
"Delimiter": "-"
}
},
{
"Edition": {
"Edition": false,
"Edition:N": 5,
"Delimiter": "++"
}
},
{
"DateFormat": {
"Delimiter": "_-+_",
"DateFormat": "YYYY-MM-DD"
}
},
{
"Part": {
"Part": false,
"Part:N": 3,
"Delimiter": "--"
}
},
{
"Custom1": {
"Custom1": "custom1",
"Delimiter": "-"
}
}
]
}
}
}Case 2 Sample configuration
Case 3 Sample Configuration
Case 4 Sample Configuration
ePaper rename and export config
Pagehub export API 1.3.1
Case1: Configuration
Case2: Configuration
Case3: Configuration
Case4: Configuration
Last updated