package ocsigen-toolkit

  1. Overview
  2. Docs
type t =
  1. | Title
  2. | Description
  3. | Og_title
  4. | Og_site_name
  5. | Og_type
  6. | Og_description
  7. | Og_locale
  8. | Og_locale_alternate
  9. | Og_video
  10. | Og_video_url
  11. | Og_video_secure_url
  12. | Og_video_type
  13. | Og_video_with
  14. | Og_video_height
  15. | Og_image
  16. | Og_url
  17. | Og_image_secure_url
  18. | Og_image_type
  19. | Og_image_with
  20. | Og_image_height
  21. | Fb_admins
  22. | Twitter_card
  23. | Twitter_site
  24. | Twitter_site_id
  25. | Twitter_creator
  26. | Twitter_creator_id
  27. | Twitter_url
  28. | Twitter_title
  29. | Twitter_description
  30. | Twitter_image
  31. | Twitter_image_alt
  32. | Twitter_player
  33. | Twitter_player_width
  34. | Twitter_player_height
  35. | Twitter_player_stream
  36. | Twitter_app_name_iphone
  37. | Twitter_app_id_iphone
  38. | Twitter_app_url_iphone
  39. | Twitter_app_name_ipad
  40. | Twitter_app_id_ipad
  41. | Twitter_app_url_ipad
  42. | Twitter_app_name_googleplay
  43. | Twitter_app_id_googleplay
  44. | Twitter_app_url_googleplay
  45. | Unknown_meta of string * string
exception Unknown_property of string
val to_string : t -> string
val of_string : string -> t
val extract : ?fallback:(Nethtml.document -> unit) -> ?tbl:(t, string) Hashtbl.t -> Nethtml.document list -> (t, string) Hashtbl.t
val extract_from_string : ?fallback:(Nethtml.document -> unit) -> ?tbl:(t, string) Hashtbl.t -> string -> (t, string) Hashtbl.t