CSS inline by premailer or juice online program

Hi guys and girls!

I have a challange for you!

I don’t know if you know a HTML + CSS transformation to make a CSS inline.

It is used for email marketing communications and I need to create a routine to pickup a html file, read it and make some changes as I told before.

I made some researches about this topic And I found the “premailer” (https://premailer.io/) and “juice” (Juice CSS Inliner Online) tools online for it, but I’'d like to bring inside the flow.

How can I make it? if there is a javascript or java lib, how to use it inside knime?

I read it too: Premailer.io - Peterbe.com

I’d like to use an api, rest request OR an example with jar lib, node.js and a simple example for how to use it… I’m pretty new about it, not for others nodes! lol…

Can some nice knime friend help me with it?

Thanks Denis

Have you tried this one? Looks pretty old…

https://pythonhosted.org/pynliner/

Thanks for your attention iCFO, but I’d like to use a Rest request for example, to set the html with css and bring me the result. Do you know something like that?

Seeya, Denis

Hi,
have you thought about to use LLMs like ChatGPT or DeepSeek?
Both offer APIs or you can also run a local instance with KNIME: Local-LLMs-made-easy

No, thanks for your attention and suggestion for it. I’ll try it soon.