trash-art.at Blog

16Jul/126:22 PM

Freenet Publishing with Thingamablog

The Hive - activelink How to publish directly into Freenet with Thingamablog? Here is how it was done with "The Hive".

Freenet is different.
You can run a well managed site, but since there is no PHP or MYSQL support, you can't use widely known tools like Wordpress, Drupal, ImpressCMS&Co.
Thingamablog is an answer! You run it locally(even offline), set up your contents and publish it whenever you feel like doing so. Tingamablog will, based on your data, create the entire website for you so that it is HTML and CSS only, hence just perfect for Freenet.

Here we go. Get the special built of Thingamablog for Freenet(Current version is 1.1b6 and you can get it straight from here). Unpack the compressed archive wherever you want and name its folder whatever you like. The only thing to make sure is that it is installed on the same machine as your Freenet client. There are possibilities to run Thingamablog from another machine, but then you will have to adjust Nodesettings in Thingamablogs configuration, which isn't described here.

Assuming you set up Freenet correctly and have prepared Thingamablog to launch, launch it. On Windows and MacOS you could just doubleclick the "thingamablog.jar". On Nixlike flavours, open a terminal and cd to the place your thingamablog.jar resides. Now just type: java -jar thingamablog.jar
Hit enter and leave the terminal window open(or minimize it, but don't close it).

Starting it the first time, it will ask you to create a new database. You are prompted to choose a directory location for it, so again feel free to create it wherever you want. Don't worry, you can add as many databases as you want, but even for multiple sites managed with Thingamablog, just 1 will allready do the job nicely.

This is what you should see(except the "The Hive") now:
 

Let's hit "Configure->Options..." in the Topmenue.
Note: Make sure to uncheck "Pinging" since we don't want Thingamablog to connect to external, NonFreenet services.


Move to the next tab just to check(leave it as is):


The Proxy settings, also left as is:


The Node settings should look like this:


Well done, you just finished the basic configuration of Thingamablog.

So lets start doing what we are here for:
Hit File->New Flog or "Create Flog" from the startupscreen(Thats why we need the special Version of Thingamablog). Just follow the wizard and don't worry if you don't know what to fill in exactly. Just finish it to have your own site under "My Sites", like "The Hive" in this example:


Don't create an entry yet since we will configure this flogs settings first. Select your site and hit "Configure weblog settings". You should see this now:


Feel free to change the sites title and description anytime. Got to "Front Page" now. You don't have to rename the blog.html into index.html, just leave as is. The settings for "The Hive" look like this:


Archiving:


Adding or editing Categories:


Going on with Authors:
(Notice that the name only is enought. You don't have to set an Email or URL for the author)


I haven't set any Custom Tags, nor did i enable or configure the Email settings. So please choose "Templates" to select what Template you want. You can click "preview" to open up a Browserwindow that shows some blindtext and the chosen style. There are allready a couple of really nice Templates to choose from, but if you want something different, you will find required information at Thingamablogs official website.

Last but not least, the most important settings tab showing the sites publishing options:


Make sure the portnumber and the machineName matches 9481 and 127.0.0.1(not localhost). Leave the add_activeLink deactivated for now. If you have prepared your activelink.png and uploaded it with the files manager(to your root), just fill in "activelink.png" without anything else(Assuming your site will be in a toplevel location like in this example).

Now, click the "generate_keys" button and be happy to get a requestURI(containing your public link information), and an insertURI which is there so noone else except you can edit the site. (The insertURI is the private key you shouldn't share with anyone!) Don't change the values in the requestURI and insertURI field manually! So that there won't be /hive/3/ like in the screenshot. Just leave these fields as they were automatically generated.

If there is allready a number entered in the "currentEdition" field, leave it and don't change it. If there is nothing in the "currentEdition" field, enter the number zero. Thingamablog automatically takes care about versioning the site when you publish it.

The last thing to finish your settings is to enter the flogSSKPath. In here comes the "human readable" part of your sites adress. It does not have to match with your sites title, just be sure that this should be a permanent choice, so other pages links to your site won't fail(The public USK requesturi will always lead to the latest version of a site.) Don't use spaces or other special chars except "-" and "_". In this case, there is only "hive" in the flogSSKPath, without any / or specification of an index.html or blog.html file. Thingamablog will do what's needed automatically for you. Press OK and you are done with setting up your sites publishing options.

Let's create a new entry by hitting File->New Entry. You should see this nice WYSIWYG-HTML editor now:


Enter your data and choose the categories your article should belong to. (You don't have to change anything in case you edited a categories name after creating and assigning an entry to a category. It's changed and restructured automatically.)

Click the Floppydisk Icon(3rd from the left) to save the entry as a draft or make it an active site by clicking the "Update and Publish" Icon, which is the first one. If you edit an allready published entry, you may just hit "Update", the second Icon, and then press "Publish"(To not always publish the whole site).

So you pressed "Update and Publish". This makes the draft appear in the "Current" section of your site, and should publish the whole blog now.

Be patient and wait until it says that your Site was published. (Notice the repeating bar on the bottom right side. It indicates that your site is being published right now) You could click on View->Tasks during the publishing process to see some other logging, or just have a look at the still active terminal window. (It's ok for the "detailed" statusview to not change until a sudden success message appears. The more comprehancible report is logged in the terminal window.) If you don't change your sites mainsettings or categories, you can just hit "Publish" when your new entry is ready. In case your site needs complete republishing due to structural changes, it will do so even if you click "Publish" and not "Publish Entire Weblog"

Have fun! (Please see Freenet as an unique gift and don't mess with it! @) )

>>Download special Version to publish directly into Freenet (5,4MB)<<