wiki:Bmks
Last modified 9 years ago Last modified on 01/01/09 21:51:57

Working with bookmarks

Right now, there is no quick way to delete or edit bookmarks. However, you can do it by hand. If you are comfortable editing XML, you can follow these steps:

  1. Find your AMIS settings folder. It is usually in c:\documents and settings\all users\application data\amis\settings\
  2. Open the folder "bmk". This contains a bunch of *.bmk files, each of which contains all the bookmarks for a given book.

Some *.bmk files will have names that make sense, such as "amis-help-eng-us.bmk", whereas others will look like nonsense (e.g. "080611230916.bmk"). The contents of the file will look like:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<bookmarkSet xmlns="http://amisproject.org">
<uid></uid>
<lastmark>
	<ncxRef>bagw_0001</ncxRef>
	<uri>file:///c:/daisybooks/mountains_skip/bagw0001.smil#qwrt_0003</uri>
</lastmark>
<bookmark>
	<ncxRef>bagw_0001</ncxRef>
	<uri>file:///c:/daisybooks/mountains_skip/bagw0001.smil#qwrt_0003</uri>
	<note>
		<text>About this digital t</text>
		<audio clipBegin="npt=8.901s" clipEnd="npt=19.554s" src="c:\daisybooks\mountains_skip\bagw0019.mp3"/>
	</note>
</bookmark>
</bookmarkSet>

You can tell by the <uri> element contents where the book is. This should help you figure out which book these bookmarks are for.

  1. Open a *.bmk file in a good text editor, like PSPad or Ultra Edit. Notepad is ok too, but sometimes it mangles Unicode characters.
  2. To remove a bookmark, find the <bookmark> element that you want to remove. The text you see under "note" is the same as what you see in the AMIS menu. Highlight the whole element from <bookmark> to </bookmark>, and just delete everything within, including the <bookmark> and </bookmark> tags.

You can also just delete the *.bmk file to remove all bookmarks for a particular book.

Hopefully in the future, there will be a faster way to do this. It's on our wishlist :)