Safe API to transform HTML (Java) -


i'd take web page , add tags head. specifically, css link , javascript link. need programatically wide variety of web pages. now, hack out regex or two, i'd use more robust.

what's way inject or transform html? i'm using scala, java or jvm work.

you can use jsoup. example modifying content in html here


Comments

Popular posts from this blog

ruby - How do I merge two hashes into a hash of arrays? -

c++ - Do gcc's __float128 floating point numbers take the current rounding mode into account? -