Skip to content

Fix image extraction for social metadata#266

Merged
thebaer merged 2 commits intodevelopfrom
fix-social-images
Mar 1, 2020
Merged

Fix image extraction for social metadata#266
thebaer merged 2 commits intodevelopfrom
fix-social-images

Conversation

@thebaer
Copy link
Member

@thebaer thebaer commented Feb 19, 2020

This fixes small issues with automatic image extraction for post metadata used by various social media platforms.

  • Extract images in draft posts
  • Fix image extraction for URLs with query strings on the end

Previously, we didn't extract images for draft posts. This fixes that.
@thebaer thebaer added this to the 0.12 milestone Feb 19, 2020
Previously, image extraction wouldn't catch images with a query string
(or anything else) appended. This fixes that by parsing extracted URLs
and only checking the path for what looks like an image file.
@thebaer
Copy link
Member Author

thebaer commented Mar 1, 2020

Pretty straightforward, and working in production so far. Merging now.

@thebaer thebaer merged commit fca864c into develop Mar 1, 2020
@thebaer thebaer deleted the fix-social-images branch March 1, 2020 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant