B4i Question Parse HTML - narek adonts    Apr 14, 2019 hi, i am trying to parse html to get the open graph meta elements. I search the forum for parsing html but without success. Any help ?
Narek... B4A Library [B4X] MiniHtmlParser - simple html parser implemented with B4X - Erel    Oct 20, 2020   (37 reactions) MiniHtmlParser is a cross platform class that parses html strings and creates a tree... can handle many common html problems.
The example demonstrates how to use the parser.
It parses... B4A Tutorial [B4X] [B4XPages] Pleroma / Mastodon Client - Erel    Feb 24, 2021   (25 reactions) the maximum allowed size.
The html from the feed is parsed using MiniHtmlParser class. The output.... Implemented as a library.
TextUtils - Converts the parsed html data to BBCode.
PleromaFeed - Downloads and....
HtmlToRuns - Converts the parsed html tree to text runs for BCTextEngine.
This project depends on several... B4i Question HTML/JSOUP parser - walterf25    May 9, 2018 Hello all, i'm currently porting a B4A app to B4i, i am using a library written by a forum member to parse HTML files called jsoup and can be found here, is there an equivalent or any other library in B4i that can parse html downloaded strings. currently i only need to retrieve the description and names of the soccer coaches on this page https://www.titanssoccerclub.com/coaches/ I'm... that can do this easily, or will i have to just try to parse the whole page and scrape... B4J Library [B4X] Xml2Map - Simple way to parse XML documents - Erel    Jul 16, 2023   (49 reactions)   tags: xml, Xml2Map, Erel Nobody likes to parse XML.
Parsing JSON is simple and fun. Parsing XML is tedious and boring.
That is the reason behind the Xml2Map class. It internally parses the XML document and returns a Map with the parsed data. It is similar to parsing JSON.
Tip: You can use this tool to help you with parsing JSON: https://b4x.com:51041/json/index.html
So instead of the code explained in the old tutorial... B4A Code Snippet [B4X] Simple: Get the value of an HTML or XML tag. - TILogistic (first post)    Apr 12, 2024 -xhtml-self-contained-tags#1732454
Dear what you are referring to is parsing html or xhtml for...
Looks like it works fine for your well-formed html, but I still feel it makes sense to share... B4i Question Error decoding data as string reading data from a Download from a HttpJob -- solved - TILogistic (first post)    Dec 30, 2021 If it is Html you can see it with webview and to rescue the data you must use regex or look for examples in the forum
https://www.b4x.com/android/forum/pages/results/?query=parse+html&product=b4i... B4A Code Snippet [B4X] Code to extract the paths of the src attribute in all <img> tags of a HTML document - fredo    May 22, 2019   (4 reactions) is based on Regex. Parsing HTML documents with Regex is basically a bad idea and is better solved via...Code to extract the paths of the src attribute in all <img> tags of a HTML document... well-known HTML documents, you can take a first approach here. Sub GetHtmlImagesList(HtmlString As String) As List Dim ReturnList As List ReturnList.Initialize If HtmlString.IndexOf("...<img* src=*>", HtmlString) ' Find WHOLE IMAGE TAG: <img src="...">... B4A Tutorial [B4X] Regular expressions (RegEx) tutorial - Erel (first post)    Jan 27, 2014   (1 reaction) The recommended way to parse HTML is with the jTIDY library.... B4J Code Snippet [B4X] Solving encoding issues with html mails sent with SMTP (Net library) - Erel    Mar 14, 2021   (11 reactions) Encoding the html text with base64 avoids encoding issues, especially with MS Outlook.
This code is compatible with B4A and B4J:
Dim su As StringUtils
smtp.Body = su.EncodeBase64(html.GetBytes("utf8")) 'html = the html body
smtp.AdditionalHeaders.Put("Content-Transfer-Encoding", "BASE64")
Note that it will not work with messages with attachments.... Page: 1   2   3   4   5   |