September 2011

Take an article attachment snapshot of CSS media print page in a Zotero translator

A good Zotero translator should add an article snapshot as attachment. These snapshots are usually taken from the print version of the article since ads, navigation and so one are cut off. Short the print version shows only the essential article. Content management systems (CMS) use different techniques for print pages, e.g. the print page can be accessed with a /print suffix in the URL. Some CMS like Drupal work with CSS media type stylesheets. There, a print page uses a dedicated CSS print stylesheet. Example:

<link type="text/css" rel="stylesheet" media="all" href="default.css" />
<link type="text/css" rel="stylesheet" media="screen" href="screen.css" />
<link type="text/css" rel="stylesheet" media="print" href="print.css" />