Software

Software

In this section I want to present some of my own software projects.

Etomite Snippets

Here you can find the source code for the Etomite snippets I wrote. All of my snippets are open source in terms of the GPL. If you want to know more about software licenses please have a look at my licenses page.

A description of how to install snippets to your Etomite installation can be found here.

A documentation for the blog is available on my Software section.

Snippet: blogEntries  

This snippet contains all functions that are responsible
for the appearance of the entries. The snippet has no parameter and has
no effekt without the blog snippet. It must be included before the blog
snippet.

Snippet: blogComment  
The number of comments in the entry field as well as the
whole management of comments is done by this snippet.
The snippet has no parameter and has no effekt without the
blog snippet. It must be included before the blog snippet.
Snippet: blogEdit  
Adding, editing and removing of blog entries is managed by
this snippet. If it is included before the blog snippet a edit field is
put on the top of the page and all entries get an edit and remove
button. The snippet has no parameter and has no effekt without the blog
snippet. It must be included before the blog snippet.
Snippet: blog  
This is the main snippet that calls the functions of the
other ones. Moreover, all variables are set in this snippet. Hence, to
configure the blog it is enough to edit the blog snippet. All variables
can also be set as parameter. Be careful that this snippet is call after
all other blog related snippets. Moreover, the checkbox for "cacheable"
must be unchecked for the website.
Snippet: blogFeed  

WebImage

WebImage creates a ‘portable’ version of your photo album that can be viewed on any standard web browser. No other software is necssary. More information can be found on the project page.

Etomite snippets

To manage this webpage I use the CMS Etomite. There are a lot of plugins (called snippets) available for Etomite that allow one to do more complex things than just printing formated text. Nevertheless, I hade some very special visions for my webpagewhich were not supported by those snippets. Hence, I wrote my own snippets.

MyBlog 2.0  
Since I do a lot of things together with my boyfriend, we wanted to blog our adventures in a very special way. Some  vertices that our blog should implement are listed in the following:

  • The blog should be available from two independently running Etomite instances. Hence, it should use a database table outside of the normal Etomite tables.
  • The table must imply entries that should only be displayed on my webpage (like in the news section), entries that should only be displayed on the page of my boyfriend (like on his news section) and entries that should be displayed on both webpages (like the geoCachingBlog).
  • The entries should be divided into different categories.
  • The Blog should be editable in a intuitive way and parameters such as title, author, date and category should be manipulated over the editor.
  • The start and the number of shown entries per page and the number of shown full texts per page can be manipulated.
  • A RSSFeed should be available for the blog.
  • Allow to insert entries that are not plublished instantly.

Since my boyfriend has a long feature request list every time I talk with him about the blog the following additional request was the base of version 2.0:

  • allow visitors to leave a comment

For version 2.5 a template based implementation is planned. This would allow to handle the look and feel of the blog by html-templates.

The blog implementation is devided into five single snippets (
blogEntries,
blogEdit,
blogComments,
blog,
blogFeed). The first four snippets depend on each other. The blogEntries, blogEdit and blogComments are collections of functions that are called in the blog snippet. Hence, the first three snippets must be included before the fourth and blog is the only snippet that needs paramenter. A typical include of the snippet migth have the following form:

  [ [blogEntries] ]
  [ [blogComments] ]
  [ [blog?<parameter>] ]

This would produce a page like my news page or the geoCachingBlog. To generate a page where you can edit the blog entries use a call like:

  [ [blogEdit] ]  
  [ [blogEntries] ]
  [ [blog?<parameter>] ]

For a list of possible parameter have a look at the blog Snippet. It is the configuration snippet and the only one of my snippets that handles parameters. If you change the parameter in the blog Snippet keep in mind that they migth be overwritten when you upgrade to a new version of the Blog.