Hello together,<br><br>here is the export-rule "resourceonly" setting for CmsAfterPublishStaticExport handler to export only a single resource (works with OpenCms 7.0.5):<br><br>change the exporthandler from CmsOnDemandStaticExportHandler to CmsAfterPublishStaticExport in opencms-importexport.xml and put the export rule there;<br><br><staticexporthandler>org.opencms.staticexport.CmsAfterPublishStaticExportHandler</staticexporthandler><br><br><resourcestorender><br>                <regex>/sites/de.pomegranate.master/.*</regex><br>                <regex>/system/workplace/commons/style/.*</regex><br>                <regex>/system/galleries/.*</regex><br>                <export-rules><br>                <export-rule><br>                               <name>resourceonly</name><br>                               <description>Avoids the full static export if only matching resources are published</description><br>                               <modified-resources><br>                               <regex>.*</regex><br>                               </modified-resources><br>                               <export-resources><br>                               <uri>-</uri><br>                               </export-resources><br>                </export-rule><br>        </export-rules><br>       </resourcestorender><br></rendersettings><br><br>http://www.pomegranate.de:9000/cms/forum/viewthread?thread=167<br><br>Best Regards,<br>Arash<br><br><br><br><br>On 27.04.2009 03:13 Tim Daschner <timd@thedoleco.com> wrote<br></timd@thedoleco.com><p></p><blockquote><br>Thank you Mathias and Christian,
<br>
<br>I found this link and will be studying this over the next couple weeks to
<br>see if it fits my need. Thanks again.
<br>
<br>http://mail.opencms.org/pipermail/opencms-dev/2005q4/021164.html
<br>
<br>
<br>-----Original Message-----
<br>From: opencms-dev-bounces@opencms.org
<br>[mailto:opencms-dev-bounces@opencms.org] On Behalf Of Mathias Lin |
<br>SYSVISION
<br>Sent: Sunday, April 26, 2009 6:12 AM
<br>To: opencms-dev@opencms.org
<br>Subject: Re: [opencms-dev] anyway to do an incremental static export?
<br>
<br>
<br>Hi Tim,
<br>
<br>the static export can be configured in opencms-importexport.xml, look for
<br>tag 'staticexporthandler';but I don't have the setting at hand for your
<br>requirement. You can also search the mailing list for 'staticexporthandler',
<br>I think similar question has been asked before.
<br>
<br>But usually this incremental static export is done automatically, whenever a
<br>new resource is being published. So actually if you need incremental static
<br>export, it's already done automatically, you don't need to trigger it
<br>manually.  Or what is your specific case?
<br>
<br>Mathias
<br>
<br>
<br>Tim Daschner wrote:
<br>> 
<br>> Does static export always have to be a full blown static export as of
<br>> 7.0.5?
<br>> It is only a minor inconvenience and am still learning the product and
<br>> hence
<br>> the question. Is there any way to do incremental static exports?
<br>> 
<br>
<br>
<br>-----
<br>Mathias Lin
<br>SYSVISION Ltd., China
<br>http://www.sysvision.com
<br>-- 
<br>View this message in context:
<br>http://www.nabble.com/anyway-to-do-an-incremental-static-export--tp23238705p
<br>23241207.html
<br>Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
<br>
<br>
<br>_______________________________________________
<br>This mail is sent to you from the opencms-dev mailing list
<br>To change your list options, or to unsubscribe from the list, please visit
<br>http://lists.opencms.org/mailman/listinfo/opencms-dev
<br>
<br>
<br>_______________________________________________
<br>This mail is sent to you from the opencms-dev mailing list
<br>To change your list options, or to unsubscribe from the list, please visit
<br>http://lists.opencms.org/mailman/listinfo/opencms-dev
<br></blockquote><p></p>