{"id":221,"date":"2013-10-25T07:26:35","date_gmt":"2013-10-25T07:26:35","guid":{"rendered":"http:\/\/www.advancedwebhelp.com\/blog\/?p=221"},"modified":"2013-11-02T05:17:33","modified_gmt":"2013-11-02T05:17:33","slug":"retsfeed-handling","status":"publish","type":"post","link":"https:\/\/www.advancedwebhelp.com\/blog\/2013\/retsfeed-handling","title":{"rendered":"RETSfeed Handling"},"content":{"rendered":"<style type=\"text\/css\"><!--\n    strong { font-size: 1.3em ; color: purple ; } \n--><\/style>\n<p><a href=\"http:\/\/www.advancedwebhelp.com\/blog\/wp-content\/uploads\/2013\/11\/rets_arrows-s.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-327 alignright\" alt=\"Rets Logo\" src=\"http:\/\/www.advancedwebhelp.com\/blog\/wp-content\/uploads\/2013\/11\/rets_arrows-s.png\" width=\"208\" height=\"202\" srcset=\"https:\/\/www.advancedwebhelp.com\/blog\/wp-content\/uploads\/2013\/11\/rets_arrows-s.png 208w, https:\/\/www.advancedwebhelp.com\/blog\/wp-content\/uploads\/2013\/11\/rets_arrows-s-148x143.png 148w, https:\/\/www.advancedwebhelp.com\/blog\/wp-content\/uploads\/2013\/11\/rets_arrows-s-31x31.png 31w, https:\/\/www.advancedwebhelp.com\/blog\/wp-content\/uploads\/2013\/11\/rets_arrows-s-38x36.png 38w\" sizes=\"auto, (max-width: 208px) 100vw, 208px\" \/><\/a>I have been doing quite a bit of processing of RETSfeeds over the last few years. To use a RETSfeed, you really do need a library to help simplify the processing, and you need to know what is available in the RETSfeed. Here are my suggestions &#8230;<\/p>\n<p>Visit <strong><a href=\"http:\/\/www.retsmd.com\">www.retsmd.com<\/a><\/strong> when you have the address of your RETSfeed and the login information. retsmd.com provides a very simple method for examining the RETSfeed to see what classes and variables are available to you on the RETSfeed.<\/p>\n<p>If you are looking for a useful library to use for processing, Troy Davission has a good, free library available &#8230; <strong><a href=\"https:\/\/github.com\/troydavisson\/PHRETS\">PHRETS<\/a><\/strong>. This library is quick to access, easy to use and very useful. I have used it on several projects and it seems to blend with my PHP processing very nicely.<\/p>\n<p><!--more--><\/p>\n<p>Of course, if you are going to use a RETSfeed, and the Davisson library, you will probably want to learn something about <strong>DMQL<\/strong>, the associated database query language.<\/p>\n<p>In future posts, I will discuss the format of DMQL queries and the use of PHRETS<\/p>\n<p><!--p>Using www.retsmd.com, you can determine what data names are available to expect as the result of the query, and what names you can use in the conditions of the query.  To create a query, you would use the following conditions:\n\n<em>A<\/em>Given L_Acres as an available name, you could retrieve properties with properties of 15 acres or more by creating the conditional\n(L_Acres=15+)\n\n<em>B<\/em>Given L_City as an available name, you could retrieve properties from specific cities with (L_City=Hermosa,Redondo)\n\n<em>C<\/em>Given L_Acres as an available name, you could retrieve properties between 1 and 6 acres using the following conditional\n(L_Acres=1-6)\n\n<em>D<\/em>Given L_City and L_Acres are available names, you could retrieve properties of a particular acreage in a specified city using the following conditional\n(L_City=Lancaster),(L_Acres=0.75) <\/p -->\n","protected":false},"excerpt":{"rendered":"<p>I have been doing quite a bit of processing of RETSfeeds over the last few years. To use a RETSfeed, you really do need a library to help simplify the processing, and you need to know what is available in the RETSfeed. Here are my suggestions &#8230; Visit www.retsmd.com when you have the address of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-221","post","type-post","status-publish","format-standard","hentry","category-retsfeed"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/posts\/221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/comments?post=221"}],"version-history":[{"count":2,"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/posts\/221\/revisions"}],"predecessor-version":[{"id":348,"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/posts\/221\/revisions\/348"}],"wp:attachment":[{"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/media?parent=221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/categories?post=221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.advancedwebhelp.com\/blog\/wp-json\/wp\/v2\/tags?post=221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}