Python script AWS Lambda WordPress S3

Job ID: 33094822

Budget: £10 – £20 GBP

A python script to mimic WordPress folder structure for articles and pages. The script will accept a WordPress template (html and css files) and text file as input.

Python script required to:
- Read content of a text file within a folder on an S3 bucket
- Insert content into a html template also read from same S3
- Read name of images from an S3 folder
- Insert image html tags onto same html document
- Output file to another S3 bucket

Repeat above for steps each text file within each folder in the S3 bucket. The S3 bucket contain multiple folders names in this date format (YYYY.MM.DD). Text files will have article name as the name of the file.

The output should be organised in the following way:
- Each text file form the source folder will have a folder in the destination with index page with an image folder containing any related images
- Folders organised by year, month, day of the month, page name (similar to WordPress)

Needs to have the ability to run this against an S3 bucket with one or more folders as source.


This script will be triggered using aws lambda python 3.8 so please test with this.
Related categories: PHP Python WordPress Aws Lambda Amazon S3