Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Is there a way to build this package into a java module or lib? #18

Open
swuqi opened this issue Mar 7, 2020 · 1 comment
Open

Is there a way to build this package into a java module or lib? #18

swuqi opened this issue Mar 7, 2020 · 1 comment

Comments

@swuqi
Copy link

swuqi commented Mar 7, 2020

Firstly I tried to get all related Java files from web and used Android Studio to build it into a Java lib. But finally I found that I couldn't get some dependencies.
Then I built an Ubuntu VM and ran ant command to build the project. It didn't generate any Java lib either.
I wonder there is a way to build a Java module so we can use it in other Apps.

Thank you.

@markusmobius
Copy link

We ported the Java code of DOM Distiller to Go (without GWT and any Chromium dependencies):

https://github.com/markusmobius/go-domdistiller

It now works fine as a server-side program or command line program.

The stable branch is the most faithful port of Distiller (everything minus some parts where Distiller relies on some render-level info).

The master branch includes insights from Mozilla's readability.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants