View Full Version : IsiloXC set dynamic expiration date
nikolajhendel
12-01-2005, 02:36 AM
Hi
As far as I can read from the documentation, expiration date is a set date in the .ixl file.
Would it be possible to add a feature that generates the expiration date, depending on the rip date, fx by having extra parameters in the expiration tag?
So if I wanted to have an expiration data 30 days from rip/creation date:
<Expiration>
<Expires value="yes"/>
<Date value=""/>
<AddDay value="30"/>
<AddMonth value=""/>
<AddYear value=""/>
</Expiration>
Regards
Nick
iSilo
12-01-2005, 08:23 AM
We moved your message to the Requests and Suggestions (http://forum.isilo.com/announcement.php?f=33) sub-forum.
nikolajhendel
12-12-2006, 05:12 AM
I know this is a breach of conduct - but I just wanted to hear if this feature is considered.
We are using isiloxc in a production environment where we need to set a 3 month deadline on data that is generated every 14 days.
This means that I have to make 26 different ixl files with different expire dates.
The real problem occurs when we make changes to the site - then I have to make changes in all ixl files.
TIA
Nick
iSilo
12-12-2006, 11:37 AM
The feature is of course under consideration. But as a suggestion, you can automate the generation of the .ixl files.
nikolajhendel
12-13-2006, 02:34 AM
Hi
I'm not really following. I see no build in "ixl generate" feature in isiloxc that allows me to parse an ixl file with variable expiry dates.
Is the idea to find a tool that changes data in the ixl file before isiloxc is run ?
Hope you have time to elaborate
Nikolaj Hendel
iSilo
12-13-2006, 08:10 AM
The .ixl file is a text file and so it seems that you can write a script on your system that iterates over the possible expiration dates and writes out a new .ixl file with the proper expiration date. The script would not involve any calls to iSiloXC. In other words, instead of you having to use a text editor to manually modify all 26 .ixl files that you have, you have a script that automatically generates them based on whatever parameters you need. The script would not need to parse any .ixl files, it would simply write out whole new .ixl files.
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.