import {fetch} from 'wix-fetch'; function parseRetsXml(xml) { const parser = new DOMParser(); const xmlDoc = parser.parseFromString(xml, "text/xml"); const retsNode = xmlDoc.getElementsByTagName("RETS")[0]; const replyCode = retsNode.getAttribute("ReplyCode"); const replyText = retsNode.getAttribute("ReplyText"); const loginUrl = retsNode.getAttribute("Login"); const searchUrl = retsNode.getAttribute("Search"); return { replyCode, replyText, loginUrl, searchUrl }; } async function searchMLS(xml, query) { const retsInfo = parseRetsXml(xml); const response = await fetch(retsInfo.searchUrl, { method: 'post', headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, body: `search=${encodeURIComponent(query)}` }); const results = await response.json(); return results; } const xml = ' Broker = MemberName = 79190-RETSIDX James T Morrison MetadataVersion = 8.09.00001 MinMetadataVersion = 8.09.00001 User = 547029,NULL,NULL,NULL Login = Logout = Search = GetMetadata = GetObject = Balance = 0.01 TimeoutSeconds = 1800 '; const query = 'property type:Residential'; searchMLS(xml, query).then(results => { console.log(results); });
top of page

North & South Hilo

The Full Story

The tropical landscape of North Hilo is characterized by flowing streams and cascading waterfalls. The residents of Laupahoehoe and Ninole lead a peaceful, simple life in the countryside. North Hilo was once a major player in the sugarcane industry, and the deep, rich soil in the area is a result of ancient lava flows. Over time, nature has sculpted the land with wind and water, creating a unique and ancient landscape filled with tropical foliage and waterways.

Similarly, South Hilo boasts rich soil and impressive waterfalls. The coastline is adorned with natural beauty and is home to UH Hilo, Rainbow Falls, and the city of Hilo. As the second largest city in Hawaii, Hilo continues to thrive with new businesses occupying older buildings in the downtown area. The city is steeped in culture and history, and its beauty is undeniable, particularly at Hilo Bayfront on a clear day. Coconut Island, along with its charming boutiques, markets, and restaurants, adds to Hilo's appeal and makes it a destination like no other.

Let’s Work Together

Get in touch so we can start working together.

  • Facebook
  • Twitter
  • LinkedIn
  • Instagram

Thanks for submitting!

  • Facebook
  • Instagram
  • Yelp
bottom of page