Real Estate Forums

REW IDX REW Customers only - ask questions, get support and report feed issues here.

Reply
 
Thread Tools Display Modes
Old 12-03-2008, 03:32 PM
Marc Zuazua Marc Zuazua is offline
Advancing Webmaster
 
Join Date: Sep 2008
Location: Austin
Posts: 31
Marc Zuazua is on a distinguished road
Default how would i build a snippet to pull just condos

I would like to create a snippet to pull just condos from a given area... I know how to specify areas and such but not sure how to specify the condos.

Also is there a way to pull specific condos..or would they need to be pulled directly by their address?
For example..if i wanted a snippet that would pull Monarch condos (Monarch being the name of condos) is there a way to specify just those condos?
Reply With Quote
Old 12-03-2008, 04:29 PM
Aaron Aaron is offline
Real Estate Webmasters Staff
 
Join Date: Jun 2005
Location: Nanaimo
Posts: 8,430
Aaron is on a distinguished road
Send a message via MSN to Aaron
Default Re: how would i build a snippet to pull just condos

Hello,

It appears that the ABOR IDX feed does not currently have a field to search the condo name. You would need to use the "Street Name" field I believe.

$_REQUEST['street_name'][] = "Monarch";
$_REQUEST['search_type'][] = "Condo Attached";
$_REQUEST['search_type'][] = "Condo Detached";

Would do the trick. I didn't test these out - so let me know how that works for you.
__________________
Aaron
Programming
Real Estate Webmasters
Reply With Quote
Old 12-04-2008, 12:06 PM
Marc Zuazua Marc Zuazua is offline
Advancing Webmaster
 
Join Date: Sep 2008
Location: Austin
Posts: 31
Marc Zuazua is on a distinguished road
Default Re: how would i build a snippet to pull just condos

didnt seem to work-- i used a condo called "brown building", created the snippet for it,with the following

<?php

$_REQUEST['street_name'][] = "brown building";
$_REQUEST['search_type'][] = "Condo Attached";
$_REQUEST['search_type'][] = "Condo Detached";

$_REQUEST['idx'] = 'residential';

$_REQUEST['minimum_price'] = 5000;
$_REQUEST['maximum_price'] = 125000000;
$_REQUEST['minimum_bedrooms'] = 1;
$_REQUEST['minimum_bathrooms'] = 1;
$_REQUEST['minimum_sqft'] = 400;
$_REQUEST['minimum_year'] = 1900;

// Do Not Edit Below Here
$_REQUEST['snippet'] = true;
include_once('idx/common.inc.php');
include 'idx/inc/php/pages/snippet.php';
?>

I placed this within our snippet test page and just got a great amount of links ..and no listings,
I tried to update the snippet again with just the street name of where the condo is, and just recieved the same information when i checked the page.
Reply With Quote
Old 12-04-2008, 12:46 PM
Aaron Aaron is offline
Real Estate Webmasters Staff
 
Join Date: Jun 2005
Location: Nanaimo
Posts: 8,430
Aaron is on a distinguished road
Send a message via MSN to Aaron
Default Re: how would i build a snippet to pull just condos

Is there a street named "brown building" ? I think you'll need to put the name of the street the condo is on.

For the second issue with the list of links:

Change this

include 'idx/inc/php/pages/snippet.php';

to

include 'idx/inc/php/pages/search.php';
__________________
Aaron
Programming
Real Estate Webmasters
Reply With Quote
Old 12-04-2008, 01:04 PM
Marc Zuazua Marc Zuazua is offline
Advancing Webmaster
 
Join Date: Sep 2008
Location: Austin
Posts: 31
Marc Zuazua is on a distinguished road
Default Re: how would i build a snippet to pull just condos

ok i will try that, however, when i put the street name before it didnt give me any better information...and i also foresee a problem if i am trying to differetiate variopus condos that share the same street..for insantance there are numerous condos on S.Congress, what would i need to include on the snippet to just bring the one address up.
Reply With Quote
Old 12-04-2008, 09:42 PM
Aaron Aaron is offline
Real Estate Webmasters Staff
 
Join Date: Jun 2005
Location: Nanaimo
Posts: 8,430
Aaron is on a distinguished road
Send a message via MSN to Aaron
Default Re: how would i build a snippet to pull just condos

You could add the street number to the snippet like this:

$_REQUEST['street_number'][] = "345";
__________________
Aaron
Programming
Real Estate Webmasters
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Snippet problem or ??? Joshua Sloan REW IDX 4 04-21-2008 01:15 PM
Condo Snippet Ryan Ward REW CMS 1 Questions 7 08-25-2007 09:37 AM

For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 09:34 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.