Search  
 

Please login to post into the forums. Remember - keep your posts friendly. 

Note: Identic Pty Ltd reserves the right to remove any material it considers inappropriate or offensive. Please report any undesirable posts or behaviour to support@lucidcentral.org.

If you have any direct support requests such as reactivation requests please use the help desk.

  
 

Login

    
 
HomeHomeFact Sheet Fusi...Fact Sheet Fusi...Fact Sheet Fusi...Fact Sheet Fusi...Exporting Fact Sheets to the Lucid BuilderExporting Fact Sheets to the Lucid Builder
Previous
 
Next
New Post
8/21/2014 10:44 AM
 

Exporting fact sheets for Lucid

When exporting the fact sheets for Lucid it is important to understand what FSF exports and the Lucid Builder folder structure.:

FSF by default exports the following:

<destination folder>\
fs_images\
Images\
\<fact sheet entity name>
...
js\
index.htm
glossary.htm
<fact sheet 1>.htm
<fact sheet 2>.htm
...

The Lucid Builder has the following folder structure:

<key name>\
Media\
Html\
Images\
Thumbs\

Exporting the Fact Sheets

Select your preferred image and thumbnail size and link options. When selecting the destination folder for the exported fact sheets in FSF you should pick the keys 'Html' folder.

Next, within the advanced tab of the export dialog you should select to 'Define an alternative image store location'. For this field select the keys 'Images' folder. Also elect to export the Media list file in the advanced export tab. For most users the option 'Place image caption into the caption field' and defining HTML caption as 'Fact Sheet' will be desirable. The export Media list option will save having to manually attaching each of fact sheets to the corresponding entities in the Lucid Builder.

Once the export has been completed use Windows Explorer or Finder to view the contents of the keys 'Html' folder. Within the folder you will see a file called 'media.xml'. This file contains a list of all the exported HTML fact sheet and their images. This file is then used by the Lucid Builder to attach all this media to the key. However before that step you need to make some edits to the 'media.xml' file.

Use a text editor such as Notepad++ (free from - http://notepad-plus-plus.org/) and open the file. Within the file you will notice that all the images have an absolute path defined. This is because we defined an alternative image store location within FSF. We need to change this for all images by doing a simple find and replace all operation.

Here is an example of a 'media.xml' that contains absolute paths (bold) for images:

<?xml version='1.0' encoding='utf-8'?>
<media_list>
<entity name="Ginger soft rot (162)">
<media>
<media_item>
<filename>C:\Documents and Settings\smith\Desktop\My Lucid key\Media\Images/Ginger_soft_rot_(162)/Pythium-rhizome2.jpg</filename>
<type>image</type>
<caption>Photo 1. Ginger rhizome with severe soft rot, &lt;EM&gt;Pythium&lt;/EM&gt; sp. affecting the young buds and shoots.</caption>
<copyright></copyright>
<comments></comments>
</media_item>
<media_item>
<filename>C:\Documents and Settings\smith\Desktop\My Lucid key\Media\Images/Ginger_soft_rot_(162)/Pythium_field2.jpg</filename>
<type>image</type>
<caption>Photo 2. Ginger with soft rot, &lt;EM&gt;Pythium&lt;/EM&gt; sp., showing drying-up of the leaves and collapse of the plants.</caption>
<copyright></copyright>
<comments></comments>
</media_item>
<media_item>
<filename>C:\Documents and Settings\smith\Desktop\My Lucid key\Media\Images/Ginger_soft_rot_(162)/Pythium-lifecycle2.jpg</filename>
<type>image</type>
<caption>Diagram. Life-cycle of &lt;EM&gt;Pythium&lt;/EM&gt;.</caption>
<copyright></copyright>
<comments></comments>
</media_item>
</media>
</entity>
</media_list>

In this example above we need to perform the find and replace all on the 'C:\Documents and Settings\smith\Desktop\My Lucid key\Media\' part of the image file references and replace it will nothing, to leave from 'Images/..'. e.g. 'Images/Ginger_soft_rot_(162)/Pythium-rhizome2.jpg'. For example the edited 'media.xml' file would look like:

<?xml version='1.0' encoding='utf-8'?>
<media_list>
<entity name="Ginger soft rot (162)">
<media>
<media_item>
<filename>Images/Ginger_soft_rot_(162)/Pythium-rhizome2.jpg</filename>
<type>image</type>
<caption>Photo 1. Ginger rhizome with severe soft rot, &lt;EM&gt;Pythium&lt;/EM&gt; sp. affecting the young buds and shoots.</caption>
<copyright></copyright>
<comments></comments>
</media_item>
<media_item>
<filename>Images/Ginger_soft_rot_(162)/Pythium_field2.jpg</filename>
<type>image</type>
<caption>Photo 2. Ginger with soft rot, &lt;EM&gt;Pythium&lt;/EM&gt; sp., showing drying-up of the leaves and collapse of the plants.</caption>
<copyright></copyright>
<comments></comments>
</media_item>
<media_item>
<filename>Images/Ginger_soft_rot_(162)/Pythium-lifecycle2.jpg</filename>
<type>image</type>
<caption>Diagram. Life-cycle of &lt;EM&gt;Pythium&lt;/EM&gt;.</caption>
<copyright></copyright>
<comments></comments>
</media_item>
</media>
</entity>
</media_list>

This will leave the 'media.xml' file image references as relative paths for the Lucid Builder folder structure.

Next, open the Lucid Builder and key. From the 'File' menu select 'Import...Import Media List'. Within the Media list browse to the 'media.xml' file located in the keys 'Html' folder.

If your FSF entity names don't exactly match the entity names within the key then use the 'Match partial entity name' option. The Builder will then report any fact sheets it can't match prior to importing. If all match the import process will complete.

The import process may take some time if there are a large number of images as the Lucid Builder will be creating thumbnails for each. Once completed you should see your fact sheets attached to the corresponding entities along with the images.

You will not need to redo this process if exporting the same fact sheets from Fact Sheet Fusion again, unless you have added additional entities or images.
 
Previous
 
Next
HomeHomeFact Sheet Fusi...Fact Sheet Fusi...Fact Sheet Fusi...Fact Sheet Fusi...Exporting Fact Sheets to the Lucid BuilderExporting Fact Sheets to the Lucid Builder


  
Copyright 2017. All rights reserved. Identic Pty
Terms Of Use  Privacy Statement