fczuardi / crop

work in progress - maybe a simple static sites maganer someday
GNU Affero General Public License v3.0
0 stars 0 forks source link

replace cheerio with something else #2

Open fczuardi opened 6 years ago

fczuardi commented 6 years ago

Parsing html and executing css selectors to find and replace on html strings looks to me like something that ocaml should be good for, having a reason or ocaml module to do that would be nice.

Maybe investigate the possibility of using http://aantron.github.io/lambda-soup/ or research what alternatives we have.

fczuardi commented 6 years ago

in the js world, investigate https://github.com/substack/hyperstream and https://github.com/substack/node-trumpet

fczuardi commented 6 years ago

https://github.com/libxmljs/libxmljs-dom usage example https://github.com/libxmljs/libxmljs-dom/blob/master/test/css2xpath.js