Star-Dust Expert Licensed User Longtime User Aug 21, 2020 #1 While browsing the web I came across an HTML to bbcode converter. (See this) There are a lot of them, so I thought it might be useful to have a converter in b4x, in order to recreate the HTML pages, downloaded with okhttputils2, and then view them with BBview. It would also allow for easier manipulation
While browsing the web I came across an HTML to bbcode converter. (See this) There are a lot of them, so I thought it might be useful to have a converter in b4x, in order to recreate the HTML pages, downloaded with okhttputils2, and then view them with BBview. It would also allow for easier manipulation
Erel B4X founder Staff member Licensed User Longtime User Aug 21, 2020 #2 The only way to show generic html pages is with WebView. There are too many features needed for this, including CSS, JavaScript and more The Pleroma client shows simple html with BCTextEngine: https://www.b4x.com/android/forum/threads/b4x-b4xpages-pleroma-mastodon-client-step-1.119426/ It uses MiniHtmlParser to parse the html and then uses quite simple code to create the text runs.
The only way to show generic html pages is with WebView. There are too many features needed for this, including CSS, JavaScript and more The Pleroma client shows simple html with BCTextEngine: https://www.b4x.com/android/forum/threads/b4x-b4xpages-pleroma-mastodon-client-step-1.119426/ It uses MiniHtmlParser to parse the html and then uses quite simple code to create the text runs.
Star-Dust Expert Licensed User Longtime User Aug 21, 2020 #3 I hadn't thought about CSS and Javascript. I'm still sticking to HTML 2. Thanks for the reply