Bitly-Shorten 0.9.3

<1 min read

I've just released an update to the Bitly Shortener library, a simple Kotlin/Java implementation of the URL shortening (bitlinks) abilities of the Bitly v4 API.

This version implements a way to retrieve the last API call response:

val bitlinks = Bitlinks(apikey)
val shortUrl = bitlinks.shorten(longUrl)
val response = bitlinks.lastCallResponse
if (response.isSuccessful) { println(response.body) }

As usual the source code, documentation and binaries are on GitHub.

ReadingTime 0.9.0

<1 min read

ReadingTIme 0.9.0 is the first release of a Kotlin/Java library that can be used to estimate the reading time of blog posts, articles, etc.

It is an implementation of the Medium's Read Time calculation and is used extensively on this blog.

val rt = ReadingTime(htmlText)
println(rt.calcEstimatedReadTime()) // eg: 2 min read

As usual the source code, documentation and binaries are on GitHub.

HttpStatus JSP Tag Library 1.0.5

<1 min read

I've just released an update to my HttpStatus JSP Tag Library, a simple JSP Tag Library to display the code, reason, cause and now message for HTTP status codes in JSP error pages.

<%@ page isErrorPage="html" %>
<%@ taglib prefix="hs" uri="http://erik.thauvin.net/taglibs/httpstatus" %>
<html><head>
<title><hs:code/> <hs:reason default="Server Error"/></title>
</head>
<h1><hs:reason default="Server Error"/></h1>
Cause: <pre><hs:cause default="Unable to complete your request."/></pre>
Message: <pre><hs:message default="A server error has occured."/></pre>

As usual the source code, documentation and binary are on GitHub.

Trigger Point

2 min read

A disgraced U.S. operative who suffered memory loss at the hand of captors is dragged back into the deadly spy world when a colleague goes missing. He needs all of his skills to find her but to uncover the truth he must remember the past.