I'm trying to get a text from a website to show in an Android app. I'm using HTMLCleaner for parsing the HTML code. I dont have much knowledge of HTML but the code seems a bit messy in my opinion. I've read quite a few examples and other topics but I just cant get it to work. My code:
The part of the HTML code I'm trying to retrieve is "Welkom" and "Havana staat voor eten, drinken en dansen in een gezellige sfeer." (Dutch). Part of the HTML code:
I've tried many different setups of XPATH_HOME but everytime my
string "HomeTitle" returns empty. I've tried to start XPATH_HOME from <div id="content"> but I've read that its best to stay as close as possible to the element you want to retrieve because of code updates and site adjustments. So what should be the XPATH to the desired text?
Hopefully you can help me out!
Thanks