Did you see this threadhttp://www.ebookfriends.com/cgi-bin/ikonboard/topic.cgi?forum=1&topic=17
Here's a modified version of the example. Adding new images is a bit of a problem unless you link images on a web site some place. This is because the rebrander can change the HTML codes, but it can't add new images/files into the ebook
Let's say their affilate link codes are like this (for example)
http://www.someaffiliateprogram.com/?1234
Where the 1234 is the affiliate id that changes
let's also say you want to allow them to add a block of HTML code which code be their banner
1. Create an HTML file like this
<HTML>
<HEAD>
<TITLE>A book</TITLE>
</HEAD>
<BODY>
My name is <B>[={myname}]</B>
<BR>
My web site is <A HREF=[={myurl}] TARGET=_blank>[={myurl}]</A>
<BR>
My email is <A HREF="MAILTO:[={mymail}]">[={mymail}]</A>
<BR>
<A HREF="http://www.someaffiliateprogram.com/?[={myaffiliateid}]">Buy widgets</A>
<BR>
[={mybanner}]
</BODY>
</HTML>
2. Create an E-Book based on this HTML file,
Enable the PreProcessor on the HTML files containing variable like the above - by double clicking on the file in the files tab OR using Edit / All Files / Turn PreProcessor On
3. Add Activ Variables - using Edit / Activ Variables / Add (or pressing Ctrl+A)
For Variable pick the names you entered in step #1 -
e.g. "myname" and "myurl" plus "myaffiliateid" and "mymail" and "mybanner"
Check the rebrandable option on each variable.
Description can be anything you like
Type should be Text or HTML fragment. Except for mybanner which should be a Long HTML variable (so they can enter lots of HTML code)
For all variables in this particular example, except mybanner, Type doesn't really matter. When it really matters is if somebody is entering a block of text say which isn't part of a link. For example if they enter a name + address, and hit the return key part way through.... do we change returns into HTML <BR> tags
4. Click Edit / Output
Check the Build Rebrander option
In the Rebrander EXE Output name, enter a path to an EXE file in the same folder as your main e-book
For example if you main E-Book is caled
C:\MyBook\output\mybook.exe
You might call your rebrander
C:\MyBook\output\myrebrander.exe
5. Click "Build" on the "Build" menu.