Hotel affiliate programs with an XML or API

Discussion in 'Affiliate Programs' started by eljefe3, Jul 27, 2006.

  1. #1
    Are there any good hotel programs out there that can integrate with yahoo maps or google maps and has an API or XML feed? So for instance, someone was looking to go to Ahaheim California I could call up all of the hotels in the Anaheim area and also show a google or yahoo map.
    IAN? hotels.com? Someone else?
     
    eljefe3, Jul 27, 2006 IP
  2. giorgioarmani

    giorgioarmani Well-Known Member

    Messages:
    2,634
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    160
    #2
    giorgioarmani, Jul 7, 2008 IP
  3. anguspm

    anguspm Well-Known Member

    Messages:
    188
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    110
    #3
    anguspm, Jul 7, 2008 IP
  4. giorgioarmani

    giorgioarmani Well-Known Member

    Messages:
    2,634
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    160
    #4
    hey anguspm not bad but i would like it to show directly not needing any click... you see the one on barcelona.com?
     
    giorgioarmani, Jul 7, 2008 IP
  5. anguspm

    anguspm Well-Known Member

    Messages:
    188
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    110
    #5
    Looks like a booking.com Iframe...

    Think they were able to tailor the map due to the increased width of the site.
     
    anguspm, Jul 7, 2008 IP
  6. giorgioarmani

    giorgioarmani Well-Known Member

    Messages:
    2,634
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    160
    #6
    Well Ive looked into the source code after reading what you said.. It appears a bit more complex than that.

    There is a script that calls some javascript which has arrays:

    var hotelsData = new Array();
    hotelsData.push(new Array(41.3965740305202,2.12872445583344,"Catalonia Castellnou","Castellnou, 61,Barcelona ,08017","90.95","http://www.bookings.net/images/hotel/square60/185/185218.gif","3","/hotels/catalonia_castellnou","0","6.7","90588"));
    hotelsData.push(new Array(41.3935518450434,2.16859817504883,"Catalonia Berna","Roger de Llúria, 60,Barcelona ,08009","116.63","http://www.bookings.net/images/hotel/square60/161/161150.gif","4","/hotels/catalonia_berna_hotel","0","7.7","90585"));
    hotelsData.push(new Array(41.3842630773125,2.17115163803101,"Citadines Apart'hotel Barcelona Ramblas","Las Ramblas, 122,Barcelona ,08002","110","http://www.bookings.net/images/hotel/square60/149/149220.gif","3","/hotels/aparthotel_citadines","0","7.7","90155"));
    hotelsData.push(new Array(41.384372389662,2.16201546585562,"Caledonian","Gran Via de les Corts Catalanes 574,Barcelona ,08011","86","http://www.bookings.net/images/hotel/square60/199/199515.gif","3","/hotels/caledonian","0","7.5","90158"));
    hotelsData.push(new Array(41.3984567891697,2.17595630971914,"Hotel Aranea","Consell de Cent, 444,Barcelona , 08013","65.55","http://www.bookings.net/images/hotel/square60/672/672300.gif","3","/hotels/hotel_apsis_aranea","1","7.7","90472"));
    hotelsData.push(new Array(41.398577517602,2.16242567817065,"Catalonia Córcega","Córcega, 368,Barcelona ,08037","105.93","http://www.bookings.net/images/hotel/square60/159/159507.gif","4","/hotels/hotel_catalonia_corcega","0","7.6","90583"));
    hotelsData.push(new Array(41.3939968691516,2.15649044011317,"Gran Hotel Catalonia","Balmes, 142 - 146,Barcelona ,08008","96.3","http://www.bookings.net/images/hotel/square60/309/309746.gif","4","/hotels/gran_hotel_catalonia","0","7.4","90581"));
    hotelsData.push(new Array(41.3855832257221,2.17278242111206,"Catalonia Albinoni","Portal del Angel, 17,Barcelona ,08002","105.93","http://www.bookings.net/images/hotel/square60/397/397979.gif","3","/hotels/hotel_catalonia_albinoni","0","7.3","90584"));
    hotelsData.push(new Array(41.3864622696922,2.16886881670323,"Catalonia Duques de Bergara","Bergara, 11,Barcelona ,08002","105.93","http://www.bookings.net/images/hotel/square60/171/171826.gif","4","/hotels/hotel_catalonia_duques_de_bergara","0","7.5","90580"));
    PHP:
    It appears it takes the latitute and longitude and then links to an onsite page with info on that hotel. But I cannot understand how the referall AID works?
     
    giorgioarmani, Jul 7, 2008 IP
  7. anguspm

    anguspm Well-Known Member

    Messages:
    188
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    110
    #7
    As bookings can only be realised from the booking page the AID doesn´t feature until the reservation page ;)

    Click any hotel, go more info and then you´ll see this 2/3ds of the way down the page:

    <input type="hidden" name="error_url" value="http://www.booking.com/city/es/barcelona.html?aid=307461&">
    Code (markup):
     
    anguspm, Jul 8, 2008 IP
  8. giorgioarmani

    giorgioarmani Well-Known Member

    Messages:
    2,634
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    160
    #8
    Interesting...

    Well I guess I have to look into Google Maps no to see how I can create something like their page?

    Do you know where I can find such info on Google Maps?
     
    giorgioarmani, Jul 8, 2008 IP
  9. cressettravel

    cressettravel Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Try Below Websites:
     
    cressettravel, May 6, 2010 IP