Postojna Cave

Day 1-2: Postojna

Bologna -> Postojna

We departed from Bologna in the morning of 20 July, taking 300km of motorway to Trieste. From there we planned to avoid the Slovenian motorway because we only had to do short parts of it and the tolls are weekly or monthly, so we tried to follow the county roads, but signs were not helpful at all. After some trial and error I managed to find a southeast passage to Postojna using mostly the sun, valleys and high voltage transmission lines (they are not on the maps, but they are usually between areas with high population/industrial density).

Postojna

Postojna is a nice town, it’s not very big and there is not a lot to do other than visiting the caves and the castle. It seem to be the only city in Slovenia with open and unlimited wifi over most of the city, and I’ve definitely appreciated that. The landscape is karst and green hills.

Postojna Caves and Predjama Castle

There are 21 km of caves on three levels, on the lower one the Pivka river is still doing its geological erosion work. The guided visit is 1 km long and is 2 km into the caves, you are taken there and back by a little open train. Unluckily photos are prohibited during the visit, so I only have the few I took from the train and at the end, so you’ll not see here the best parts.

All caves are rich of stalactites and stalagmites, in different colors depending on the impurities, but what stunned me most was that some of them are impressively huge, like a an imax theatre or maybe a small soccer stadium. I thought there were more holes in that mountain than in swiss cheese.

Predjama castle is a medieval fortification built in several stages partly inside in a huge cave. A legend tells that Erazem used this position to withstood a siege for a year, even getting fresh supplies using a secret tunnel that start from the cave.

Check also my girlfriend post on Postojna Caves and Predjama Castle (italian).

On the map:

View Croatia Motorbike Trip – Summer 2012 in a larger map

Croatia 2012 - Departure

Croatia on the road

I’m travelling Croatia by motorbike (BMW F650GS) with my girlfriend, she took with us her netbook to post on her blog about the travel so why not post some info and photo here too? My site have been semi-dead for some time anyway, some fresh content will be nice.

We already did half of the trip but I’ll start from the beginning and make sevaral posts, so they won’t be real time and I’ll still be writing them after the trip is finished.

You can read my girlfriend posts on this trip in Croatia on her blog, in Italian.

The Route

This is the route we planned (clockwise) and it is a good approximation of what we ended up doing, I’ll probably do another precise map with suggested spots while I do posts for trip legs.


View trip croazia 2012 in a larger map

Planning and Departure

This is our second long trip on two wheels (last summer we did 2800km on the alps) so we were confident about the bike, distances and luggage. We booked rooms/apartments beforehand on airbnb, booking and hostel sites, we also booked an hotel with a groupon, leaving only some holes to the end of the trip.

We started our journey on July 20, we planned a 20 days route. Travelling in two on only one bike we had to fit lot of things and we needed to use lateral luggage, rear luggage+bag and tank bag; bike is heavier and larger so it loses some agility, it’s still an enjoyable ride, but it can be wearing on long distances.

BuddyPress Media on Google Code

Those are not fresh news so you could already know it, I write them here for who don’t and for leaving a bunch of useful links in a convenient place :)

  1. BuddyPress Album is being renamed to BuddyPress Media that better reflects the plugin scope and features. It’s a work-in-progress so you’ll probably see it called in both ways.
  2. the project is now hosted on Google Code: BuddyPress Media on code.google.com.

If you are not interested in following BP Media development you can stop reading here, you only need to know that:

  • BP Media stable releases are still hosted on WP plugin repo so you’ll be able to install/update from your WP backend as usual (BP Media on wordpress.org/extend).
  • BP Media is still (and will always be) licensed under GPLv2.
  • General support is still handled on the plugin group on bp.org.

Instead if you are interested in BP Media development you’ll be happy to know that this choice will improve interaction with community and it’s involvement in the project development, in addition to ease collaboration between committers.

What you’ll find on google code:

  • BP Media nightly builds: a convenient way to test latest development version;
  • BP Media issue tracker: here we handle all known bugs, if you found one remember to search before posting and to compile in details the form, it helps us to help you ;) ;
  • BP Media codex: the project documentation, drop a comment if you’d like to help in this;
  • BP Media development svn: if you are comfortable with svn you can checkout the latest changes, or if you are planning to write a code patch you should write it on this version, nightly builds are less frequent than commits;
  • BP Media dev updates: list of latest code commits, issue tracker and codex changes;
  • BP Media dev feeds: list of feed you could be interested to follow.

Temporary workspace @ Ischia

For the next two weeks this will be my workspace. I’m writing you from Ischia, a nice vulcanic island near Naples.

As you see I have everything I need to keep the work going, 3G connection isn’t that bad (at least for what I have to do, of course I’ll not waste my time surfing youtube videos here). I also hope that some relax, a good panorama and cold drinks will boost my productivity in working time.

Just wanted to share my good mood, from tomorrow I’ll be working to get bp-album stable out and to adding multimedia capabilities to it.

Some thoughts on BuddyPress Moderation

Here we have a draft of how I think to make BuddyPress Moderation work and its datamodel.

Content types

User-generated contents in a buddypress community are not limited to few content types but can be virtually anything, so this plugin needs to be able differentiate them and have a function to add custom content during page loading (before page is generated).

Each component that lets users generate contents differentiate them with an ID (actually there could be 2 ids, i.e. blog posts in a network install need blog id and post id to be identified); bp-moderation can use those ids to distinguish among contents of the same type, but it also need to store item_type.

Relationship Content <-> Activity

An activity is a content? Actually it isn’t. An activity is a pointer to a content, that could be a status, a blog/forum post, etc…

In a single content page or in a specified content type loop, the function that generates the report link is hooked to a content type specific hook, so it’s easy to know which is the content type.

Instead the activity loop displays a great number of different content types, so it’s necessary to have a map that relates activities ‘type’ to bp-moderation ‘item_type’ (each item_type could have more than one activity type mapped to it).

Contents vs Actions

Not all activities correspond to a user-generated content, there are also action activities, for example a new user, a new friendship, a user that become member of a group; imho does not make sense to flag actions as inappropriate, so I’ll not create content types mapped to action activities, but it’s possible to do it as with any other custom content type.

Data Model

This is the draft of the database schema. Each content can be flagged from different user more than one time, so two tables are needed, contents table contains info about contents and their status, and flags table contains who and when flagged a content.

status could be ‘new‘ (if admin still haven’t taken any action), ‘moderated‘ (admin moderated the content), ‘ignored‘ (admin said that content is ok).

item_owner_id and reporter_id are the id (as it is in wp_user table) of user that generated the content and the id of the user that flagged it.