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 = http://rets.hawaiiinformation.com:6103/rets/login Logout = http://rets.hawaiiinformation.com:6103/rets/logout Search = http://rets.hawaiiinformation.com:6103/rets/search GetMetadata = http://rets.hawaiiinformation.com:6103/rets/getMetadata GetObject = http://rets.hawaiiinformation.com:6103/rets/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)

Discovering the Rich History of Hawi, Big Island of Hawaii"



Hawi, located on the northern tip of the Big Island of Hawaii, is a small town with a rich history that spans over a century. From its early days as a sugar cane plantation town to its current focus on sustainable living and preserving its cultural heritage, Hawi has much to offer visitors interested in history and architecture.


One of the most significant aspects of Hawi's history is its connection to the sugar cane industry. In the late 19th century, the town was home to one of the largest sugar cane plantations on the island, with thousands of workers laboring in the fields. The plantation was one of the main drivers of the local economy, and it played a major role in shaping the town's development. Today, the ruins of the sugar mill and other remnants of the plantation can still be seen in the area.


In addition to its sugar cane past, Hawi is also known for its unique architecture. The town is home to a mix of historic buildings, including Victorian-style homes, wooden storefronts, and charming bungalows. Many of these buildings have been restored and repurposed, with many now serving as art galleries, studios, and shops. Visitors can take a self-guided walking tour of the town to see the historic architecture and learn more about the history of the area.


One of the most iconic landmarks in Hawi is the Hawi Church, a beautiful wooden structure that was built in the early 1900s. The church is a popular destination for visitors and is known for its intricate carvings and stained glass windows. Another popular landmark is the Kohala Courthouse, a historic building that now serves as a community center and museum. The courthouse was built in the late 1800s and is an excellent example of the Victorian-style architecture that was popular in the area during that time.

Hawi is also home to the annual Hawi Plantation Days, which is a celebration of the town's sugar plantation past. The event includes a parade, live music, food, and crafts, and also features a reenactment of the life of a sugar plantation worker, which is a good way to get a sense of what life was like during that era.


In conclusion, Hawi is a town with a rich history that is deeply connected to the sugar cane industry and the architecture of the area reflects that. From the ruins of the sugar mill to the charming Victorian-style homes, Hawi offers visitors an opportunity to step back in time and learn about the unique history of the town. Visitors can also enjoy the many landmarks, such as the Hawi Church, and Kohala Courthouse, and participate in events like the Hawi Plantation Days to gain a deeper understanding of the town's past and its connection to the sugar cane industry.

0 views0 comments
  • Facebook
  • Instagram
  • Yelp
bottom of page