I've just started working with CRMLS -
http://www.crmls.org/I can retrieve image data using GetObject, but when specifying GetObject's 5th parameter as 1, I still get the same data type response. I know URLs are optional, but wondering if anyone knows if there is another way to get the URL? It wouldn't be the end of the world if I had to store the images on a server, but having URLs is so much easier. Also, even for thumbnails, the response time is slow, at least a full second and a half. I'd could probably just set up a cron to pull in the data every 30 to 60 mins so site visitors don't see any lag, but when working with this RETS server everything else I do has an almost immediate response time.
I use GetMetadataTable on the "media" resource and it's "media" class, I do see an indication that URLs might be stored:
# "media" resource
Array
(
[description] => description
[matrix_unique_id] => matrixuniqueid
[MediaURL] => MediaURL
[modifieddate] => modifieddate
[order] => order
[originalfilename] => originalfilename
[size] => size
[table_id] => tableid
[table_mui] => tablemui
[type] => type
[uploaddate] => uploaddate
)
So why this weird need for a special object query? Can't we query this media class? I've never worked with such a bone-headed feed.
If anyone else uses this CRMLS RETS server and has some tips regarding this issue, or any other CRMLS specific issues, I'd really appreciate your insight. So far I can successfully get my broker's listings and images, so I've got the basics covered. I would like to eventually upload listings and delete listings using PHRETS, or an extension of PHRETS.