[28] Results

Golang : Grab news article text and use NLP to get each paragraph's sentences

golang grab-html-text paragraph nlp trade fx

This tutorial is a slight improvement over the previous tutorial which uses prose natural language processing library to get….... read more

Golang : How to call function inside template with template.FuncMap

golang html-template funcmap call-function wordwrap text-template

Alright, just a simple tutorial on how to call your own function inside HTML template. For this example, we will….... read more

Golang : How to use if, eq and print properly in html template

golang if eq print html-template text-template...

Alright, just a simple problem that took me a while to get it right. Putting the solution down here for….... read more

Golang : How to pass map to html template and access the map's elements

golang index panic-assignment-to-entry-in-nil-map html-text-template slice-array

For this tutorial, we will learn how to pass a map to text or html template and learn how to….... read more

PHP : Send HTML email

php html email

Sending email with PHP is easy and in this tutorial, we will learn how to send HTML based email with….... read more

Golang : How to fix html/template : "somefile" is undefined error?

golang html-template undefined-error parse-html

One of the most common mistakes when using html/template package ExecuteTemplate() function is forgetting to parse the HTML file first.... read more

Golang : Create PDF file from HTML file

golang pdf html

When I was coding with PHP and CodeIgniter framework, I need to generate PDF file to email receipts to my….... read more

Javascript : How to replace HTML inside <div>?

javascript replace-HTML div

Problem :

How to use Javascript to replace the HTML codes?

While attempting to show different content to visitors equipped….... read more