Here you enter the last settings for inserting your freesite.


Edition specifies your edition number. You can use the same number as last time if you have not changed your freesite, but it got dropped (or the process was interrupted last time). All files that are already in Freenet will not be inserted again - they will be linked at. For DBR sites (as well as for one shot sites) the "Edition" is fixed at zero.

`Next free NIM' specifies which is the first number that should be shown on the NIM form. Click the Update button to adjust this value to respect which NIMs were already found by the NIM inserter. Do not update if you refresh an old edition - this would change the site and make the refresh fail.

For DBR sites you can set up the "slots" you want to insert the data into. Both slots are given by their starting time - so inserting from 2002-11-11 to 2002-11-13 inserts the file for 3 days; On 2002-11-14 it won't be accessible any more if you don't fill that slot as well.

HTL specifies how "far" the file should be inserted into Freenet. The higher the value, the longer it will take to insert it - but it makes it easier to retrieve the site. I usually use HTL 15 for Edition sites and 10 for DBR sites (as they will be refreshed soon).

Note that a file insert usually cannot be inserted again with a higher HTL because of key collisions. So better use a higher HTL.

"Lock time" locks the time mentioned in page tags or in the #$#date:; parser option. If you insert edition sites with page tags (or even one shot sites) and plan to refresh them sometimes, tick this option so that the same time is used for subsequent inserts. If you change the edition and want to update this value, just untick and tick it again (You could disable the parser for subsequent inserts as well - but maybe you did some test inserts in between or you forget to untick that option...?).

"Local Test insert" only inserts the files into your local node with HTL 0. 

Depending which options you selected at the Advances Options step, it might use different metadata. By default, it skips split files (as usually you want to test if the site looks perfectly, for what you do not need split files), does not do any verifying of the insert and inserts at a different URI (adds htl0test/) so that if someone accidentally visits the last edition of your site (if your node is permanent), your test edition will not be propagated out due to the reference to the ActiveLink. 

"Stop Insert before inserting files" allows you only to build FEC blocks, parse files and build containers without inserting the site. As FEC can take some time, it might be helpful to do this while you are not connected to the Internet. All FEC blocks are stored so you can insert the site whenever you want then.

"Clear progress file" helps if you want to do a test insert into a wiped datastore (as in that case the test insert thinks the files are still in). Another use for it is to refresh a site you know that it is mostly dropped (as it will be faster to reinsert it completely in that case). Usually, disabling the option is the least time-consuming way of inserting freesites.

"Use parser for selected files" is usually on. However, if you want to refresh an Edition site and use date-specific code in your site (e.g. the "#$#date:;"-command or site tags) and did not lock the time above, this will change your site and so it is better to disable the parser in this case. (a better solution would be to use that kind of commands only for DBR sites or lock the time for all other sites...)

"Next >>" starts the insert. Before doing an actual insert (no test insert), ensure that you are online and you have a lot of time - it *may* take several hours to insert a larger freesite.

After insert has started, you will come to the "Select what to do" step again, and you can insert another project. When you close the wizard window, all inserts will be stopped abruptly. When you close an insert window, it is stopped cleanly. This may take a few seconds.


Inserting large files / cross references:

FIW supports splitfiles with FEC now. Large files (larger than 1MB) are automatically inserted with FEC (you can change that size on the Advanced Options tab). Note that if you insert new files with FEC, they will become FEC encoded - this creates a temp file in .fiw/fecdata below your freesite that is approximately half as big as the original file. Note that although this process is only done on new or changed files, it can take a lot of time (depending on PC speed and operating system). So it might be a good idea to start a test insert while you are offline and stop it before inserting files. 

If you want to insert large files into your freesite with another tool, store them into a different folder (maybe a subfolder that starts with a dot) and insert them using fproxy (don't select a mime type there and use `CHK@' as key.)  Then save the CHKs into a file called .fiw/mapfile.ini into your freesite dir. That should look like this:

bigimage.gif=CHK@what,ever

If you want to specify a special content type (as for redirections), specify it like that:

.mypicture#image/gif=CHK@what.ever
favouritesite#text/html=SSK@FaP94HgrzsEY2BSW8rp4ZNHnAMUPAgM/cruft

As you see above, you can add references to non-CHK keys as well and even to mapfiles - although it does not make sense usually. To access such a mapfile use th link
SSK@yourprivatekeyPAgM/sitename/1//favouritesite//

If you insert an Edition site, a .next reference to the next edition is inserted the same way.
