struct Sitemapper::VideoMap

Overview

https://developers.google.com/webmasters/videosearch/sitemaps

Defined in:

sitemapper/video_map.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(thumbnail_loc : String, title : String, description : String, content_loc : String | Nil = nil, player_loc : String | Nil = nil, duration : Int32 | Nil = nil, expiration_date : Time | Nil = nil, rating : Float64 | Nil = nil, view_count : Int32 | Nil = nil, publication_date : Time | Nil = nil, family_friendly : String = "yes", tags : Array(String) = [] of String, category : String | Nil = nil, restriction : String | Nil = nil, gallery_loc : String | Nil = nil, price : String | Nil = nil, requires_subscription : String = "no", uploader : String | Nil = nil, platform : Tuple(String, String) | Nil = nil, live : String = "no") #

[View source]

Instance Method Detail

def category : String | Nil #

def clone #

[View source]
def content_loc : String | Nil #

def copy_with(thumbnail_loc _thumbnail_loc = @thumbnail_loc, title _title = @title, description _description = @description, content_loc _content_loc = @content_loc, player_loc _player_loc = @player_loc, duration _duration = @duration, expiration_date _expiration_date = @expiration_date, rating _rating = @rating, view_count _view_count = @view_count, publication_date _publication_date = @publication_date, family_friendly _family_friendly = @family_friendly, tags _tags = @tags, category _category = @category, restriction _restriction = @restriction, gallery_loc _gallery_loc = @gallery_loc, price _price = @price, requires_subscription _requires_subscription = @requires_subscription, uploader _uploader = @uploader, platform _platform = @platform, live _live = @live) #

[View source]
def description : String #

def duration : Int32 | Nil #

def expiration_date : Time | Nil #

def family_friendly : String #

def gallery_loc : String | Nil #

def live : String #

def platform : Tuple(String, String) | Nil #

def player_loc : String | Nil #

def price : String | Nil #

def publication_date : Time | Nil #

def rating : Float64 | Nil #

def render_xml(xml : XML::Builder) #

[View source]
def requires_subscription : String #

def restriction : String | Nil #

def tags : Array(String) #

def thumbnail_loc : String #

def title : String #

def uploader : String | Nil #

def view_count : Int32 | Nil #