Philip Fennell | 23 Apr 2009 13:33
Picon
Picon
Favicon

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

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.
(Continue reading)

Philip Fennell | 23 Apr 2009 13:45
Picon
Picon
Favicon

Associating timesheets with XML documents

>From the SMIL Timesheets spec. the examples show either embedding the
timesheet in a document head or using existing link elements:

  <link href="timesheet.smil" rel="timesheet"
type="application/smil+xml">

For those XML document types that don't have link elements for this
purpose, is there a case for creating a processing instruction like the
one already used by stylesheets:

  <?xml-stylesheet href="mystyle.css" type="text/css"?>

that would take the following form:

  <?xml-timesheet href="timesheet.smil" type="application/smil+xml"?>

Having searched the spec and the www-smil mail archives I see no
examples of this already suggested.

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
(Continue reading)

Giovanni Campagna | 23 Apr 2009 14:11
Picon
Gravatar

Re: Associating timesheets with XML documents

2009/4/23 Philip Fennell <Philip.Fennell <at> bbc.co.uk>:
> >From the SMIL Timesheets spec. the examples show either embedding the
> timesheet in a document head or using existing link elements:
>
>  <link href="timesheet.smil" rel="timesheet"
> type="application/smil+xml">
>
> For those XML document types that don't have link elements for this
> purpose, is there a case for creating a processing instruction like the
> one already used by stylesheets:
>
>  <?xml-stylesheet href="mystyle.css" type="text/css"?>
>
> that would take the following form:
>
>  <?xml-timesheet href="timesheet.smil" type="application/smil+xml"?>
>
> Having searched the spec and the www-smil mail archives I see no
> examples of this already suggested.
>

Personally, I would prefer just
<?xml-stylesheet href="timesheet.smil" type="application/smil+xml" ?>

This would allow media queries, alternate timesheets and consistency
with XSL-T / CSS.

Petri Vuorimaa | 24 Apr 2009 16:17
Picon

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.
(Continue reading)

Petri Vuorimaa | 24 Apr 2009 16:17
Picon

Re: Associating timesheets with XML documents

Hello,

I suppose that it would be possible to define a xml-stylesheet kind of  
referencing using, e.g., xml-timesheet reference. However, the  
Timesheet language already has the timesheet element and its src  
attribute to do this. The link element example is given in the  
specification to show how timesheet can be referenced in non-XML  
languages. Could you show an example of case, where the timesheet  
element cannot be used to reference the Timesheet in XML language. If  
there is a clear need to provide other ways to reference external  
Timesheets documents in XML languages, we could document it in the  
future versions of Timesheets language.

Yours,

Petri Vuorimaa
Helsinki University of Technology

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

>> From the SMIL Timesheets spec. the examples show either embedding the
> timesheet in a document head or using existing link elements:
>
> <link href="timesheet.smil" rel="timesheet"
> type="application/smil+xml">
>
> For those XML document types that don't have link elements for this
> purpose, is there a case for creating a processing instruction like  
> the
> one already used by stylesheets:
(Continue reading)

Jeff Schiller | 24 Apr 2009 16:34
Picon
Gravatar

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

Can you pls provide any links to implementations that are public?

On Apr 24, 2009 9:23 AM, "Petri Vuorimaa" <petri.vuorimaa <at> tkk.fi> wrote:

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 int...

Petri Vuorimaa | 24 Apr 2009 17:05
Picon

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

Hello,

Sure. Here are the implementations that I'm aware of.


Petri

On 24.4.2009, at 17:34, Jeff Schiller wrote:

Can you pls provide any links to implementations that are public?


On Apr 24, 2009 9:23 AM, "Petri Vuorimaa" <petri.vuorimaa <at> tkk.fi> wrote:

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 int...



Philip Fennell | 24 Apr 2009 16:44
Picon
Picon
Favicon

Associating timesheets with XML documents

Petri,

> Could you show an example of case, where the timesheet element cannot
be used to reference the Timesheet in XML language.

I have been thinking how one could use Timesheets to provide pipeline
step orchestration for the XML Pipeline Language (XProc). In the case of
an XProc pipeline document, the smil:timesheet element would be
processed as a step which would cause an error if no such step had
already been declared.

Included below is an example, abridged so that you can just concentrate
upon the timing and synchronization parts, that instructs a compliant
XProc processor to execute the three terms:get steps in parallel but
only once the 'aggregate-terms' step has begun. Also note that the three
steps have a duration of 11 seconds so that there is, in effect, a
time-out on the requests. There are other possibilities too for using
time offsets and delays as well as repeats so that pipelines can run
steps periodically and trigger other steps upon completion either
straight away or some time later. You could even programmatically
dispatch events from outside the pipeline that would trigger the active
phases of steps.

I don't think it is as far-fetched as it looks but I'm sure there are
subtleties underneath that are just waiting to rise-up and bite!

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"?>
<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">

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

       <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 <at> tkk.fi]
Sent: 24 April 2009 15:18
To: Philip Fennell
Cc: www-smil <at> w3.org
Subject: Re: Associating timesheets with XML documents

Hello,

I suppose that it would be possible to define a xml-stylesheet kind of
referencing using, e.g., xml-timesheet reference. However, the Timesheet
language already has the timesheet element and its src attribute to do
this. The link element example is given in the specification to show how
timesheet can be referenced in non-XML languages. Could you show an
example of case, where the timesheet element cannot be used to reference
the Timesheet in XML language. If there is a clear need to provide other
ways to reference external Timesheets documents in XML languages, we
could document it in the future versions of Timesheets language.

Yours,

Petri Vuorimaa
Helsinki University of Technology

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

>> From the SMIL Timesheets spec. the examples show either embedding the
> timesheet in a document head or using existing link elements:
>
> <link href="timesheet.smil" rel="timesheet"
> type="application/smil+xml">
>
> For those XML document types that don't have link elements for this 
> purpose, is there a case for creating a processing instruction like 
> the one already used by stylesheets:
>
> <?xml-stylesheet href="mystyle.css" type="text/css"?>
>
> that would take the following form:
>
> <?xml-timesheet href="timesheet.smil" type="application/smil+xml"?>
>
> Having searched the spec and the www-smil mail archives I see no 
> examples of this already suggested.
>
>
>
> 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.
					

Philip Fennell | 27 Apr 2009 10:17
Picon
Picon
Favicon

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 <at> tkk.fi] 
Sent: 24 April 2009 15:18
To: Philip Fennell
Cc: www-smil <at> 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.
					

Takahiro Fujiwara | 30 Apr 2009 18:25
Picon

SMIL for Digital Signage

Hello all,

I am new to this Mailing list and new to SMIL.

 

An organization which I joined recently has been considering to implement a playlist for Digital Signage system (e.g. Mobile Signage).

I checked out that there are some playlist formats on http://en.wikipedia.org/wiki/Playlist

I think SMIL is one of big candidate for our use.

 

However I could not find our requirements as follows.

1.      Need a non time events.  Such as "when Bus stop arrived to 'B'.", "when GPS points to outside of Tokyo.", "beginning of the rain" – these events will be converted to signals.

2.      Priority e.g.
lowest priority = sequence of "video-a", "video-b", "video-c"
low priority:  City changed "video-city", Rain status "video-rain"
middle priority:  When time comes every o’clock, show "video-clock-commercial"
top priority:  Bus stop changed "video-arrive to the bus stop 'B'.

 

Please tell me how to do that.

Or tell me whether SMIL is suite for this purpose or not.

Your advice is highly appreciated.

 

Thanks in advance

Takahiro Fujiwara

========================================================================

 Takahiro Fujiwara, EAST Co., Ltd. Japan

 Tel: +81 90 7262 9883  Fax: +81 48 298 1723

 [RENEWAL!Schedule] http://tinyurl.com/fujiwat-calendar

------------------------------------------------------------------------

 ViceChair of NewsML1-WorkingParty

    IPTC (International Press Telecommunication Council)

 LiaisonOfficer of SteeringCommittee & XML Evangelist

    XML Consortium Japan

 Certification Creators of Crossmedia-Expert

    JAGAT (Japan Association of Graphic Arts Technology)

========================================================================

 


Gmane