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
  • Writer's pictureJames T. Morrison R(S)


Honokaa is a small town located on the Hamakua Coast of the Big Island of Hawaii. It has a rich history dating back to the early days of Hawaiian settlement, and today it is known for its unique culture and strong sense of community.

The area now known as Honokaa was first settled by Hawaiian farmers and fishermen in the early 1800s. These early settlers established small villages and worked the fertile land, growing taro, sweet potatoes, and other crops. In the late 1800s, the town began to grow as a center for the island's ranching and dairy industry.'

Over the years, Honokaa has become known for its strong sense of community and cultural heritage. The town is home to a number of historic sites, including the Honokaa People's Theater, which was built in the 1930s and is still in use today. The town also celebrates its cultural heritage with annual events such as the Honokaa Western Week, which features a parade, rodeo, and other activities.

In recent years, Honokaa has become a popular destination for visitors seeking a quieter, more laid-back alternative to the more touristy areas of Hawaii. The town offers a wide range of outdoor activities, including hiking, fishing, and horseback riding. The town also has several art galleries, restaurants, and shops.

In terms of real estate and job opportunities, Honokaa is a small town with limited options, but there are some available. The town has a mix of rental properties and homes for sale, with prices typically lower than in more popular tourist areas of the island. Job opportunities are also more limited, but there are some options in the areas of hospitality, retail, and healthcare.

Overall, Honokaa is a small town with a rich history and strong sense of community. It offers visitors and residents alike a chance to experience a more authentic side of Hawaii and enjoy the natural beauty and cultural heritage of the island.

0 views0 comments

Recent Posts

See All
  • Facebook
  • Instagram
  • Yelp
bottom of page