Generate sitemap and store on S3

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
switch-cheehau
Posts: 14
Joined: 23 Jun 2021, 02:39

Generate sitemap and store on S3

Post by switch-cheehau » 30 Jun 2021, 02:02

Hi Aimeos,

I would like to generate sitemap and store on AWS S3, anyway to configure the storing method?

I'm trying to use serverless architecture, hence the local storage is readonly file-system.

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Generate sitemap and store on S3

Post by aimeos » 01 Jul 2021, 06:03

Not by default, the sitemap files are currently stored locally:
https://github.com/aimeos/ai-controller ... #L142-L210

But you could change the code in the job controller to store the file in one of the configured file systems directly:
https://github.com/aimeos/aimeos-larave ... hp#L52-L57

The filesystem interfaces are available here:
https://github.com/aimeos/aimeos-core/t ... Filesystem

We would love to get a PR for that enhancement :-)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
switch-cheehau
Posts: 14
Joined: 23 Jun 2021, 02:39

Re: Generate sitemap and store on S3

Post by switch-cheehau » 02 Jul 2021, 05:09

Thanks, i'll try when free

Post Reply