This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] SWF file type for imagedata or videodata - Why not?


I just communicated the problem to Norm Walsh, the chair
of the DocBook Technical Committee.  He considers this
an oversight since we approved 'PDF' and have approved
other similar requests.  He is going to get it into
version 4.3 of the DTD.

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

On Thu, Oct 02, 2003 at 06:37:19PM -0700, David Pratt wrote:
> That's great Tara.  I'm not sure what is next. When does the committee
> meet to consider such matters. This request was back in May and its
> October. Is there a large list of matters ahead of this one or how does
> one determine the status.
> 
> Regards,
> Dave
> 
> -----Original Message-----
> From: Immell, Tara [mailto:Immell@SelkirkFinancial.com] 
> Sent: Thursday, October 02, 2003 2:26 PM
> To: 'Bob Stayton'
> Cc: 'docbook-apps@lists.oasis-open.org'
> Subject: RE: [docbook-apps] SWF file type for imagedata or videodata -
> Why not?
> 
> 
> I believe an RFE was filed in May. I know I've been waiting on it. Tara
> 
> From: SourceForge.net <noreply@so...> 
>  add 'SWF' format to imagedata/videodata   
> 2003-05-26 04:56  
>  DocBook RFEs item #697981, was opened at 2003-03-05 22:35  Message
> generated for change (Settings changed) made by xmldoc  You can respond
> by visiting: 
>  
> https://sourceforge.net/tracker/?func=detail&atid=384107&aid=697981&grou
> p_id
> =21935
>  
>  >Category: None
>  >Group: None
>  Status: Open
>  Resolution: None
>  Priority: 5
>  Submitted By: Andrew Alakozow (aa29)
>  >Assigned to: Nobody/Anonymous (nobody)
>  Summary: add 'SWF' format to imagedata/videodata
>  
>  Initial Comment:
>  'imagedata' (as well as 'videodata') element has 'format' 
>  attribute which is fixed enumeration. SWF is a standard  
>  extension for a "wide-spread" ShockWave Flash 
>  presentation files. Adding 'SWF' to format enumeration 
>  would allow including such media files in DocBook 
>  documens.
>  
>  ----------------------------------------------------------------------
> 
> From
> http://sourceforge.net/mailarchive/forum.php?thread_id=2438755&forum_id=
> 6940
> 
> 
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Bob Stayton [mailto:bobs@sco.com] 
> Sent: Wednesday, October 01, 2003 19:52
> To: David Pratt
> Cc: 'Docbook-Apps'
> Subject: Re: [docbook-apps] SWF file type for imagedata or videodata -
> Why not?
> 
> You can file an RFE on the SourceForge DocBook tracker to
> get it on the agenda of the DocBook Technical Committee.
> 
> 
> Bob Stayton                                 400 Encinal Street
> Publications Architect                      Santa Cruz, CA  95060
> Technical Publications                      voice: (831) 427-7796
> The SCO Group                               fax:   (831) 429-1887
>                                             email: bobs@sco.com
> 
> On Wed, Oct 01, 2003 at 07:04:28PM -0700, David Pratt wrote:
> > This is very helpful Bob.  Many thanks for your help.  I will work 
> > through your advice. Any reason why it couldn't be a permanent file 
> > type? It's a pretty popular format.
> > 
> > Regards
> > Dave
> > 
> > -----Original Message-----
> > From: Bob Stayton [mailto:bobs@sco.com]
> > Sent: Wednesday, October 01, 2003 3:42 PM
> > To: David Pratt
> > Cc: 'Docbook-Apps'
> > Subject: Re: [docbook-apps] SWF file type for imagedata or videodata -
> > Why not?
> > 
> > 
> > On Wed, Oct 01, 2003 at 04:12:53PM -0700, David Pratt wrote:
> > > I think I have asked something similar before but can't recall 
> > > getting
> > 
> > > reply.  The swf file type does not exist as a valid file type in
> > > either the imagedata or videodata elements.
> > > 
> > > I want to be able to store data of this file type within these
> > > elements. What is the rationale for this?
> > > 
> > > What is the work around to this so documents will validate with this
> > > extension? Must be someone else out there wanting to embed Flash 
> > > movies as well.
> > > 
> > > Thanks in advance for any replies.
> > 
> > For validation, you need to add to the list of notations supported by 
> > the DTD.  You can extend the list yourself in the internal subset of 
> > the DTD.  In your docbook file:
> > 
> > <!DOCTYPE book PUBLIC etc. [
> > <!ENTITY % local.notation.class "| SWF">
> > <!NOTATION SWF SYSTEM "SWF">
> > ]>
> > <book>
> > ..
> > 
> > In your imagedata or videodata element, add a
> > format attribute:
> > 
> > format="SWF"
> > 
> > Then you need to customize the stylesheet to update
> > the template named 'is.graphic.format' to accept
> > your format string:
> > 
> > xsl:template name="is.graphic.format">
> >   <xsl:param name="format"></xsl:param>
> >   <xsl:if test="$format = 'SVG'
> >                 or $format = 'PNG'
> >                 or $format = 'JPG'
> >                 or $format = 'JPEG'
> >                 or $format = 'linespecific'
> >                 or $format = 'GIF'
> >                 or $format = 'GIF87a'
> >                 or $format = 'GIF89a'
> >                 or $format = 'BMP'
> >                 or $format = 'SWF'">1</xsl:if> </xsl:template>
> > 
> > 
> > If you use videoobject, then the HTML output
> > will be <embed>.  If you use imageobject, then
> > the HTML output will be <img>.
> > 
> > I'm not sure what happens after that.   8^)
> > 
> > --
> > 
> > Bob Stayton                                 400 Encinal Street
> > Publications Architect                      Santa Cruz, CA  95060
> > Technical Publications                      voice: (831) 427-7796
> > The SCO Group                               fax:   (831) 429-1887
> >                                             email: bobs@sco.com
> > 
> > To unsubscribe from this list, send a post to 
> > docbook-apps-unsubscribe@lists.oasis-open.org.
> > 
> > 
> 
> -- 
> 
> Bob Stayton                                 400 Encinal Street
> Publications Architect                      Santa Cruz, CA  95060
> Technical Publications                      voice: (831) 427-7796
> The SCO Group                               fax:   (831) 429-1887
>                                             email: bobs@sco.com
> 
> To unsubscribe from this list, send a post to
> docbook-apps-unsubscribe@lists.oasis-open.org.
> 
> To unsubscribe from this list, send a post to
> docbook-apps-unsubscribe@lists.oasis-open.org.
> 
> 

-- 

Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The SCO Group                               fax:   (831) 429-1887
                                            email: bobs@sco.com

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]