Re: Import XHTML/media content into Lenya 2.0.3

florent andré <[email protected]>
Newsgroups gmane.comp.cms.lenya.user
Message-ID <[email protected]>
Hi Petteri,

I have created a LenyaDocWritingTransformer. Here you find some code [1].

This transformer work as a similar way than 
http://cocoon.apache.org/2.1/userdocs/sourcewriting-transformer.html .

So, this is non intrusive and can be automatized, in your case something 
like that :
- match
- directory generator
- include document into a LenyaDocTransformer template
- tranform
- it's in your publication !! :)

Transformer's code is not really finalized for now some improvements and 
features have to be implement, but it's work (I used it daily)...

Don't have much time now, but if you are interesting in, let me know !

Have a good sunny day !
++



[1] :http://svn.4sengines.eu/modcontrib/lenyaDocWriting/branches/10.01/

Petteri Sulonen wrote:
> Hi --
> 
> I've got an old Cocoon-based site running on a rudimentary publication
> framework I made myself. The content is XHTML Strict plus pictures
> (.jpg, .gif, and .png). It's stored in a directory tree that matches
> the sitetree's structure. IOW, it should be relatively simple to move
> it over to Lenya 2.0.3... in theory.
> 
> However, since there are over 1000 files, it wouldn't be a lot of fun
> to do manually. I checked the Wiki page on importing content [
> http://wiki.apache.org/lenya/HowToContentImport ], but it looks like
> it's about Lenya 1.x -- at least the structure of the content
> directory doesn't match what I see in the publications I've previously
> created in Lenya 2.
> 
> Is there a (relatively) simple way to migrate stuff to Lenya 2 in the
> same way the Wiki page describes? (Or is the Wiki page, in fact, about
> Lenya 2, and I'm just misinterpreting it?)
> 
> TIA, Petteri
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
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.