
import link.kotlin.scripts.dsl.Article
import link.kotlin.scripts.dsl.LanguageCodes.EN
import link.kotlin.scripts.dsl.LinkType.video
import java.time.LocalDate

// language=Markdown
val body = """

<iframe width="960" height="480" src="https://www.youtube.com/embed/lpPbCWpBM3I" frameborder="0" allowfullscreen></iframe>
<iframe src="https://player.vimeo.com/video/170761906?title=0&byline=0&portrait=0" width="960" height="480" frameborder="0" allowfullscreen></iframe>

"""

Article(
  title = "Kotlin in Real Projects",
  url = "https://www.youtube.com/watch?v=lpPbCWpBM3I",
  categories = listOf(
    "Kotlin"
  ),
  type = video,
  lang = EN,
  author = "Anton Keks",
  date = LocalDate.of(2016, 11, 1),
  body = body
)
