foobar27 / myhtml4j

JNI wrapper for the myhtml4j html5 parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

This is a Java Native Interface (JNI) wrapper of the HTML5 parsing library myhtml.

Getting started

You can add the following maven dependency, or an equivalent gradle, ivy etc. dependency:

<!-- https://mvnrepository.com/artifact/com.github.foobar27/myhtml4j -->
<dependency>
    <groupId>com.github.foobar27</groupId>
    <artifactId>myhtml4j</artifactId>
    <version>0.1.7</version>
</dependency>

Have a look at the test cases to see how to use the library.

Build locally

If you want to change myhtml4j you can build it locally:

git clone --recursive git@github.com:foobar27/myhtml4j.git
cd myhtml4j/cpp
mkdir -p build/release
cd build/release
cmake -DCMAKE_BUILD_TYPE=Release ../../
make
cd ../../../java
./gradlew processResources
./gradlew test 

License

See LICENSE.

About

JNI wrapper for the myhtml4j html5 parser

License:GNU Lesser General Public License v2.1


Languages

Language:Java 64.0%Language:C++ 25.2%Language:Perl 4.7%Language:CMake 4.7%Language:C 1.4%