parse_media | R Documentation |
Parsed according to RFC 2616, as at https://www.rfc-editor.org/rfc/rfc2616#section-3.7.
parse_media(x)
x |
String to parse |
A simplified minimal EBNF is:
media-type = type "/" subtype *( ";" parameter )
type = token
subtype = token
parameter = attribute "=" value
attribute = token
value = token | quoted-string
token = 1*<any CHAR except CTLs or ()<>@,;:\"/[]?=\{\}
parse_media("text/plain")
parse_media("text/plain; charset=utf-8")
parse_media("text/plain; charset=\"utf-8\"")
parse_media("text/plain; randomparam=\";=;=\"")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.