View Single Post
Old 06-01-2008, 06:12 AM   #7
daudi
Addict
daudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-booksdaudi has learned how to read e-books
 
Posts: 281
Karma: 904
Join Date: Oct 2007
Location: Kent, UK
Device: iRex iLiad, Psion 5MX, nokia n800
OK, this should be a complete recipe:
  1. create a directory, give it any name you like
  2. create a file called manifest.xml as shown below in the directory you have just created
  3. set the directory in the manifest to point to where you want to link to
  4. optionally add an image file to show this is a link

Here's a complete manifest.xml file
Code:
<?xml version="1.0" encoding="utf-8"?> 
<package>
<metadata>
<dc-metadata>
<Title>This is the title</Title>
<Description>This is the description</Description>
<Date>2008-04-21T11:41:48</Date>
</dc-metadata>
<y-metadata>
<image>link.png</image>
</y-metadata>
</metadata>
<directory>
 <content>/mnt/usb/iliad</content>
</directory>
</package>
This creates a symlink that points to a directory called "iliad" on the usb (/mnt/usb/iliad) and makes it clear that this is a symlink by the use of an image. If you don't want to use an image to identify that this is a link then you can remove
Code:
<y-metadata>
<image>link.png</image>
</y-metadata>
I've attached an example that contains four symlinks: to books and notes on the internal memory, USB and to CF. You can change the path that these point to to anything you like, even shares on your PC if you have networking setup that way. Now there's a thought ...
Attached Files
File Type: zip symlink-example.zip (6.9 KB, 637 views)
daudi is offline   Reply With Quote