Skip to content

Handle image links in JSON-LD recipe imports - #34

Merged
dubadub merged 2 commits into
mainfrom
claude/fix-jsonld-recipe-images-01SX9e6kXcU7QXnCxg9inGYc
Nov 16, 2025
Merged

Handle image links in JSON-LD recipe imports#34
dubadub merged 2 commits into
mainfrom
claude/fix-jsonld-recipe-images-01SX9e6kXcU7QXnCxg9inGYc

Conversation

@dubadub

@dubadub dubadub commented Nov 16, 2025

Copy link
Copy Markdown
Member

When importing recipes from JSON-LD format, extract the image URL from the recipe data and add it to the YAML frontmatter with the key "image". If multiple images are available, use the first one.

The image is extracted and decoded using the existing HTML entity decoding, and added to the metadata HashMap that generates the YAML frontmatter.

claude and others added 2 commits November 16, 2025 18:23
When importing recipes from JSON-LD format, extract the image URL
from the recipe data and add it to the YAML frontmatter with the
key "image". If multiple images are available, use the first one.

The image is extracted and decoded using the existing HTML entity
decoding, and added to the metadata HashMap that generates the
YAML frontmatter.
@dubadub
dubadub merged commit f2066fd into main Nov 16, 2025
6 checks passed
@dubadub
dubadub deleted the claude/fix-jsonld-recipe-images-01SX9e6kXcU7QXnCxg9inGYc branch November 16, 2025 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants