package calculon-web
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
These data-structures are for holding meta-data expressed by the open graph protocol.
The basic information represented is the site name, title, content type, canonical url and a preview image. If the content is music or video data, additional data, additional data like tags or length may be present. Even though the protocal requires a minimum information of title, type, image and url, the webpage might be malformed. Parse.parse_string therefore just returns a list of og_metadata.
type og_metadata =
| Title of string
| Type of og_type
| Image of url
| Url of url
| Audio of url
| Description of string
| Determiner of og_determiner
| Locale of locale
| AlternateLocale of locale
| SiteName of string
| Video of url
| VideoMeta of og_video_metadata
| UnparsedMeta of string
val parse_url : string -> url option
val parse_locale : string -> locale option
val parse_type : string -> og_type
val make_title : string -> og_metadata
val make_type : og_type -> og_metadata
val make_image : url -> og_metadata
val make_audio : url -> og_metadata
val make_description : string -> og_metadata
val make_determiner : og_determiner -> og_metadata
val make_locale : locale -> og_metadata
val make_alternate_locale : locale -> og_metadata
val make_site_name : string -> og_metadata
val make_video : url -> og_metadata
val make_video_metadata : og_video_metadata -> og_metadata
val make_url : url -> og_metadata
val make_video_tag : string -> og_video_metadata
val make_video_duration : int -> og_video_metadata
val format_metadata : Format.formatter -> og_metadata -> unit
module Parser : sig ... end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>