A computer program product having a non-transitory computer readable medium including programmed instructions for processing information, when executed by a computer, wherein the computer includes a content storage unit that stores a plurality of content pieces each including resources and a combination condition, the resources comprising data in a form selected from the group consisting of text file, an image file, an audio file, a video file, and any combination of these files, each of the resources being individually usable, the combination condition specifying as to whether a resource included in a corresponding one of the content pieces is allowed to be combined with another resource included in another of the content pieces;
- and a scenario storage unit that stores a scenario including a play list specifying combination target content pieces from among the content pieces, an output rule defining a combination method for combining the resources respectively included in the combination target content pieces, and a priority list defining priorities of the combination target content pieces, the instructions cause the computer to perform:
- judging whether the combination method defined in the output rule satisfies the combination condition of each of the content pieces specified in the play list, in order of the priorities defined in the priority list;
- editing the output rule based on a judgment result obtained by the judging in such a manner that the combination condition of each of the combination target content pieces specified in the play list is satisfied;
- combining the resources of the content pieces specified in the play list, based on the combination method of the output rule edited by the editing;
- defining which one of the resource of a first content piece of the combination target content pieces specified by the play list and the resource of a second content piece of the combination target content pieces specified by the play list is used prior to the other of the resource of the first content piece and the resource of the second content piece when a first determination result conflicts with a second determination result, the first determination result indicating whether the combination method defined by the output rule satisfies the combination condition of the first content piece, and the second determination result indicating whether the combination method defined by the output rule satisfies the combination condition of the second content piece;
- and
- outputting, as an editing result, the one of the resource of the first content piece and the resource of the second content piece which is defined by the priority to be used prior to the other of the resource of the first content piece and the resource of the second content piece and does not output the other of the resource of the first content piece and the resource of the second content piece when the first determination result conflicts with the second determination result or when the first determination result indicates that the combination method defined by the output rule does not satisfy the combination condition of the first content piece and the second determination result indicates that the combination method defined by the output rule does not satisfy the combination condition of the second content piece.