Using Twitter cards for better tweets

| categories: publication | tags: | View Comments

@article{thirumalai-2015-pt-pd,
  author =       "Hari Thirumalai and John R. Kitchin",
  title =        {The Role of Vdw Interactions in Coverage Dependent Adsorption
                  Energies of Atomic Adsorbates on Pt(111) and Pd(111)},
  journal =      "Surface Science ",
  pages =        " - ",
  year =         2015,
  doi =          {10.1016/j.susc.2015.10.001},
  url =
                  "http://www.sciencedirect.com/science/article/pii/S0039602815003052",
  issn =         "0039-6028",
}

See it here: http://www.sciencedirect.com/science/article/pii/S0039602815003052.

The main goal of this post is to test run using a Twitter card to make better tweets about publications.

This post did not work quite like I anticipated, mostly because of the way I publish my blog which focuses only on the HTML body. The meta tags that are needed for Twitter do not seem to get put in the header as needed. If I do a regular org export with HTML_HEAD options to get this page: http://kitchingroup.cheme.cmu.edu/publications/twitter-card.html, it did work. The page is pretty bare, but it could be embellished without much work.

Tweeting that URL led to this tweet:

On Twitter, this showed an image of the picture on the page, and linked directly to the page I made. The image is sized a little large and doesn't fit in card quite right, but this is probably fixable. This whole process could be smoothed out a lot with a custom export to get the twitter meta tags in the right place, and maybe provide links to bibtex files, analytics, etc. Sounds like a fun project ;)

Copyright (C) 2016 by John Kitchin. See the License for information about copying.

org-mode source

Org-mode version = 8.3.5

blog comments powered by Disqus