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)


Waimea, also known as Kamuela, is a small town located on the west coast of the Big Island of Hawaii. Known for its rich history, culture, and natural beauty, Waimea is a unique and special place that is worth a visit.

Waimea has a rich history, dating back to the time of the ancient Hawaiians. The town was an important center of agriculture and trade, and it was home to many of the island's most powerful chiefs. Today, Waimea is home to several historical sites, including the Parker Ranch, which is the largest privately-owned ranch in the United States and has a long history dating back to the 1820s.

Waimea is also known for its rich culture. The town is home to a large Hawaiian community, and it's a great place to experience traditional Hawaiian customs and practices. Visitors can attend cultural events, such as hula performances, and learn about Hawaiian history, language, and customs.

Waimea is currently a thriving community with a growing population. The town is home to a variety of businesses and services, including grocery stores, restaurants, and shops. Additionally, Waimea is home to two schools, Waimea Elementary and Middle School, and Parker School, a private school.

In terms of real estate, Waimea offers a range of housing options, from single-family homes to condominiums and townhouses. The housing market in Waimea has been growing steadily in recent years, and it offers great opportunities for both buyers and sellers.

Waimea also offers a variety of job opportunities, particularly in the fields of agriculture, tourism, and healthcare. The Parker Ranch and the nearby resorts and hotels are major employers in the area. Additionally, the growth in the real estate market also creates job opportunities in construction and real estate.

Overall, Waimea is a special and unique town on the Big Island of Hawaii. With its rich history, culture, and natural beauty, it's a great destination for those looking to experience a more authentic side of Hawaii. Whether you're looking for a relaxing vacation or an adventure-packed getaway, Waimea has something for everyone.

0 views0 comments

Recent Posts

See All
  • Facebook
  • Instagram
  • Yelp
bottom of page