Changes between Version 12 and Version 13 of Harriot


Ignore:
Timestamp:
Mar 4, 2013, 12:02:59 PM (11 years ago)
Author:
Klaus Thoden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Harriot

    v12 v13  
    5353The maps can be exported to html and a [http://echo.mpiwg-berlin.mpg.de/content/scientific_revolution/harriot/maps/0_TOPICS.pt webpage] exists that displays all the maps and can be browsed.
    5454
    55 The resulting html files have to be edited, because a link to another map (i. e. another graphml file) will retain the extension graphml in the source code.
     55Export from yEd has to be done manually for each map (there is no mass exporter), but the settings remain stable per session. The required steps are:
     56 1. Set the export directory (remains stable per session)
     57 1. Export as HTML-Imagemap with the following settings
     58  1. Clipping: Default (leave settings as they are)
     59  1. Image: Choose PNG and Antialiasing
     60  1. HTML: uncheck both boxes (open link in new window, export description as tooltip) and replace the existing template with the following code (adapted to ECHO's Zope environment):
     61{{{
     62          <html metal:use-macro="here/main_template/macros/page">
     63          <head><title>INSERT_TITLE_HERE</title>
     64          <style type="text/css">
     65          .tooltip {
     66            font-size:10pt;
     67            background-color:#FFFFCC;
     68            border:1px solid black;
     69            padding:2px
     70          }
     71          </style>
     72          </head>
     73          <body>
     74          <span metal:fill-slot="body">
     75          ${DIAGRAM}
     76          </span>
     77          </body>
     78          </html>
     79}}}
     80  1. Tiling: Do not activate Tiling
     81 1. To export all the maps, it is best to open all the files, start to export the first one (thereby setting above settings) and close that one. After that the following key sequence can be used: {{{Cmd-E, Return, Return, Cmd-W}}}. This will export and close each map.
     82 1. The resulting html files have to be edited, because a link to another map (i. e. another graphml file) will retain the extension graphml in the source code. A python script (attached to this page) takes care of this replacement and renames the files to the extension {{{*.pt}}}.
     83 1. The pt-files have to be copied to {{{tuxserve03:18021/echo_nav/echo_pages/content/scientific_revolution/harriot/maps}}}
    5684
    5785