RE: I'd like to know what is happening to SMIL Timesheets...

Petri,

Thank you for the information.

The use case I was thinking about was to use SMIL Timesheets to
orchestrate XProc <http://www.w3.org/TR/xproc/> pipeline steps. I think
that the Timing and Synchronization features of SMIL could be used to
define when steps should be processed (serial or parallel) and how they
might be triggered by other steps. XProc is basically a serial XML
pipeline processor, with the option to implement concurrency but there
is no way to explicitly declare which steps should run concurrently.

Here is an example of how Timesheets might be used to execute three HTTP
requests concurrently and with an 11 second time-out.
Notice that I've suggested the use of an 'xml-timesheet' processing
instruction (similar to xml-stylesheet) because embedding the
smil:timesheet element into an XProc pipeline would cause it to be
processed and an error would be raised if a step of that type hadn't
already been declared.


Regards

Philip Fennell


<!-- aggregate-terms.smil -->
<?xml version="1.0" encoding="UTF-8"?>
<smil:timesheet>
  <smil:par>
    <smil:item select="#service1" begin="aggregate-terms.begin"
        dur="11s"/>
    <smil:item select="#service2" begin="aggregate-terms.begin"
        dur="11s"/>
    <smil:item select="#service3" begin="aggregate-terms.begin"
        dur="11s"/>
  </smil:par>
</smil:timesheet>



<?xml version="1.0" encoding="UTF-8"?>

<?xml-timesheet href="aggregate-terms.smil"?>

<p:declare-step
               xmlns:p="http://www.w3.org/ns/xproc"
               xmlns:smil="http://www.w3.org/ns/SMIL30"
               xmlns:terms="http://example.org/service/terms/"
               xmlns:xs="http://www.w3.org/2001/XMLSchema"
               name="TermAggregation">

       <p:input port="source"/>
       <p:output port="result" sequence="true"/>

       <p:declare-step type="terms:get">
               <p:input port="source"/>
               <p:output port="result" sequence="true"/>

               <p:option name="href"/>

               <!-- Omitted for brevity's sake, but it would use
p:http-request
                        to submit the text that you want terms to be
extract from. -->
       </p:declare-step>

       <terms:get xml:id="service1" name="OpenCalais" 
           href="http://opencalais.com/..."/>
       <terms:get xml:id="service2" name="MetaCarta" 
           href="http://www.metacarta.com/..."/>
       <terms:get xml:id="service3" name="Yahoo" 
           href="http://search.yahooapis.com/..."/>

       <p:identity name="result-wrapper">
               <p:input port="source">
                       <p:inline>
                               <terms:group/>
                       </p:inline>
               </p:input>
       </p:identity>

       <p:insert xml:id="aggregate-terms" match="/terms:group" 
           position="last-child">
               <p:input port="source"/>

               <p:input port="insertion">
                       <p:pipe step="OpenCalais" port="result"/>
                       <p:pipe step="MetaCarta" port="result"/>
                       <p:pipe step="Yahoo" port="result"/>
               </p:input>
       </p:insert>

</p:declare-step>





-----Original Message-----
From: Petri Vuorimaa [mailto:petri.vuorimaa@tkk.fi] 
Sent: 24 April 2009 15:18
To: Philip Fennell
Cc: www-smil@w3.org
Subject: Re: I'd like to know what is happening to SMIL Timesheets...

Dear Philip,

Thank you for your email. Currently, the SMIL Timesheets is on hold.  
We are waiting for implementations and use cases, before we try to reach
the W3C Recommendation status. We want to see both implementations and
use cases to be sure that the specification meets requirements of both
implementators and developers. Actually, we have already at least three
implementations, and thus we are now focusing more on use cases.
Therefore, it would be very interesting to hear more about your use
case.

Yours,

Petri Vuorimaa
Helsinki University of Technology

On 23.4.2009, at 14:33, Philip Fennell wrote:

> Hello,
>
> The other day I had an idea for an interesting use-case for SMIL 
> Timesheets, but before I go shooting my mouth-off about the idea, I 
> was wondering what progress is being made with regard to the 'Working 
> Draft'.
>
> Any thoughts, feedback or genral comments would be much appreciated as

> I hope to be publishing a blog entry about it at O'Reilly in the next 
> couple of days.
>
>
> Regards
>
> Philip Fennell
>
>> XML Developer (The Forge)
>>
>> BBC Future Media & Technology
>> Media Village, 201 Wood Lane London W12 7TP
>> BC4 C4, Broadcast Centre
>>
>> T:	0208 0085318
>
> http://www.bbc.co.uk/
> This e-mail (and any attachments) is confidential and may contain  
> personal views which are not the views of the BBC unless  
> specifically stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in  
> reliance on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
> 					
>


http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					

Received on Monday, 27 April 2009 08:18:10 UTC