Re: ResourceFilePublisher

Christian Egli <[email protected]> 19 Mar 2003 17:03:02 +0100
Newsgroups gmane.comp.cms.wyona.devel
Message-ID <[email protected]>
"Andreas Hartmann" <[email protected]> writes:

> How do you think about not deriving from DefaultFilePublisher but create an
> independent class ResourcePublisher? That would allow to combine a
> "specialized" Publisher with the ResourcePublisher:
> 
>    <task id="publish">
>      <label>Publish</label>
>      <task id="publish" class="org.lenya.cms.publishing.MyFilePublisher"/>
>      <task id="publish-resources"
> class="org.lenya.cms.publishing.ResourcePublisher"/>
>      <task id="export" class="org.lenya.cms.publishing.StaticHTMLExporter"/>
>    </task>

Hmm, yes that might be a good idea. I don't know if the code would be
any simpler though. Too bad I wasn't aware of this beforehand. 

-- 
Christian Egli       [email protected]   +41 1 272 9161
                     Wyona AG, Hardstrasse 219, CH-8005 Zurich
Open Source CMS      http://www.wyona.org http://www.wyona.com