[libRETS-users] Search Function Snippet

Keith T. Garner kgarner at crt.realtors.org
Wed Jan 10 11:04:37 CST 2007


Quick question, in the code snippet you sent, it looks like you're gathering
a large amount of data.  Are you trying to snag "everything" or is that a
subset?  If its "everything" you can just leave select empty and the default
is to return everything.  (Well, technically, by the RETS standard its the
default result set, but in most cases its everything you can see.)

The other thing you can do is just check things against the metadata before
you add them to your select.

Also, I see that you set StandardNames to be true.  Unless the MLS vendor
you're going against specifically told you do that, I would not do that.  In
our experience, StandardNames isn't widely deployed enough to be counted on.

We always tell people that if you want the most RETS 1.x coverage just
concentrate on StandardNames=false and use COMPACT and/or COMPACT-DECODED as
your download format.  Since you can easily get the metadata, I suggest
COMPACT and decoding on your side, but it an work either way.

Keith

-- 
  Keith T. Garner - Managing Director - Center for REALTOR® Technology
   kgarner at realtors.org - 312-329-3294 - http://blog.realtors.org/crt





More information about the libRETS-users mailing list