propertyhive / WP-Property-Hive

The complete estate agency software plugin for WordPress
Other
27 stars 27 forks source link

Rightmove Real-Time DataFeed - characters appearing as ? #102

Open todd-jonny opened 4 years ago

todd-jonny commented 4 years ago

Hello,

I've noticed an issue with special characters being sent to Rightmove via the real-time feed, it appears that certain characters are sent differently via different fields -

Looking at the logs it appears that an right quotation mark (e.g. in the town name Bo'ness) is converted into it's html entity (’ )in the _displayaddress field, but in the description it's sent as '\u2019'.

Rightmove is displaying this as a ?, e.g. https://www.rightmove.co.uk/property-for-sale/property-66446667.html

Is there a way to format these consistently? It appears to only be listing content that's affected, the actual address information is sent correct so the location/search results are fine, e.g.:

{"address":{"house_name_number":"22","address_2":"Bridgeness Crescent","address_3":"Bo'ness"

Thanks,

J

propertyhive commented 4 years ago

This actually came up from another client just yesterday and I have contacted Rightmove asking for their advice.

I'll update this thread when I hear back.

Steve