[opencms-dev] Static Export - export resources not exported if single files (OpenCms 7.0.3)

Andrea Puddu andrea.puddu at tiscali.it
Wed Jan 30 10:13:28 CET 2008


Chauhan, Amit ha scritto:
> Andrea,
> Can you check following things for me:
> 1. Is the template or template-elements property set for the html files?
>   
Yes it is.The template property is set properly
> 2. What happens if you put folder in the <uri> tag:
>  	<uri>/sites/business/</uri>
>   
As I said before (see below the previous email) I can confirm that if I 
have a folder in the <uri> tag (instead of a single file) every resource 
in the folder will be exported as expected (and ricorsively the sub-tree).
> 3. If you left click on the html file, it should open the preview window. Are you able to preview the html file within CMS?
>   
Yes I am. I can see the preview
> 4. Check if the html files are not marked as "internal use only" from Right click submenu -> Advanced -> Secure/Export option.
>   
As I said before (see below) the export property is inherited as 'true' 
from /sites/business/ (i.e. parent folder). No mark on the internal use 
only check box.


Thank you very much for your attention. I suggest (if you can spend 10 
minutes for this) that you make the same config on 
opencms-importexport.xml as mine and check if your ocms is able to 
static export single files as defined in your export-rule in the 
<export-resources> tag.

> Thanks
> Amit Chauhan
>
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Andrea Puddu
> Sent: Tuesday, January 29, 2008 6:34 AM
> To: The OpenCms mailing list
> Subject: Re: [opencms-dev] Static Export - export resources not exported if 'single' files (OpenCms 7.0.3)
>
> Yes I did.
> I set it on /sites/business/ folder. So every resources down in the 
> subtree inherits the property as 'true'.
>
> It seems that the export works for folders only. If I have a single file 
> inside the <uri> tag (see below) it won't be exported.
>
> Thanks for your contribute anyway.
> /A
>
> Nick Panienski ha scritto:
>   
>> Hi Andrea,
>>
>> just a quick thought: did you specify the export=true property somewhere (also works with inheritance) on your resources?
>>
>> Regards
>> Nick
>>
>> --
>> Mit freundlichen Grüßen
>> Nick Panienski
>> IT Consultant
>>
>> codecentric GmbH
>> Grünewalder Str. 29-31
>> 42657 Solingen
>>
>> Telefon  +49 (212)  24 94 330
>> Fax      +49 (212)  24 94 334
>> Mobil    +49 (151) 167 06 496
>> eMail    panienski at codecentric.de
>> Internet http://www.codecentric.de
>>
>> Geschäftsführer: Peter Gierse, Mirko Novakovic und Rainer Vehns Sitz der Gesellschaft: Solingen
>> Registergericht: Amtsgericht Wuppertal, HRB 19214 
>>
>>   
>>     
>>> -----Ursprüngliche Nachricht-----
>>> Von: opencms-dev-bounces at opencms.org 
>>> [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Andrea Puddu
>>> Gesendet: Dienstag, 29. Januar 2008 12:34
>>> An: opencms-dev at opencms.org
>>> Betreff: [opencms-dev] Static Export - export resources not 
>>> exported if 'single' files (OpenCms 7.0.3)
>>>
>>> Hi everyone,
>>> I'm experiencing some troubles during the static export .
>>>
>>> Having the configuration of opencms-importexport.xml as 
>>> "CmsAfterPublishStaticExport"
>>> and several export-rules defined as follows, I would expect 
>>> that when I publish a "resource":
>>>
>>> 1) 'resource' will be published (and exported) and
>>> 2) will be published the <export-resources> too.
>>>
>>> Unfortunately, the step 2. doesn't happens
>>>
>>> <export-resources>
>>>      <uri>/sites/business/rss_auto.html</uri>
>>>      <uri>/sites/business/index.html</uri>
>>> </export-resources>
>>>
>>> Neither /sites/business/index.html nor
>>>  /sites/business/rss_auto.html
>>> have been exported.
>>>
>>> If I have:
>>> <export-resources>
>>>     <uri>/sites/business/myfolder/</uri>
>>> </export-resources>
>>>
>>> Every resource inside myfolder is actually exported as expected.
>>>
>>> Is anyone experiencing the same behaviour? Do you think this 
>>> may be a bug?
>>>
>>> Thanks for your attention!
>>> /A
>>>
>>>
>>> _______________________________________________
>>> This mail is sent to you from the opencms-dev mailing list To 
>>> change your list options, or to unsubscribe from the list, 
>>> please visit http://lists.opencms.org/mailman/listinfo/opencms-dev
>>>
>>>     
>>>       
>>   
>>     
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>   



More information about the opencms-dev mailing list