The post offered him was that of page to the Earl of Flanders , and as the Earl 's daughter was just going to be married , splendid festivities were held in her honour , and at some of the tilting matches Fortunatus was lucky enough to win the prize .