Search code examples
emailhyperlinkyahoopreview

Can I format Yahoo Link Preview from a website?


Yahoo Link Preview is a facility of Yahoo Mail in which one enters a website url on outgoing mail and Yahoo Mail automatically picks up an image from the website and some text and displays this graphically on the body of the outgoing mail.

My question is whether it is possible to include anything on the website (like a meta tag) that would specify the image, text and background color of what Yahoo picks up. I can't find anything online.

Thanks in advance,

John


Solution

  • Yes, as a matter of fact you can. Yahoo LinkPreviews reads OpenGraph & Schema.org tags. So, you can specify meta tags using the OpenGraph spec if you'd like.

    Some OpenGraph examples would be og:title, og:image, and og:description.

    Here is the spec for OpenGraph: http://ogp.me