View Source SEO.OpenGraph.Book (SEO v0.1.11)

Metadata describing a book

Resources

Summary

Functions

Metadata that describes a book.

Attributes

Types

t()

@type t() :: %SEO.OpenGraph.Book{
  author: URI.t() | String.t() | [URI.t() | String.t()] | nil,
  isbn: String.t(),
  namespace: String.t(),
  release_date: DateTime.t() | NaiveDateTime.t() | Date.t(),
  tag: String.t() | [String.t()]
}

Functions

build(attrs, default \\ nil)

Metadata that describes a book.

  • :author - Who wrote this book. This may be a name or a URL that implements SEO.OpenGraph.Profile for the author with additional details. This may be supplied as a list of authors.
  • :isbn - The ISBN
  • :release_date - The date the book was released.
  • :tag - Tag words associated with this book.

meta(assigns)

Attributes