[silva-dev] Publishing custom XML content

Yuri Smetsers mailinglists at twindesign.nl
Tue Aug 10 10:38:46 CEST 2004


Hi Benno,

 > If that means to create your own Silva content type, you might be 
interested in the Extending Silva HowTo I updated to this year's 
EuroPython conference.
I downloaded, installed and studied it, but I haven't figured out if 
whether useful for our purposes or not.
For example, our XML-structure is never the same, while your XML always 
uses the same elements at the same place.

Your XML:

    <eptalk>
      <eptspeaker>Benno Luthiger</eptspeaker>
      <epttitle>Extending Silva</epttitle>
      <eptabstract>Silva has plugin capability built in. This feature ...</eptabstract>
      <eptaudience>technical, advanced</eptaudience>
      <epttype>normal talk</epttype>
      <eptduration>60 Minutes</eptduration>
      <eptbio>The speaker has been ...</eptbio>
    </eptalk>

Our XML:

<BOEK>
<METAINFO/>
<ONDERDEEL>
<TITEL>Werken in het primair onderwijs</TITEL>
<OPENINGSFIGUUR><AFBEELDING BRON="Basisonderwijs316.tif"/></OPENINGSFIGUUR>
<INLEIDING>
<KOP NUMMER="1">Inleiding en verantwoording</KOP>
<INTRO>
<ALINEA>
<SUBALINEA>[some text]</SUBALINEA>
<SUBALINEA>[some text]</SUBALINEA>
</ALINEA>
</INTRO>
<ALINEA>
<SUBALINEA>[even more text]</SUBALINEA>
</ALINEA>
<ALINEA>
<SUBALINEA>
<OPSOMMING TYPE="NUMMER">
<ITEM>
<OPSOMALINEA>
<OPSOMSUBALINEA>
<VET>Onderwijsassistent in het primair onderwijs</VET>
</OPSOMSUBALINEA>
<OPSOMSUBALINEA>[text]</OPSOMSUBALINEA>
</OPSOMALINEA>
</ITEM>

... and so on ... quite a disaster. ;)

</BOEK>

Also, our documents will have to be imported into Silva, instead of 
being created (and/or edited).

Do you think this is still possible using your content type, or will 
things get too complicated?

Regards,
Yuri Smetsers

PS: I included the DTD we're using, in case you're interested. :)

Benno Luthiger wrote:

>Dear Yuri
>
>  
>
>>creating and/or
>>publishing our documents (XML) in SIlva (see attachment for example).
>>    
>>
>If that means to create your own Silva content type, you might be interested
>in the Extending Silva HowTo I updated to this year's EuroPython conference.
>It's valid for Silva 0.9.3 but in my experience it also holds for Silva 1.0.
>You can access this HowTo on
>http://www.infrae.com/products/silva/ExtendingSilva.stx/. You'll find there
>a tarball of the sample extension too.
>
>Regards,
>Benno
>
>
>  
>
>>-----Original Message-----
>>From: silva-dev-bounces at lists.infrae.com
>>[mailto:silva-dev-bounces at lists.infrae.com]On Behalf Of Yuri Smetsers
>>Sent: Freitag, 6. August 2004 11:39
>>To: silva-dev at lists.infrae.com
>>Subject: [silva-dev] Publishing custom XML content
>>
>>
>>Dear developers,
>>
>>Currently I'm doing some research for our next project:
>>creating and/or
>>publishing our documents (XML) in SIlva (see attachment for example).
>>I guess the best approach is to create our own XMLWidgets,  but
>>up-to-date documentation is hard to find.
>>
>>Is there an updated version of SilvaSampleContent (or something like
>>that) to get me started?
>>
>><spam> Btw, our site - built in Silva - is finished:
>>http://www.twindesign.nl </spam>
>>
>>Thanks in advance, and keep up the good work!
>>
>>Regards,
>>Yuri Smetsers
>>
>>
>>    
>>
>
>_______________________________________________
>silva-dev mailing list
>silva-dev at lists.infrae.com
>http://lists.infrae.com/mailman/listinfo/silva-dev
>  
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: concept_nijgh.dtd
Type: text/xml
Size: 11354 bytes
Desc: not available
Url : http://lists.infrae.com/pipermail/silva-dev/attachments/20040810/f374553b/attachment.bin 


More information about the silva-dev mailing list