Profi-tipp content shall be uploaded via S3 Hot folders. (The common approach on how to upload product assets via Hot folders is described here).
In order to get access to Profi-Tipp Hot folder, the requester should submit a ticket to MAC support.
MAC system will check the files before upload.
The files should be provided in PDF format and will have 1 page. If the file will be multi-paged only the first page will be converted to PNG. The files should be named in lower case as per the following naming convention:
Naming convention | ISO Country Code | divider | layout variant | divider | tipp variant | divider | Store ID (Any value can be provided in file name: 000-999) | divider | Mailing typ | divider | Timestamp format (Any value can be provided in file name: 00-99) | file format |
possible parameter values | de | _ | ft | _ | abh | _ | 010 | _ | druck | _ | kw01 | .pdf |
pt | bel | 011 | email | kw02 | ||||||||
wp | deu | 012 | kw03 | |||||||||
ita | … | … | ||||||||||
rest | 689 | kw52 | ||||||||||
Example: | de_ft_abh_010_druck_kw01.pdf | |||||||||||
comments | ft=Fleischertipp; pt= Profitipp wp= Wochenpreise | deu/ita/restrefers to pt; abh/bel refers to ft and 2nd bel refers to wp | 3-digit; not each number is filled | only one file out of 600 is named email. This one is not needed for FAX. | kw=Calendar week; 2-digit |
The system scans Hot folder and publishes files to MAC Content Delivery Network (CDN). Records in MAC are not created.
After publishing the files are deleted from Hot Folder.
The published files can be retrieved from MAC CDN in PDF and PNG formats based on the following URL patterns:
- for file in PDF https://cdn-pp.metro-group.com/de/de_ft_abh_010_druck_kw01.pdf
- for file in PNG https://cdn-pp.metro-group.com/de/de_ft_abh_010_druck_kw01.pdf?format=png
For PNG format, resizing option is also available as per the following pattern: https://cdn-pp.metro-group.com/de/de_ft_abh_010_druck_kw01.pdf?format=png&width=1000&height=1500
MAC UnPublish Profi-tipp documents from MAC CDN if it was published more than 1 month ago.