For the database part, as I see in your post, you need 2 fields in the table, timestamp (or a string expression of date in form like YYYYMMDD) and topic. While rendering the calendar, if a date exists in the table, simply add the bold tag around the date.