Xportability / css-to-pdf

Convert any HTML page or region to PDF - supports CSS, SVG, embedded XML objects, and more..
http://www.cloudformatter.com/CSS2Pdf
207 stars 77 forks source link

Using css to pdf with an https connection #10

Closed mrrodriguesmanuel closed 9 years ago

mrrodriguesmanuel commented 9 years ago

Hi everyone,

I'm not able to use the xep service with an https connection on some browser. Try to change the xep url to https but it doesn't work (chandra service).

Do you guys have any clue about that problem ?

Thanks a lot !

kstubs commented 9 years ago

This is true of any secure domain trying to retrieve assets from an insecure domain, your browser will typically warn and block you. The Chandra service you are hitting is intended as a test bed and low volume production solution. We can offer you your own private and secure chandra service if needed.

Thank you for your interest!

Karl..

kbrown01 commented 9 years ago

HTTPS site is in beta

kbrown01 commented 9 years ago

You would change the calls to the service in the JS just changing them to https:

xep_chandra_service: 'https://xep.cloudformatter.com/Chandra.svc/genpackage', xep_chandra_service_AS_PDF: 'https://xep.cloudformatter.com/Chandra.svc/genfile', xep_chandra_service_page_images: 'https://xep.cloudformatter.com/Chandra.svc/genpageimages',

mrrodriguesmanuel commented 9 years ago

Perfect. Thank you.

Nice work :)