{"action":"created","issue":{"url":"https://api.github.com/repos/ActivateMedia/heathgate/issues/4","repository_url":"https://api.github.com/repos/ActivateMedia/heathgate","labels_url":"https://api.github.com/repos/ActivateMedia/heathgate/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/ActivateMedia/heathgate/issues/4/comments","events_url":"https://api.github.com/repos/ActivateMedia/heathgate/issues/4/events","html_url":"https://github.com/ActivateMedia/heathgate/issues/4","id":171146165,"number":4,"title":"Property details in Zoopla not matching CMS","user":{"login":"adrian-activate","id":5072273,"avatar_url":"https://avatars.githubusercontent.com/u/5072273?v=3","gravatar_id":"","url":"https://api.github.com/users/adrian-activate","html_url":"https://github.com/adrian-activate","followers_url":"https://api.github.com/users/adrian-activate/followers","following_url":"https://api.github.com/users/adrian-activate/following{/other_user}","gists_url":"https://api.github.com/users/adrian-activate/gists{/gist_id}","starred_url":"https://api.github.com/users/adrian-activate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrian-activate/subscriptions","organizations_url":"https://api.github.com/users/adrian-activate/orgs","repos_url":"https://api.github.com/users/adrian-activate/repos","events_url":"https://api.github.com/users/adrian-activate/events{/privacy}","received_events_url":"https://api.github.com/users/adrian-activate/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"therealmyth","id":5494558,"avatar_url":"https://avatars.githubusercontent.com/u/5494558?v=3","gravatar_id":"","url":"https://api.github.com/users/therealmyth","html_url":"https://github.com/therealmyth","followers_url":"https://api.github.com/users/therealmyth/followers","following_url":"https://api.github.com/users/therealmyth/following{/other_user}","gists_url":"https://api.github.com/users/therealmyth/gists{/gist_id}","starred_url":"https://api.github.com/users/therealmyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealmyth/subscriptions","organizations_url":"https://api.github.com/users/therealmyth/orgs","repos_url":"https://api.github.com/users/therealmyth/repos","events_url":"https://api.github.com/users/therealmyth/events{/privacy}","received_events_url":"https://api.github.com/users/therealmyth/received_events","type":"User","site_admin":false},"assignees":[{"login":"therealmyth","id":5494558,"avatar_url":"https://avatars.githubusercontent.com/u/5494558?v=3","gravatar_id":"","url":"https://api.github.com/users/therealmyth","html_url":"https://github.com/therealmyth","followers_url":"https://api.github.com/users/therealmyth/followers","following_url":"https://api.github.com/users/therealmyth/following{/other_user}","gists_url":"https://api.github.com/users/therealmyth/gists{/gist_id}","starred_url":"https://api.github.com/users/therealmyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealmyth/subscriptions","organizations_url":"https://api.github.com/users/therealmyth/orgs","repos_url":"https://api.github.com/users/therealmyth/repos","events_url":"https://api.github.com/users/therealmyth/events{/privacy}","received_events_url":"https://api.github.com/users/therealmyth/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-08-15T10:30:35Z","updated_at":"2016-08-17T14:57:37Z","closed_at":null,"body":"The details of this property on Zoopla -\r\n\r\nhttp://www.zoopla.co.uk/for-sale/details/41318409?search_identifier=fcea19771ae0ebc6043e01e6d99ca57f#mF0Vxu8s0LkZFFOA.97\r\n\r\ndo not match what is in the CMS -\r\n\r\nhttp://www.heathgate.com/wp-admin/post.php?post=12385&action=edit\r\n\r\nThe property title does not match and the Zoopla listing is showing photos from a different property -\r\n\r\nhttp://www.heathgate.com/wp-admin/post.php?post=7647&action=edit"},"comment":{"url":"https://api.github.com/repos/ActivateMedia/heathgate/issues/comments/240438908","html_url":"https://github.com/ActivateMedia/heathgate/issues/4#issuecomment-240438908","issue_url":"https://api.github.com/repos/ActivateMedia/heathgate/issues/4","id":240438908,"user":{"login":"therealmyth","id":5494558,"avatar_url":"https://avatars.githubusercontent.com/u/5494558?v=3","gravatar_id":"","url":"https://api.github.com/users/therealmyth","html_url":"https://github.com/therealmyth","followers_url":"https://api.github.com/users/therealmyth/followers","following_url":"https://api.github.com/users/therealmyth/following{/other_user}","gists_url":"https://api.github.com/users/therealmyth/gists{/gist_id}","starred_url":"https://api.github.com/users/therealmyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealmyth/subscriptions","organizations_url":"https://api.github.com/users/therealmyth/orgs","repos_url":"https://api.github.com/users/therealmyth/repos","events_url":"https://api.github.com/users/therealmyth/events{/privacy}","received_events_url":"https://api.github.com/users/therealmyth/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T14:57:37Z","updated_at":"2016-08-17T14:57:37Z","body":"@adrian-activate \r\n\r\nThere was 2 issues with the script: \r\n\r\n1 - Title: The title on zoopla is based on the address we pass to them. The address is derived from the address object returned by Google, which for thsi property was: \r\n\r\n> \"address_components\" : [\r\n            {\r\n               \"long_name\" : \"Saint Regis Heights\",\r\n               \"short_name\" : \"St Regis Heights\",\r\n               \"types\" : [ \"premise\" ]\r\n            },\r\n            {\r\n               \"long_name\" : \"Firecrest Drive\",\r\n               \"short_name\" : \"Firecrest Dr\",\r\n               \"types\" : [ \"route\" ]\r\n            },\r\n\r\nI added support for the premise and the title should reflect more what on the website. \r\n\r\n2 - images: The script was getting the image list the wrong way. it was looking for posts with parent = property id and type - attachment. This was sometimes returning a link to an attachment (ie http://www.heathgate.com/?attachment_id=x). I cerrected the query to fetch the posts based on the post meta values.\r\n\r\nI'm running the script manually right now. will have a look later to see if it has fixed the issue. \r\n\r\n"}}
{"actor":{"display_login":"therealmyth"}}