I have been looking at jsoup, the Java library for HTML , as well as TheJinJ‘s jSoup HTML Parser library for B4A. I could use the B4A library in a project, but would prefer, if possible, to use the latest version of the jsoup.org library with inline Java.
My needs are fairly modest. I have a raw multipart email message in a string. I would like to extract the HTML, then validate it for known safe tags. If validation failed, I would then like to extract the text portion. Has anyone used this library in this fashion, and are willing to share their experience. I have no knowledge of Java, and would appreciate any and all help given.
Best regards![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
My needs are fairly modest. I have a raw multipart email message in a string. I would like to extract the HTML, then validate it for known safe tags. If validation failed, I would then like to extract the text portion. Has anyone used this library in this fashion, and are willing to share their experience. I have no knowledge of Java, and would appreciate any and all help given.
Best regards
Last edited: