HTML Viewer Components for Delphi, Lazarus and C++Builder
The HtmlViewer component set consists of the THtmlViewer, TFrameViewer,
and TFrameBrowser components. All three are HTML document display components:
THtmlViewer
* The basic component.
* THtmlViewer displays single (non-frame) documents.
* It also forms the basis for the other two components.
A Delphi class with functions to read and dissect a HTML file
THTMLdom is a (Delphi) class with functions to read a HTML source file and dissect it into a tree of THTMLelement. The attributes of the HTML tags are stored in the elements. Functions are provided to select elements on the basis of the attribute values or tag names. The structure of the tree can be shown and it can be rendered as plain text.
The source is plain Delphi pascal, requiring a version that supports Tdictionary.
Delphi HTML Parser
This module lets you work with HTML documents as DOM tree and use XPath for searching tags.
It is very simple way to parse HTML.
This tested with version Delphi XE5,6
Usage
Add in Uses parser.pas;
begin
HtmlTxt:= ''; //here your html
NodeList:= TNodeList.Create;
ValueList:= TStringList.Create;
DomTree:= TDomTree.Create;
DomTreeNode:= DomTree.RootNode;
If DomTreeNode.RunParse(HtmlTxt) then
begin
{your code
example:
DomTreeNode.FindXPath('//*[@id="TopBox"]/div[1]/div[@class="draw default"]'),NodeList,ValueList)}
end;
end;
Xpath support:
attributes - //*[@id="TopBox"]/div/@class
comment - //*[@id="TopBox"]/div/comment()[3]
text - //*[@id="TopBox"]/div/text()[2]
previous level - /.....
AI-powered service management for IT and enterprise teams
Enterprise-grade ITSM, for every business
Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity. Maximize operational efficiency with refreshingly simple, AI-powered Freshservice.
Programa de formatação de código Delphi (Object Pascal) para Html para postar códigos em Blogs em especial para o Blogspot.
Program code formatting Delphi (Object Pascal) to Html codes to post in Blogs in particular for Blogspot.
Vídeo de Demonstração
Demo video
http://www.youtube.com/watch?v=7LbdhOzDxwA
FreePascal / Lazarus / Delphi / Kylix - compatible bindings and object-oriented wrapper for LibCURL, the client-side URL transfer library, and TidyLib, the HTML parsing and formatting library based on HTML-Tidy.
The project is a collection of object pascal libraries for parsing text strings and markup languages HTML, XHTML, XML, CSS and others. Libraries are written in minimalism concept with striving for wide unification.
EWB is a freeware components package for Borland Delphi 5 to D2009. It allow you to create a Web Browser, Chat Client, web updater, Html/Xml Editors and more. home page :http://www.bsalsa.com download link: http://www.bsalsa.com/DP/download.php?file=4