GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Originally reported by Ryan McCue as issue 138
If there is leading or trailing whitespace inside the georss:point element, the latitude and longitude are parsed incorrectly.
Google Maps does this in their feeds, e.g. http://maps.google.co.uk/maps/ms?ie=UTF8&hl=en&vps=1&jsv=165c&msa=0&output=georss&msid=114629588063241738205.00046e30584a54b324d5b
There are two solutions to this: either remove the ^ and $ boundaries in the regular expressions to match this, or run trim() on the data before matching.
Trim whitespace from georss:point before parsing. Closed by 1df5d92