shinsenter / defer.js

🥇 A lightweight JavaScript library that helps you lazy load (almost) anything. Defer.js is dependency-free, highly efficient, and optimized for Web Vitals.
https://shinsenter.github.io/defer.js/
MIT License
277 stars 45 forks source link

Issue with rank math sitemap.xml generator #82

Closed mickjaeger closed 3 years ago

mickjaeger commented 3 years ago

Sitemap_index.xml generated by rank math is no longer working on the site with the plugin activated.

Sitemap is working fine if you disable plugin, Check screenshot below for the issue.

https://i.imgur.com/gLd8gDq.png

url: https://staging.continentalcamera.com/sitemap_index.xml

shinsenter commented 3 years ago

@mickjaeger which plugin version are you using?

mickjaeger commented 3 years ago

latest version, 2.0.0

shinsenter commented 3 years ago

@mickjaeger I could not open your staging URL. I will check it later on tomorrow.

Best regards

mickjaeger commented 3 years ago

https://staging.continentalcamera.com/

staging is working fine, the sitemap is blank/white because of the issue/error/bug. (https://staging.continentalcamera.com/sitemap_index.xml )

also version of rank math seo is 1.0.60.1

shinsenter commented 3 years ago

@mickjaeger

I check your sitemap URL with some online sitemap validators, but it seems OK

mickjaeger commented 3 years ago

i think they were cache when the sitemap was working before installing the plugin. please review. thanks

shinsenter commented 3 years ago

@mickjaeger Your screenshot quality is not good, I could not see the error clearly. May I have a static result of the sitemap when defer.js plugin activated?

Paste this into Chrome's address bar

view-source:https://staging.continentalcamera.com/sitemap_index.xml
mickjaeger commented 3 years ago

check the screenshot below

https://www.screencast.com/t/CCSxPy4lJyQ

shinsenter commented 3 years ago

@mickjaeger

I see. There is no problem with your sitemaps at all. The errors in your screenshots came from the xsl file. FYI: An xsl file is used for transforming the xml to an human-readable format, in this case is an HTML page, then my plugin also optimized it.

I will consider a solution for this case.

shinsenter commented 3 years ago

@mickjaeger

I have released a new version of the plugin. Try this new version to see if your problem gets solved.

mickjaeger commented 3 years ago

its solved/fixed now. thanks