[opencms-dev] cms:contentload - date created needed instead of datemodified
marcio.camurati
marcio.camurati.opencms at gmail.com
Mon May 19 15:23:48 CEST 2008
Hi,
You can add to your XSD file an element:
<xsd:element name="Data" type="OpenCmsDateTime" minOccurs="1" maxOccurs="1"
/>
And mapping it to the atribute date released:
<mapping element="Data" mapto="attribute:datereleased" />
Regards.
Marc Schlegel-2 wrote:
>
> You're right, the source showed up the collector
> allInFolderPriorityDateAsc
>
> The first attempt didn work and then I just tried to map the element to
> collector.date as well and it works. I didn't know about this property
> because it doesn't show up on the property-editor. I deleted the entries
> from collector.priority and it still worked, so now I am going to remove
> the mapping to that property...it should still work.
>
> Thanks a lot
> -- Marc
>
>> Despite it not being mentioned in the documentation it was in the source
>> last time I had a look at it.
>> If you want to work seriously with OpenCms you should download the source
>> and read it - I learned a lot
>> about OpenCms by doing that.
>> Of course it might since have been removed, but why would anybody bother
>> doing that ?
>>
>> Remember it orders the result according to the collector.priority and
>> collector.date properties, so you have to put some valid values there in
>> order to get them sorted.
>>
>> Did you attempt and succeed in getting the allInFolderPriorityDateDesc
>> collector ro work ?
>>
>> Cheers,
>>
>> Carl
>>
>>
>
> _______________________________________________
> 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
>
>
--
View this message in context: http://www.nabble.com/cms%3Acontentload---date-created-needed-instead-of-date-modified-tp17159014p17316691.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
More information about the opencms-dev
mailing list