# methode-image-set-mapper **Repository Path**: mirrors_Financial-Times/methode-image-set-mapper ## Basic Information - **Project Name**: methode-image-set-mapper - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [](https://circleci.com/gh/Financial-Times/methode-image-set-mapper) [](https://coveralls.io/github/Financial-Times/methode-image-set-mapper) # Methode Image Set Mapper This is a web application which listens to the NativeCmsPublicationEvents Kafka topic for publishing events coming from Methode and process only the messages containing an image. It extracts the image metadata, creates a set of images containing only the published image and writes it to the CmsPublicationEvents topic. ## Introduction The service listens to the NativeCmsPublicationEvents Kafka topic and ingests the image messages coming from Methode. The image messages coming from Methode have the header: `Origin-System-Id: http://cmdb.ft.com/systems/methode-web-pub` and the JSON payload has the field `"type":"Image"`. Other messages are discarded. The difference between this and methode-image-model-mapper is that this service produces a message containing a list having one image member instead of an image message. ## Mapping ### Methode XPATH to image set mapping
| UPP field | Methode Field - xpath |
|---|---|
| title | /meta/picture/web_information/caption |
| description | /meta/picture/web_information/alt_tag |
| pixelWidth | /props/imageInfo/width |
| pixelHeight | /props/imageInfo/height |
| mediaType | /props/imageInfo/fileType |