cyberhobo / wordpress-geo-mashup

Official repository for Geo Mashup, the plugin that makes WordPress into a GeoCMS. Documentation:
https://github.com/cyberhobo/wordpress-geo-mashup/wiki/Getting-Started
63 stars 15 forks source link

RSS Feed breaks when plugin is activated #807

Closed ses0043 closed 6 years ago

ses0043 commented 6 years ago

Hi, when I activate your plugin the RSS feed breaks. When I deactivate the plugin the the RSS feed works again. I'm sorry I don't know how to give you more information than just that.

Kind regards, Sara

cyberhobo commented 6 years ago

Thanks for the report. I would need at least an error message or an example of a request to your feed URL when it is isn't working to find a cause.

ses0043 commented 6 years ago

Thank you Dylan for your response. I'm sorry to have wasted your time. I think I solve my own issue, but in hopes that it may help someone else below is what I discovered.

The only error I could think to give you is from W3C RSS Validator, does this help or do you need more?

When the plugin is not activated the validator expresses recommendations but states the RSS link is valid. When the plugin is activated the RSS link is not valid and I receive the following error line 8 http://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fcomfortcruising.com%2Ffeed%2F#l8, column 45: XML parsing error: :8:45: duplicate attribute. Line 8 reads xmlns:georss="http://www.georss.org/georss" xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:ymaps="http://api.maps.yahoo.com/Maps/V2/AnnotatedMaps.xsd" >

I am currently using WP Geo to manage the location of my post, but I'm trying to move away from using that plugin and replacing it with your plugin if I can make sure my RSS links stay intact. I deactivated WP Geo and left Geo Mashup active and the RSS validator validated the RSS link. I can only assume the two plugins were clashing.

Kind regards, Sara

On Thu, Apr 26, 2018 at 10:04 PM, Dylan Kuhn notifications@github.com wrote:

Thanks for the report. I would need at least an error message or an example of a request to your feed URL when it is isn't working to find a cause.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cyberhobo/wordpress-geo-mashup/issues/807#issuecomment-384850224, or mute the thread https://github.com/notifications/unsubscribe-auth/AUW1UKlCu-uFgCFW2-LoEs5qz50A0fhgks5tsorMgaJpZM4TjpJ4 .

cyberhobo commented 6 years ago

Ah, now I remember - this was reported in #108. I concluded back then that the mechanism for adding an RSS namespace provides no way to tell if it's already been added, and I think that is still the case.

nicomollet commented 6 years ago

Well this is really a problem. My RSS doesn't validate and it breaks RSS widgets trying to display my RSS. I would appreciate a way to disable Geo data from my RSS...