Compatibility with Responsify plugin
-
Would it be possible for images associated with list.ly lists be made available in sizes compatible with the Responsify plugin? I’m not sure whether this needs to be a fix to this plugin or that one, so I’m creating a support ticket on the Responsify end, too.
-
Can you please post a URL on your blog where you see this issue?
Regards,
Shyam
Co-founder, ListlyWell, I’ve disabled Responsify for the moment, so you can’t see it right now. The page is https://hdydi.com/2015/03/19/discount-programs-for-multiples/, and the errors are:
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: AttValue: ‘ expected in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Couldn’t find end of Start Tag img in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: AttValue: ‘ expected in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Couldn’t find end of Start Tag img in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: AttValue: ‘ expected in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Couldn’t find end of Start Tag img in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: AttValue: ‘ expected in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Couldn’t find end of Start Tag img in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: AttValue: ‘ expected in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Couldn’t find end of Start Tag img in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: AttValue: ‘ expected in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Couldn’t find end of Start Tag img in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: AttValue: ‘ expected in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Couldn’t find end of Start Tag img in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: AttValue: ‘ expected in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Couldn’t find end of Start Tag img in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: AttValue: ‘ expected in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Couldn’t find end of Start Tag img in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: AttValue: ‘ expected in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Couldn’t find end of Start Tag img in Entity, line: 1 in /home/content/69/11095869/html/wp-content/plugins/responsify-wp/includes/content_filter.php on line 35
Hi!
I’m the author of Responsify WP and I’ve looked into this issue. It seams like the errors is caused by theonclick
attribute on the<img>
tag.
RWP uses the DOMDocument class to load images and get the attributes from them.
The class thinks that the greater than sign in the script is the end of<img>
:onload="(function(e){e.setAttribute("data-loaded", "loaded"); if(e.height >
Hi Stefan,
Thanks for the investigation. Any thoughts on a work around? It seems like valid javascript code and browsers seems to be handling it correctly, but DOMDocument class seems to be breaking.
We are searching a work around as well.
Regards,
Shyam
Thank you, gentlemen, for looking into this. How odd that the class would parse the DOM this way!
We made an update to the Listly to work around this by writing out escaped version of “>”. It seems to have worked in our environment. Can you please check on your side?
Looks good here to! ??
Sadly, I’m still seeing the issue on https://hdydi.com/2015/03/19/discount-programs-for-multiples/. I’m leaving both plugins activated in case it’s helpful to you. Thanks for looking into it.
Sadia, I think that page is cached on your blog and might need the cache cleared. You could probably edit the post, make a minor change to it and save or clear the cache in the caching plugin you use.
Can you try that please?
You were absolutely right! I cleared the cache, and all is well. Thank you both for looking into it!
Closing topic!
- The topic ‘Compatibility with Responsify plugin’ is closed to new replies.