You can see an example of the automatic iframe pushed by twitter in this tweet.
Summary Card
The Summary Card can be used for many kinds of web content, from blog posts and news articles, to products and restaurants. It is designed to give the reader a preview of the content before clicking through to your website.The Tweet shows a Summary Card (photo and text).
https://dev.twitter.com/cards/types/summary
Our system recognizes when URLs are included in a tweet, and crawls your site to fetch the Card type and content.
To learn more about how our Card system works, read our Getting Started Guide.
https://dev.twitter.com/cards/getting-started
In the <head> of the HTML of the URL
you must have some METADATA.
In Zenodo, for example:
<meta name="description" content="Chapitre dans Matériaux et Joints d Etanchéité pour les Hautes Pressions édité dans la collection • Intégrations des savoirs et savoir faire • -- Collection dirigée et éditée par Stéphane MOTTIN" />
<meta name="citation_title" content="Les matériaux sidérurgiques et les hautes pressions" />
<meta name="citation_author" content="" />
<meta name="citation_doi" content="10.5281/zenodo.400482" />
<meta name="citation_keywords" content="Hautes pressions" />
<meta name="citation_keywords" content="Matériaux" />
<meta name="citation_keywords" content="Hautes pressions - Matériaux" />
<meta name="citation_keywords" content="Joints d étanchéité" />
<meta name="citation_keywords" content="Matériaux - Effets des hautes pressions" />
<meta name="citation_abstract_html_url" content="https://zenodo.org/record/400482" />
<meta name="citation_pdf_url" content="https://zenodo.org/record/400482/files/6Materiaux18_2011.pdf" />
Try the validor to see the visual of your tweet:
https://cards-dev.twitter.com/validator
No comments:
Post a Comment