Added a data class for the comment types
This commit is contained in:
parent
156d85fee1
commit
0480a72c30
100 changed files with 1760 additions and 343 deletions
|
@ -2,6 +2,7 @@ package com.example
|
|||
|
||||
import net.thauvin.erik.akismet.Akismet
|
||||
import net.thauvin.erik.akismet.AkismetComment
|
||||
import net.thauvin.erik.akismet.CommentType
|
||||
import java.util.*
|
||||
import kotlin.system.exitProcess
|
||||
|
||||
|
@ -12,7 +13,7 @@ fun main(args: Array<String>) {
|
|||
isTest = true
|
||||
referrer = "https://www.google.com"
|
||||
permalink = "${akismet.blog}post=1"
|
||||
type = AkismetComment.TYPE_COMMENT
|
||||
type = CommentType.COMMENT
|
||||
author = "admin"
|
||||
authorEmail = "test@test.com"
|
||||
authorUrl = "https://www.CheckOutMyCoolSite.com"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue