Re: Publishing custom XML content

Yuri Smetsers <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
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-IAPFreCvJWM6s/[email protected]
>>[mailto:silva-dev-bounces-IAPFreCvJWM6s/[email protected]]On Behalf Of Yuri Smetsers
>>Sent: Freitag, 6. August 2004 11:39
>>To: silva-dev-IAPFreCvJWM6s/[email protected]
>>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-IAPFreCvJWM6s/[email protected]
>http://lists.infrae.com/mailman/listinfo/silva-dev
>  
>

_______________________________________________
silva-dev mailing list
silva-dev-IAPFreCvJWM6s/[email protected]
http://lists.infrae.com/mailman/listinfo/silva-dev
concept_nijgh.dtd (text/xml, 11.1 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.