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)

Hawaii Mongoose

Updated: Feb 1

The mongoose, also known as the Indian mongoose, was first introduced to Hawaii in 1883 as a means of controlling the rat population in sugarcane fields. At the time, sugarcane was a major crop in Hawaii and rats were causing significant damage to the crops. The mongoose, which is known to be a natural predator of rats, was brought in to help control the problem.

However, the mongoose introduction was a failure from the beginning. The mongoose, which is active during the day, was not able to control the rat population as the rats were active at night. Additionally, the mongoose, which is not native to Hawaii, had no natural predators and quickly multiplied in the islands. This led to a population explosion of mongooses, which began to cause damage to other native species in Hawaii.

The mongoose's impact on native animals was devastating. They preyed on native birds, reptiles, and amphibians, which were already facing threats from habitat loss and other human activities. The mongoose also ate eggs and young of native birds, further reducing their population. This led to the extinction of several native species and the decline of many others.

In addition to its impact on native wildlife, the mongoose also caused problems for farmers. They damaged sugarcane fields by digging holes and eating the plants. They also ate chickens and other small farm animals, causing financial losses for farmers.

Despite the negative impacts of the mongoose, it was not until the 1960s that efforts were made to control their population. The Hawaii Department of Land and Natural Resources began a trapping and extermination program, which continues to this day. However, due to the mongoose's high reproductive rate, it has been difficult to fully eradicate them from Hawaii.

In conclusion, the introduction of the mongoose to Hawaii was a failed attempt to control the rat population. However, it had a significant impact on native wildlife and farmers. Despite efforts to control their population, the mongoose continues to be a problem in Hawaii and its impact on native species is still felt today.

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