TVNewsCube4

Last modified by Ludovic Dubost on 2010/03/28 15:14


Failed to execute the [velocity] macro. Cause: [startup failed: Script_0ae38c907584a8b37b7599b453fb3c9a.groovy: 223: Unexpected input: '{\n    def program = sprog.program;\n    def startDate = xwiki.formatDate(sprog.start);\n    def stopDate = xwiki.formatDate(sprog.stop);\n    def category = sprog.category;\n    def channel = sprog.channel;\n\n    def tit = program.title.text();\n\n    if (!titlelist.contains(tit)) {\n      titlelist.add(tit)\n\n      def progchannel = channels.get(channel)\n      def progtitle = tit;\n      def progurl = ""; // doc.getExternalURL("view", "id=${showTitle.hashCode()}");\n      def progstart = startDate;\n      def progstop = stopDate;\n      def newstext = (isFilm || tit.length()<20) ? "${tit} ${sprog.category}" : "${tit}";\n      def newslist = (nb < maxprogswithnews) ? getGoogleNews("${newstext}", maxarticles, xwiki) : new ArrayList();\n      \n      programnews.add( [ "channel" : progchannel, "title" : progtitle, "url" : progurl, "start" : progstart, "stop" : progstop, ,' @ line 223, column 129.    progstart, "stop" : progstop, , "categor                                  ^  1 error ]. Click on this message for details.