Re: svn commit: r996319 - in /lenya/contributions/2_0_X /modules/quiz/samples: default.xml lenyaquiz.xml sa mples.xml

Florent André <[email protected]>
Newsgroups gmane.comp.cms.lenya.devel
Message-ID <[email protected]>
Thanks Rudolf ! 

Really nice to see this module in svn ! 

++

On Sun, 12 Sep 2010 14:34:58 -0000, [email protected] wrote:
> Author: rudolf
> Date: Sun Sep 12 14:34:58 2010
> New Revision: 996319
> 
> URL: http://svn.apache.org/viewvc?rev=996319&view=rev
> Log:
> add Lenya quiz sample
> 
> Added:
>     lenya/contributions/2_0_X/modules/quiz/samples/lenyaquiz.xml
> Modified:
>     lenya/contributions/2_0_X/modules/quiz/samples/default.xml
>     lenya/contributions/2_0_X/modules/quiz/samples/samples.xml
> 
> Modified: lenya/contributions/2_0_X/modules/quiz/samples/default.xml
> URL:
>
http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/quiz/samples/default.xml?rev=996319&r1=996318&r2=996319&view=diff
>
==============================================================================
> --- lenya/contributions/2_0_X/modules/quiz/samples/default.xml
(original)
> +++ lenya/contributions/2_0_X/modules/quiz/samples/default.xml Sun Sep
12
> 14:34:58 2010
> @@ -1,21 +1,4 @@
>  <?xml version="1.0" encoding="UTF-8"?>
> -<!--
> -  Licensed to the Apache Software Foundation (ASF) under one or more
> -  contributor license agreements.  See the NOTICE file distributed with
> -  this work for additional information regarding copyright ownership.
> -  The ASF licenses this file to You under the Apache License, Version
2.0
> -  (the "License"); you may not use this file except in compliance with
> -  the License.  You may obtain a copy of the License at
> -  
> -  http://www.apache.org/licenses/LICENSE-2.0
> -  
> -  Unless required by applicable law or agreed to in writing, software
> -  distributed under the License is distributed on an "AS IS" BASIS,
> -  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
> -  See the License for the specific language governing permissions and
> -  limitations under the License.
> --->
> -
>  <quiz xmlns="http://www.w3.org/1999/xhtml"
>  xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
>  xmlns:xhtml="http://www.w3.org/1999/xhtml">
>    <continuation first=" " last="Answers are correct" text="next
>    question"/>
>    <results>
> 
> Added: lenya/contributions/2_0_X/modules/quiz/samples/lenyaquiz.xml
> URL:
>
http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/quiz/samples/lenyaquiz.xml?rev=996319&view=auto
>
==============================================================================
> --- lenya/contributions/2_0_X/modules/quiz/samples/lenyaquiz.xml (added)
> +++ lenya/contributions/2_0_X/modules/quiz/samples/lenyaquiz.xml Sun Sep
> 12 14:34:58 2010
> @@ -0,0 +1,58 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +<quiz xmlns="http://www.w3.org/1999/xhtml"
> xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0"
> xmlns:xhtml="http://www.w3.org/1999/xhtml">
> +  <continuation first="You have  got " last=" points. " text="next"/>
> +  <results>
> +    <result max="6" min="5">very good.</result>
> +    <result max="4" min="3">ok but there were some mistakes.</result>
> +    <result max="2" min="0">bad.</result>
> +    <text> </text>
> +  </results>
> +  <question>Apache Lenya comes from
> +    <answer points="1">
> +       <text> the United  States.</text>
> +      <explanation>no</explanation>
> +    </answer>
> +    <answer points="2">
> +      <text> Switzerland.</text>
> +      <explanation>right</explanation>
> +    </answer>
> +    <answer points="0">
> +      <text> Mars.</text>
> +      <explanation>nobody have ever been on Mars.</explanation>
> +    </answer>
> +    <note>Apache Lenya  was the succeeder of the Wyona CMS which was
> developed for the "Neue  Zürcher Zeitung". Switzerland is
correct.</note>
> +  </question>
> +
> +  <question>The first Apache Lenya version came out
> +    <answer points="0">
> +       <text>1992</text>
> +      <explanation>  No. Apache Lenya is written in Java. Java came out
> 1995</explanation>
> +    </answer>
> +    <answer points="2">
> +      <text>2003</text>
> +      <explanation> Yes</explanation>
> +    </answer>
> +    <answer points="1">
> +      <text>2008</text>
> +      <explanation>No. In 2008 Lenya 2.0 came out, but that was not the
> first version</explanation>
> +    </answer>
> +    <note>The first Apache Lenya version came out 2003.</note>
> +  </question>
> +
> +  <question>Apache Lenya is different to the most other CMS Systems
> because
> +    <answer points="1">
> +       <text> It is very slow.</text>
> +      <explanation>  No. </explanation>
> +    </answer>
> +    <answer points="0">
> +      <text> It is written in Cobol.</text>
> +      <explanation>  No. Apache Lenya is written in Java.</explanation>
> +    </answer>
> +    <answer points="2">
> +      <text> It is an XML based CMS</text>
> +      <explanation> Yes.</explanation>
> +    </answer>
> +    <note>Apache Lenya  is XML based. This is an example of an xml
> document. Let's have a look  at it.</note>
> +  </question>
> +
> +</quiz>
> 
> Modified: lenya/contributions/2_0_X/modules/quiz/samples/samples.xml
> URL:
>
http://svn.apache.org/viewvc/lenya/contributions/2_0_X/modules/quiz/samples/samples.xml?rev=996319&r1=996318&r2=996319&view=diff
>
==============================================================================
> --- lenya/contributions/2_0_X/modules/quiz/samples/samples.xml
(original)
> +++ lenya/contributions/2_0_X/modules/quiz/samples/samples.xml Sun Sep
12
> 14:34:58 2010
> @@ -20,4 +20,8 @@
>      mime-type="application/xhtml+xml"
>      uri="fallback://lenya/modules/quiz/samples/default.xml"
>    />
> +  <sample name="Lenya Quiz"
> +    mime-type="application/xhtml+xml"
> +    uri="fallback://lenya/modules/quiz/samples/lenyaquiz.xml"
> +  />
>  </samples>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.