Bumped bld to 1.9.0
This commit is contained in:
parent
dbdb6d26f7
commit
4f1d915e69
14 changed files with 40 additions and 41 deletions
13
README.md
13
README.md
|
@ -1,6 +1,6 @@
|
|||
[](https://opensource.org/licenses/BSD-3-Clause)
|
||||
[](https://kotlinlang.org/)
|
||||
[](https://rife2.com/bld)
|
||||
[](https://rife2.com/bld)
|
||||
[](https://github.com/ethauvin/readingtime/releases/latest)
|
||||
[](https://search.maven.org/search?q=g:%22net.thauvin.erik%22%20AND%20a:%22readingtime%22)
|
||||
[](https://oss.sonatype.org/content/repositories/snapshots/net/thauvin/erik/readingtime/)
|
||||
|
@ -30,7 +30,7 @@ println(rt.calcEstimatedReadTime()) // eg: 2 min read
|
|||
|
||||
To get the estimated reading time in seconds use the `calcReadingTimeInSec()` function.
|
||||
|
||||
### bld
|
||||
## bld
|
||||
|
||||
To use with [bld](https://rife2.com/bld), include the following dependency in your [build](https://github.com/ethauvin/readingtime/blob/master/examples/bld/src/bld/java/com/example/ReadingTimeExampleBuild.java) file:
|
||||
|
||||
|
@ -56,7 +56,7 @@ dependencies {
|
|||
```
|
||||
Instructions for using with Maven, Ivy, etc. can be found on [Maven Central](https://search.maven.org/search?q=g:%22net.thauvin.erik%22%20AND%20a:%22readingtime%22).
|
||||
|
||||
### Properties
|
||||
## Properties
|
||||
|
||||
The following properties are available:
|
||||
|
||||
|
@ -83,7 +83,7 @@ Property | Description
|
|||
`extra` | Additional seconds to be added to the total reading time.
|
||||
`roundingMode` | The [rounding mode](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/RoundingMode.html) to apply.
|
||||
|
||||
### Functions
|
||||
## Functions
|
||||
|
||||
A couple of useful functions are also available:
|
||||
|
||||
|
@ -92,7 +92,7 @@ ReadingTime.wordCount(htmlText) // Returns the count of words. (HTML stripped)
|
|||
ReadingTime.imgCount(htmlText) // Returns the count of images. (HTML img tags)
|
||||
```
|
||||
|
||||
### JSP
|
||||
## JSP
|
||||
|
||||
A JSP tag is also available for easy incorporation into web applications:
|
||||
|
||||
|
@ -124,5 +124,4 @@ cd readingtime
|
|||
./bld compile
|
||||
```
|
||||
|
||||
The project has an [IntelliJ IDEA](https://www.jetbrains.com/idea/) project structure. You can just open it after all
|
||||
the dependencies were downloaded and peruse the code.
|
||||
The project has an [IntelliJ IDEA](https://www.jetbrains.com/idea/) project structure. You can just open it after all the dependencies were downloaded and peruse the code.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue