Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve RSS image handling and feed and sitemap generation processes #435

Merged
merged 24 commits into from
May 20, 2022

Conversation

caendesilva
Copy link
Member

@caendesilva caendesilva commented May 20, 2022

Improves the RSS feed by allowing remote images in enclosures. When an image stored externally is detected, Hyde will make an HTTP HEAD request to try to get the content length from the response headers. If this fails, or if a local image is not found, a notice is sent to the console and the length is set to zero.

It also adds two new commands for compiling the sitemap and RSS feed respectively:

php hyde build:sitemap
php hyde build:rss

@caendesilva caendesilva linked an issue May 20, 2022 that may be closed by this pull request
@caendesilva caendesilva merged commit 0c5f80f into master May 20, 2022
@caendesilva caendesilva deleted the improve-rss-feed-image-handling branch May 20, 2022 18:30
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.

Improve RSS feed image handling
2 participants