- From: Michael Maretzke <michael@ibs.debis.de>
- Date: Wed, 18 Aug 1999 11:11:28 +0200
- To: "Raffaele Sena" <raff@nuvomedia.com>
- Cc: "Libwww" <www-lib@w3.org>
Hello Raffaele ! Nice to hear you again ! > In your specific case you may want to add the <EMBED> tag to > HTMLPDTD.c > and HTMLPDTD.h > (just put it in the right place :) This is my way by this time. I've not too much time to spend for this "problem". Your last sentence makes my head aching ... My way to go is this one: 1) I've entered this following line into file HTMLPDTD.c ... PRIVATE HTTag tags[HTML_ELEMENTS] ... { "EMBED" , embed_attr, HTML_EMBED_ATTRIBUTES, SGML_MIXED }, ... In alphabetical order ! 2) This definition is also placed in HTMLPDTD.c PRIVATE HTAttr embed_attr[HTML_EMBED_ATTRIBUTES+1] = { HTML_ATTR(EMBED,AUTOSTART), HTML_ATTR(EMBED,HEIGHT), HTML_ATTR(EMBED,HIDDEN), HTML_ATTR(EMBED,LOOP), HTML_ATTR(EMBED,SRC), HTML_ATTR(EMBED,WIDTH), HTML_ATTRIBUTES(EMBED) }; 3) I changed the definition in HTMLPDTD.h #define HTML_ENTITIES 68 from 67 to 68 4) I included this definition in HTMLPDTD.h /* ( EMBED - Netscape extension ) */ enum _HTML_EMBED_Attributes { HTML_ATTR(EMBED,AUTOSTART) = 0, HTML_ATTR(EMBED,HEIGHT), HTML_ATTR(EMBED,HIDDEN), HTML_ATTR(EMBED,LOOP), HTML_ATTR(EMBED,SRC), HTML_ATTR(EMBED,WIDTH), HTML_ATTRIBUTES(EMBED) }; After recompiling the complete library ... libwww didn't recognize the "EMBED"-tag [ snief ]. Personally looking at this aproach I think it's a little bit tooooooo easy. It seems that I've forgot a important detail ... Do you know it ? Sorry for asking such detailed questions, but there's a problem and there MUST be a solution ;) CU Michael. > > -- Raffaele > >
Received on Wednesday, 18 August 1999 05:12:47 UTC