[opencms-dev] Format of manifest.xml

M Butcher mbutcher at grcomputing.net
Tue May 11 19:20:02 CEST 2004


Dylan,

I was playing around with this file a few weeks ago, so I'll try to 
provide some answers.

Dylan Milks wrote:
> I'd like someone to give me I bit more explanation on all the fields in 
> the manifest.xml file. I'll list my specific questions next to the XML tags.
>  
> <source>system/login/index</source>
> <destination>system/login/index</destination>
>  
> - What is the difference between the 2 (source and destination)?

Source is the location from which the file was copied, destination is 
where it will be copied during import. Perhaps there is a way (using 
rewrite rules?) to make the two different... I don't know.

> 
> <type>plain</type> (Self explanatory)
> <user>Admin</user>
> <group>Administrators</group>
>  
> - Is <user> the owner? What would change by setting the user to someone 
> else?

Yes -- user and group ownership. Changing ownership would apply security 
settings (rwv) for that user.

> <access>591</access>
>  
> - What is this used for? What are all the possible values? What does 
> each value mean?

This is an int representation of the access rules (rwv for owner, group, 
users, visitors). I think there was a partial list in one of the source 
files... or maybe it's in opencms.properties.

> <lastmodified>1046214000000</lastmodified>
>  
> - What is the format? I can't seem to parse out the date.

Seconds since epoc (i.e. UNIX timestamp)? Looks like there are some 
spare zeros at the end, though. Maybe it's ms since epoc.

Hope that helps,

Matt



More information about the opencms-dev mailing list