Did you ever feel the need to save a node in pdf format on your server whenever a new node is published, if this is your case then you have come to the right place.
Although creating a pdf is not a problem here, that you can do it easily using any pdf creating library available in the market, by the way I used “dompdf”, but there are several other libraries available also.
Here is the code to generate a pdf of any html document
$html = < HTML DOCUMENT >
Ever faced a situation where you need to send mails to your subscribers with content they choose to subscribe to, in a single mail mail ?
Well, that means if a subscriber has subscribed to multiple categories then the crux of those content related to only those categories will be sent to that subscriber and that too in just one mail.
If that is your situation then here we are going to handle this situation in a much easier way making use of ‘simplenews’ module.