Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oga Adapter #283

Open
bryanp opened this issue Jan 28, 2016 · 4 comments
Open

Oga Adapter #283

bryanp opened this issue Jan 28, 2016 · 4 comments

Comments

@bryanp
Copy link

bryanp commented Jan 28, 2016

Hello! We're trying to remove Nokogiri as a dependency in Pakyow (using Oga instead). The problem is that our mailer lib uses Premailer, which is currently setup to use the Nokogiri adapter. To use Oga throughout the project we'd like contribute an appropriate Premailer adapter.

Has this been attempted? If not, any tips before getting started?

@akzhan
Copy link
Member

akzhan commented Jun 27, 2016

You can replace Nokogiri with Nokogumbo one.Release with this option will be shortly.

@akzhan
Copy link
Member

akzhan commented Jun 27, 2016

Or you can provide Oga adapter to be merged into Premailer.

@bryanp
Copy link
Author

bryanp commented Jun 27, 2016

@akzhan Unfortunately the adapter interface is incredibly tied to Nokogiri (or libraries like Nokogumbo that follow its interface). We made it work in pakyow, but it's not something I'd want to see in Premailer as-is. Doing it correctly would be a larger effort of redesigning the adapter interface. Willing to help, but is redesigning things at this level something that you all are open to doing?

@akzhan
Copy link
Member

akzhan commented Jun 27, 2016

Yes, any good contribution that did project better will be landed

Вт, 28 июня 2016 г. в 0:59, Bryan Powell notifications@github.com:

@akzhan https://github.com/akzhan Unfortunately the adapter interface
is incredibly tied to Nokogiri (or libraries like Nokogumbo that follow its
interface). We made it work in pakyow, but it's not something I'd want to
see in Premailer as-is. Doing it correctly would be a larger effort of
redesigning the adapter interface. Willing to help, but is redesigning
things at this level something that you all are open to doing?

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

No branches or pull requests

2 participants