+ Reply to Thread
Results 1 to 8 of 8

Thread: idx wrong pull ?

  1. #1
    Join Date
    Apr 2007
    Location
    Santa Cruz,CA
    Posts
    2,080

    Default idx wrong pull ?

    I am using the snippet below and seem to be getting Pacifica homes. I do not see pacifica on my list, which is out of my county anyway. Can you check and see if the city code for Live oak, area 45 in Santa Cruz county is correct.
    Thanks


    <?php

    $_REQUEST['short'] = "Y";
    $_REQUEST['search_city'] = "45";
    $_REQUEST['snippet_city'] = "Live Oak Short Sale Homes";

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

    ?>
    Santa Cruz Beach Homes || Carmel Real Estate | Aptos Beach Homes Santa Cruz is a vibrant community, located on the north end of Monterey Bay, and is home to artisans, beach goers, hi tech types, and college students. There is plenty of natural beauty from the ocean side coastal towns to the little mountain communities to Carmel and Pebble Beach Golf estates. Let my 30 years of local knowledge and 20 years of real estate help you find the right home or property in the Monterey Bay.

  2. #2
    Aaron is offline Real Estate Webmasters Staff Aaron's Most Recent Blog Entry: Email etiquette Aaron is on a distinguished road
    Join Date
    Jun 2005
    Location
    Nanaimo
    Posts
    24,278

    Default Re: idx wrong pull ?

    CityID 45 is Pacifica

    Live Oak Is not a city in the IDX feed. There is a field for CommunityName - however i only see 3 listings that match "live oak"

    Try This code instead: (Notice that search_city has been switched to search_area)


    <?php

    $_REQUEST['short'] = "Y";
    $_REQUEST['search_area'] = "45";
    $_REQUEST['snippet_city'] = "Live Oak Short Sale Homes";

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

    ?>
    Last edited by Aaron; 02-10-2008 at 10:04 AM.
    Aaron
    Real Estate Webmasters ( Programming )
    Client Resources | Tutorials | Suggested Enhancements

  3. #3
    Join Date
    Apr 2007
    Location
    Santa Cruz,CA
    Posts
    2,080

    Default Re: idx wrong pull ?

    I'll give that a try, thanks. The city is on the list that Reed sent me. Is it inaccurate. While Live Oak is not a city per se, it has the mls code here of 45. I am seeing east and west santa cruz separately, but not "santa cruz" all by itself, which covers a broad area. What should I do with that?

    i am getting this code on the display page

    Parse error: syntax error, unexpected '<' in /var/www/vhosts/propertyinsantacruz.com/httpdocs/index.php(133) : eval()'d code on line 13

    probably would be helpful to get from you a list of the areas, because what I have seems to say city list, yet the areas are there. Rio Del mar ( area 48) shows as a city and the code 48 works for city, but there seem to be inconsistencies as evidenced by Live oak. Also seem to be having a problem with Aptos.
    Last edited by GreggRio; 02-10-2008 at 02:45 PM.
    Santa Cruz Beach Homes || Carmel Real Estate | Aptos Beach Homes Santa Cruz is a vibrant community, located on the north end of Monterey Bay, and is home to artisans, beach goers, hi tech types, and college students. There is plenty of natural beauty from the ocean side coastal towns to the little mountain communities to Carmel and Pebble Beach Golf estates. Let my 30 years of local knowledge and 20 years of real estate help you find the right home or property in the Monterey Bay.

  4. #4
    Aaron is offline Real Estate Webmasters Staff Aaron's Most Recent Blog Entry: Email etiquette Aaron is on a distinguished road
    Join Date
    Jun 2005
    Location
    Nanaimo
    Posts
    24,278

    Default Re: idx wrong pull ?

    Which page / snippet is causing that error?

    Yes Live Oak has the MLS Area code of 45. I am not sure what Reed gave to you ... but I can get you a list of the areas/city codes. I'll try and get that to you sometime this week.

    Thank you,
    Aaron
    Real Estate Webmasters ( Programming )
    Client Resources | Tutorials | Suggested Enhancements

  5. #5
    Join Date
    Apr 2007
    Location
    Santa Cruz,CA
    Posts
    2,080

    Default Re: idx wrong pull ?

    You gave me an area snippet to try for Live Oak and I think I replied to that in another thread. I don't think it worked for Live Oak.

    The inconsistentcies are on the list some areas are referred to as cities and work, and others do not. The code above error was for Live Oak.
    Santa Cruz Beach Homes || Carmel Real Estate | Aptos Beach Homes Santa Cruz is a vibrant community, located on the north end of Monterey Bay, and is home to artisans, beach goers, hi tech types, and college students. There is plenty of natural beauty from the ocean side coastal towns to the little mountain communities to Carmel and Pebble Beach Golf estates. Let my 30 years of local knowledge and 20 years of real estate help you find the right home or property in the Monterey Bay.

  6. #6
    Aaron is offline Real Estate Webmasters Staff Aaron's Most Recent Blog Entry: Email etiquette Aaron is on a distinguished road
    Join Date
    Jun 2005
    Location
    Nanaimo
    Posts
    24,278

    Default Re: idx wrong pull ?

    Yes ... but what was the Name of the snippet that caused the error? And what page did you place it on? I'll get you a new list that's not inconsistent.
    Aaron
    Real Estate Webmasters ( Programming )
    Client Resources | Tutorials | Suggested Enhancements

  7. #7
    Join Date
    Apr 2007
    Location
    Santa Cruz,CA
    Posts
    2,080

    Default Re: idx wrong pull ?

    Sorry, I am not sure of the exact one, I was trying anything to get something to work. I think it may have been the area one you gave me.

    Below is what I got for cities..... that is what I used,you will see Live Oak and also Rio Del mar. I do not need all the other counties cities since they are not in my MLS area of service.If you could send me only the ones that are in my MLS, that would be most helpful.



    Thanks

    'Original' Daly City 690
    19th Avenue Park / Sunnybrae 418
    Adult Village 199
    Alameda County 27
    Alameda to 280 290
    Alder Manor Etc. 350
    Allied Arts / Downtown 304
    Almaden Valley 13
    Alpine / Uplands (Los Trancos) 260
    Alpine Road Area 300
    Alpine Road West 252
    Alsace Lorraine 607
    Alum Rock 4
    Alviso (Santa Clara County) 7
    Amesti / Green Valley Road 54
    Ano Nueva Area 550
    Aptos 49
    Aragon 436
    Ariport Park 493
    Aromas 185
    Avalon Park Etc. 521
    Barron Park 232
    Bayside Manor #2, #18 482
    Baywood Knolls 437
    Baywood Park Etc. 432
    Baywood/Parrott Park 438
    Beacon Shores 374
    Bean Hollow area 551
    Belleair- Etc. 506
    Belmont Country Club Etc. 362
    Belmont Woods Etc. 360
    Ben Lomond 36
    Beresford Manor Etc. 427
    Berryessa 5
    Beverly Terrace Etc. 351
    Big Sur Coast 158
    Blossom Valley 691
    Blossom Valley 12
    Boardwalk 377
    Bolsa Knolls 64
    Bonney Doon Central 32
    Boulder Creek 34
    Bowie Estate Etc. 416
    Brentwood 522
    Brewer Subdivision/Upland 441
    Brisbane 540
    Broadmoor 689
    Brookdale 163
    Brookdale 35
    Brookside / Willowbrook Area 262
    Buri-Buri / Country Club 527
    Burlingame Downtown Area 461
    Burlingame Gardens Etc. 464
    Burlingame Gate/Burlingame Grove 467
    Burlingame Hills / Skyline Terrace 471
    Burlingame Park 460
    Burlingame Terrace-Easton Addition 465
    Burlingame Village 469
    Burlinhome / Easton Add #2, #3, #5 466
    Butano Canyon 553
    Cambrian 14
    Campbell 15
    Canada Cove 602
    Capitola 44
    Capuchino 490
    Capuchino Village 501
    Carlmont 363
    Carmel Highlands 154
    Carmel Hills 148
    Carmel Meadows 151
    Carmel Point 145
    Carmel Rancho 161
    Carmel Valley Ranch 167
    Carmel Valley Village 171
    Carmel Views / Rancho Rio Vista 160
    Carmel Woods 140
    Carolands Etc. 446
    Casa Del Mar / Kehoe Etc. 610
    Castroville 58
    Castroville 137
    Central Menlo 303
    Central Park Etc. 333
    Central Pebble Beach 177
    Central Portola Valley 263
    Central San Jose 9
    Central Woodside 274
    Clearfield Park / N Redwood Subdiv 354
    Clifford Heights Etc. 337
    Clipper Ridge/Princeton-by-the-Sea 623
    College 236
    College Road 55
    Colma 670
    Community Center 240
    Contra Costa County 28
    Cordes Etc. 355
    Cordilleras Heights Etc. 336
    Corralitos 53
    Country Club 212
    Country Club East 176
    Country Club Manor 449
    Country Club West 175
    County / Alameda Area 302
    County Area 210
    County Area / Fair Oaks Ave 311
    Crescent Park 239
    Crestmoor Park 1 515
    Crestmoor Park 2 516
    Crestmoor Park 3 517
    Crown Colony 681
    Cuesta / La Honda 251
    Cupertino 18
    Davenport 31
    Del Rey Oaks - A 108
    Del Rey Oaks - B 109
    Diamond Heights / Pecks Lots 534
    Dolphin Park 372
    Downtown 242
    Downtown 207
    Dumbarton Etc. 330
    East of Highway 1 641
    East of Highway 1 633
    East of Highway 1 / Spanish Town 606
    East of Highway 17 50
    East of Sunshine Valley Rd. 642
    East of U.S. 101 322
    East of U.S. 101 310
    East Salinas - A 65
    East Salinas - B & C 66
    East Salinas - H & I 68
    East Santa Cruz 42
    East Sharp Park 657
    Eastern Addition/Downtown Area 417
    Edgemar 660
    Edgewater Isle 411
    El Camino to Alameda 291
    El Crystal 502
    El Sereno Corte Etc. 352
    Emerald Hills Area 275
    Empire Grade Road 33
    Evergreen 3
    Fairmont 662
    Fairway Park 656
    Farm Hills Estates Etc. 335
    FC- Nbrhood#1 - Treasure Isle Etc. 398
    FC- Nbrhood#2 - Bay Vista 397
    FC- Nbrhood#3 - Carmel Village Etc. 396
    FC- Nbrhood#4 - Marina Point Etc. 395
    FC- Nbrhood#5 - The Islands Etc 393
    FC- Nbrhood#6 - Harbor Side Etc. 394
    FC- Nbrhood#7 - Sea Colony Etc. 390
    FC- Nbrhood#8 - Dolphin Bay Etc. 391
    FC- Nbrhood#9 - Isle Cove Etc. 392
    FC-Nbrhood#10 - Metro Center Etc 400
    FC-Nbrhood#11 - Vintage Park Etc 399
    Felton 37
    Felton Gables 306
    Fiesta Gardens Etc. 420
    Flood Park Area 309
    Foothill Terrace Etc. 434
    Fort Ord 93
    Francisco Terrace 523
    Frenchman's Creek 612
    Garland Ranch 169
    Glenview Highlands 485
    Gonzales/Chualar 94
    Grandview Terrace 609
    Grant 208
    Green Acres 231
    Green Gables 238
    Green Hills Etc. 488
    Greenfield 96
    Hacienda / Del Mesa 162
    Harbortown 412
    Haskins Estates Etc. 361
    Hatton Fields 147
    Hayward Park 419
    Hidden Valley 270
    Higgins Canyon 604
    High Meadows 149
    High School Acres Etc. 334
    Highland Park 614
    Highlands 621
    Highlands 481
    Highlands 213
    Hillsborough Heights 440
    Hillsborough Hills Etc. 451
    Hillsborough Knolls 447
    Hillsborough Oaks Etc. 452
    Hillsborough Park Etc. 442
    Hollister 182
    Homeplace 448
    Homestead / Husing Subdivision 435
    Homeview / Sterling Downs 364
    Horgan Ranch Etc. 332
    Howard Park Etc. 353
    Huntington Park 504
    Ingold Millsdale Ind Ctr Etc. 468
    Inner Mission/South of Market 790
    Jack's Peak 150
    King City 97
    La Honda 250
    La Selva Beach 51
    Ladera 264
    Lakeshore #1 421
    Lakeview 445
    Larkin Valley 52
    Las Palmas Ranch 99
    Laurelwood Etc. 430
    Lauriedale 424
    Lenolt Etc. 331
    Lighthouse Cove Etc. 378
    Linda Mar 651
    Lindenwood Area 293
    Live Oak 45
    Lobos Ridge 153
    Lodge 178
    Loma Mar 556
    Lomita Hills 491
    Lomita Park 500
    Lompico-Zayante 38
    Los Altos Hills 221
    Los Gatos Mountains 23
    Los Gatos/Monte Sereno 16
    Los Prados 422
    Lower El Granada 620
    Lyon-Hoag 462
    Malpaso 155
    Manor #1/ #2 / Park Millbrae 483
    Map Area A & B 75
    Map Area C,D,G & L 76
    Map Area F 77
    Map Area H, I, J, K 78
    Marina - A 81
    Marina - B 82
    Marina - C 83
    Marina - D 84
    Marina - E 85
    Marina - F 86
    Marina - G 87
    Marina - H 88
    Marina - I 89
    Marina - J 90
    Marina - K 91
    Marina - L 92
    Marino Vista Park 487
    Marlin Park/Cole 370
    Mayfair Village 525
    Meadow Glen 486
    Meadows 489
    Menlo Oaks Area 307
    Mid Valley 165
    Middlefield to El Camino 305
    Middlefield to El Camino 292
    Midtown 234
    Mills Estate 480
    Mills Estates 472
    Mills Park 505
    Millwood 492
    Milpitas 6
    Miramar / City of Napals 613
    Miramonte 209
    Miramonte / La Rancheria 168
    Mission 146
    Mobile Home Park 635
    Monte Verde 514
    Monterey - A 110
    Monterey - B 111
    Monterey - C 112
    Monterey - D 113
    Monterey - E 114
    Monterey - F 115
    Monterey - G 116
    Monterey - H 117
    Monterey - I 118
    Monterey - J 119
    Monterey - K 120
    Monterey - L 121
    Monterey - M 122
    Monterey - N 123
    Monterey - O 124
    Monterey - P 125
    Monterra/Tehama 139
    Morgan Hill / Gilroy / San Martin 1
    Moss Beach Heights 634
    Moss Landing / Prunedale 57
    North Bayshore 202
    North Big Sur Coast 157
    North Coast 30
    North Los Altos 211
    North Salinas - C, D, & E 61
    North Salinas - A&B 60
    North Salinas - D, E, F, & G 67
    North Salinas - F 62
    North Salinas - G & H 63
    North Shoreline 203
    North Shoreview / Dore Cavanaugh 415
    Northeast Carmel 142
    Northwest Carmel 141
    Oak Grove Manor / Burlingables 463
    Ocean Colony 603
    Old La Honda Road Area 271
    Old Palo Alto 237
    Old South SF / Rocca 532
    Other Area 999
    Other Mariner's Isle 410
    Otter Cove / Yankee Point 156
    Pacific Grove - A 126
    Pacific Grove - B 127
    Pacific Grove - C 128
    Pacific Grove - D 129
    Pacific Grove - E 130
    Pacific Grove - F 131
    Pacific Grove - G 132
    Pacific Grove - H 133
    Pacific Grove - I 134
    Pacific Heights / Sea Cliff 513
    Pacific Manor 659
    Pajaro / Las Lomas 59
    Palo Alto Hills 230
    Park Pacifica 653
    Park Western Subdivision/Hillsdale 426
    Parkside 413
    Parkview Terrace/San Bruno Heights 503
    Parkway 531
    Parrott Drive Area 443
    Pedro Point 650
    Pelican Cove 373
    Penninsula Landing 376
    Penninsula Place Condos Etc. 508
    Pesante Road and Crazy Horse Canyon 136
    Pescadero 554
    Pigeon Point Area 552
    Pilarcitos Park 608
    Point Lobos 152
    Portola Highlands 511
    Portola State Park Area 253
    Portola Valley Ranch 261
    Princeton Harbor 622
    Professorville 241
    Quail 164
    Ralston Landing 380
    Ray Park 470
    Rengstorff 204
    Rest of South Monterey County 80
    Ridgemark 186
    Rio Del Mar/Seascape 48
    Rockaway Beach 655
    Rollingwood 512
    Ryan Tract Etc. 453
    San Antonio 206
    San Benancio, Harper Canyon and Corral De Tierra 98
    San Benito - N. County 180
    San Benito - S. County 181
    San Bruno Park Etc. 507
    San Gregorio 555
    San Juan Bautista 183
    San Mateo Park / El Cerrito Park 439
    San Mateo Terrace Etc. 428
    San Mateo Village/Glendale Village 423
    San Mateo Woods / Bayridge 431
    San Mateo Woods/ Laurel Creek Farm 429
    Santa Clara 8
    Santa Maria / Russell Area 265
    Santa Teresa 2
    Saratoga 17
    Scotts Valley 39
    Scotts Valley North 41
    Scotts Valley South 40
    Sea Bridge / Ponderosa 379
    Seacliff 47
    Seahaven 611
    Seal Cove 630
    Seaside/Sand City - A 100
    Seaside/Sand City - B 101
    Seaside/Sand City - C 102
    Seaside/Sand City - D 103
    Seaside/Sand City - E 104
    Seaside/Sand City - F 105
    Seaside/Sand City - G 106
    Seaside/Sand City - H 107
    Serra Highlands 528
    Serramonte 680
    SF - West of Twin Peaks 740
    SF- Downtown/Northbeach/Nob Hill 780
    SF- Excelsior/Bayview 700
    SF- Lakeshore/Ocean 730
    SF- Noe Valley 750
    SF- Pacific Heights 770
    SF- Richmond/Presidio 710
    SF- Sunset/Parkside 720
    SF- Western Addition 760
    Sharon Heights / Stanford Hills 301
    Shearwater 381
    Shelter Creek Condos 509
    Shorebird Solar / Marina Point 375
    Skyfarm 450
    Skyline Area 273
    Skywood Area 272
    So. San Francisco - Industrial 524
    Soledad 95
    Soquel 46
    South Big Sur Coast 159
    South of El Monte 214
    South of Tunitas 600
    South Palo Alto 233
    South Salinas - C & D 71
    South Salinas - E & F 72
    South Salinas - A 69
    South Salinas - B 70
    South Salinas - G & J 73
    South Salinas - H & I 74
    South San Jose 11
    South Shoreview 414
    Southeast Carmel 144
    Southern Hills 692
    Southwest Carmel 143
    Southwood 526
    Spreckels 138
    St. Francis Heights 685
    Stanford 243
    Sterling Terrace / Stonegate 533
    Strand Area 632
    Sun Valley 652
    Sunnyvale 19
    Sunrise 371
    Sunshine Gardens 530
    Sylvan Dale 201
    Telescope Hills/Silva Ranch 484
    The Highlands / Ticonderoga 433
    Thompson 205
    Tierra Grande 166
    Tobin Clark Estate / Polo Terrace 444
    Tres Pinos 184
    Tunitas Creek 601
    Upper Forest 179
    Upper Valley 172
    Vallemar 654
    Ventura 235
    Village Views 170
    Watsonville 56
    Wave Crest Etc. 605
    West of Highway 1 631
    West of Highway 1 640
    West of U.S. 101 321
    West Salinas 79
    West Santa Cruz 43
    West Sharp Park 658
    Westborough 520
    Westlake #1 & Olympic 688
    Westlake Heights 683
    Westlake Highlands 687
    Westlake Knolls 684
    Westlake Palisades 686
    Westlake Terrace 682
    Westview 661
    Westwood Knolls Etc. 425
    Whisman 200
    Willow Glen 10
    Willows / O'Conner Area 308
    Winston Manor 529
    Woodland / Newell Area 320
    Woodside Glens 277
    Woodside Heights 278
    Woodside Hills 276
    Santa Cruz Beach Homes || Carmel Real Estate | Aptos Beach Homes Santa Cruz is a vibrant community, located on the north end of Monterey Bay, and is home to artisans, beach goers, hi tech types, and college students. There is plenty of natural beauty from the ocean side coastal towns to the little mountain communities to Carmel and Pebble Beach Golf estates. Let my 30 years of local knowledge and 20 years of real estate help you find the right home or property in the Monterey Bay.

  8. #8
    Aaron is offline Real Estate Webmasters Staff Aaron's Most Recent Blog Entry: Email etiquette Aaron is on a distinguished road
    Join Date
    Jun 2005
    Location
    Nanaimo
    Posts
    24,278

    Default Re: idx wrong pull ?

    This actually looks like a list of the "AREAS" in the database. I'll email you an Excel document that contains the Cities and the Area codes that you will need to build the snippets.
    Aaron
    Real Estate Webmasters ( Programming )
    Client Resources | Tutorials | Suggested Enhancements

+ Reply to Thread

Similar Threads

  1. Replies: 17
    Last Post: 07-31-2007, 02:12 AM
  2. Replies: 3
    Last Post: 03-21-2007, 05:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts