page-to-kindle
v0.2.1
Published
send any webpage to your kindle
Downloads
10
Readme
#page-to-kindle send any webpage to your kindle
####How it works
- read the Page with node-readability
- write content to pdf with phantomjs
- send pdf via Email (nodemailer) to the Amazon Kindle convert Service
#####Usage example
var pageToKindle = require('pageToKindle');
var sendParams = {
mailOptions : {
to : '[email protected]'
},
transporter : {
service : 'Gmail',
auth : {
user : 'gmail-user-name',
pass : 'gmail-pass'
}
}
};
var sendUrl = pageToKindle.send("www.awesomewebsite.com", sendParams);
sendUrl.done(function() {
console.log('page is sent to kindle...');
});`