Re: HTML Parsing lib

2014-10-28 Thread Chris via Digitalmars-d-learn
On Sunday, 26 October 2014 at 06:20:45 UTC, Suliman wrote: Unfortunately that library has no dub package. But you can include it in your project. See info here http://code.dlang.org/package-format I can't understand how to set in dub that I need to to include in compilation process other file

Re: HTML Parsing lib

2014-10-26 Thread yazd via Digitalmars-d-learn
el 2 Is there any other HTML parsing lib, or maybe someone do know how to get it's work. Look like it's not compatible with current version of DMD You can try https://github.com/bakkdoor/gumbo-d

Re: HTML Parsing lib

2014-10-25 Thread Suliman via Digitalmars-d-learn
Unfortunately that library has no dub package. But you can include it in your project. See info here http://code.dlang.org/package-format I can't understand how to set in dub that I need to to include in compilation process other files... Could you help me?

Re: HTML Parsing lib

2014-10-25 Thread Adam D. Ruppe via Digitalmars-d-learn
Another option for html is my dom.d https://github.com/adamdruppe/arsd get dom.d and characterencodings.d in your project directory. compile with dmd yourfile.d dom.d characterencodings.d here's an example: import arsd.dom; void main() { auto document = new Document(); // The example

Re: HTML Parsing lib

2014-10-25 Thread MrSmith via Digitalmars-d-learn
On Saturday, 25 October 2014 at 19:55:10 UTC, Suliman wrote: How I can build such App with DUB? Unfortunately that library has no dub package. But you can include it in your project. See info here http://code.dlang.org/package-format

Re: HTML Parsing lib

2014-10-25 Thread Suliman via Digitalmars-d-learn
How I can build such App with DUB?

Re: HTML Parsing lib

2014-10-25 Thread Suliman via Digitalmars-d-learn
You need to pass a library to compiler as well (all its files or .lib/.a file) if it is compiled as static library You can try dmd find_links.d dhtmlparser.d quote_escaper.d C:\Users\Dima\Downloads\DHTMLParser-master\DHTMLParser-master>dmd find_links.d quote_escaper.d OPTLINK (R) for Win3

Re: HTML Parsing lib

2014-10-25 Thread Suliman via Digitalmars-d-learn
On Saturday, 25 October 2014 at 19:51:48 UTC, Suliman wrote: You need to pass a library to compiler as well (all its files or .lib/.a file) if it is compiled as static library You can try dmd find_links.d dhtmlparser.d quote_escaper.d C:\Users\Dima\Downloads\DHTMLParser-master\DHTMLParser-

Re: HTML Parsing lib

2014-10-25 Thread MrSmith via Digitalmars-d-learn
: Symbol Undefined _D11dhtmlparser12__ModuleInfoZ --- errorlevel 2 Is there any other HTML parsing lib, or maybe someone do know how to get it's work. Look like it's not compatible with current version of DMD You need to pass a library to compiler as well (all its files or .lib/.a file) if

Re: HTML Parsing lib

2014-10-25 Thread MrSmith via Digitalmars-d-learn
el 2 Is there any other HTML parsing lib, or maybe someone do know how to get it's work. Look like it's not compatible with current version of DMD You need to pass a library to compiler as well (all its files or .lib/.a file) if it is compiled as static library

HTML Parsing lib

2014-10-25 Thread Suliman via Digitalmars-d-learn
.com/ctg/optlink.html find_links.obj(find_links) Error 42: Symbol Undefined _D11dhtmlparser11parseStringFAyaZC11dhtmlparser11HTM LElement find_links.obj(find_links) Error 42: Symbol Undefined _D11dhtmlparser12__ModuleInfoZ --- errorlevel 2 Is there any other HTML parsing lib, or maybe someone do