[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Enhancing web pages with Twitter Cards ?

From: Julien Bect
Subject: Enhancing web pages with Twitter Cards ?
Date: Thu, 6 Sep 2018 11:34:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Hi John, hi all,

You might consider adding a few meta-data tags to some of your web pages to make them look nicer on Twitter, using Cards [1].

For instance, on the page that announces the 4.4.1 release [2] you could try this :

<meta name="twitter:card" content="summary" />
<meta name="twitter:creator" content="@theoctaveguy" />
<meta property="og:url" content="https://www.gnu.org/software/octave/news/release/2018/08/09/octave-4.4.1-released.html"; />
<meta property="og:title" content="Octave Version 4.4.1 released" />
<meta property="og:description" content="Octave Version 4.4.1 has been released and is now available for download. An official Windows binary installer is also available." /> <meta property="og:image" content="https://www.gnu.org/software/octave/img/octave-logo.svg"; />

I have no experience with these Twitter Cards, I simply adapted the example from [1], so perhaps some of the tags are actually redundant with existing tags on the page.


[1] https://developer.twitter.com/en/docs/tweets/optimize-with-cards/guides/getting-started.html

[2] https://www.gnu.org/software/octave/news/release/2018/08/09/octave-4.4.1-released.html

reply via email to

[Prev in Thread] Current Thread [Next in Thread]