Expiring media
From Wikanual
Contents |
Expiration
You can set an expiry date in INTERDUBS for files and logins / reels. Expired items are not visible on the client side any longer. They have a blue-gray background in their listings in the admin interface.
Files that will expire have an
hourglass after their name.
remove expiration
An expired file or login will have a blue background in the admin interface. You will also find the word [expired] and a link
that will let you un-expire the item.
In order to 'unexpire' file(s) or set a new expiration date select it/them and then select the
edit title. You will find the selection in the bottom.
In order to 'unexpire' a login / reel or set a new expiration date select the
edit login.
ways to specify no expiration
If you remove the text from the expiration field you can remove the expiration. Likewise you can specify it via the words never or none. The display of no expiration however is usually indicated by an empty expiration field.
remove expiration for multiple files
If you select files with the checkbox on the left side of the listing you can unexpire multiple files at once. You will need to enter none for the expiration in the text edit. Or simply use the
from the top menu.
remove expiration for all files
Should you like to remove the expiration for all your files then please get in touch. It can be done very easily on a database level.
default Expiration
The default media expiry is been set with the config variable Expiry default, it starts out as 60 days.
The default of 60 days does not imply that INTERDUBS only can store files for that long. It just seems to be a reasonable default. Please do adopt this default to the needs of your production.
If you like files to never expire simply make the value empty.
folder controlled expiration
You can also control the expiration date of files via Folder controlled expiration.
Expiration Format
You can set the time and day of media in various formats:
no expiration
To set no expiration in the following ways:
none
never
[empty text]
counted items
You can also specify the expiration by entering a time period:
days
XXX days
If you enter a number and the word days then interdubs will calulate the expirations in the future in XXX days.
weeks
XXX weeks
Similarly you can specify an expiration in XXX weeks
hours
XXX hours
even hours work.
months
XXX months
And so do months. Months are actually treated as 30 days. Please use the date option below if you like to specify an exact date in the future.
years
XXX years
years are based on 365 days
date
Expiration can also be set with a specific date. The following formats are possible when entering a date:
MONTH/DAY
If you have a single slash in your expiration specification then INTERDUBS will use the first number as the month and the next one as they day of the expiration. Should the date have passed this year already then it will be the date in the next year. Please use numbers for the month like 1,2, ... 12.
MONTH/DAY/YEAR
If you like to specify a year then you can do so as well. With this format you can also specify an expiration in that past. You can consider to hide media to get a similar effect though.
DAY.MONTH
Two numbers separated with a dot will be seen as the day in the western European format.
DAY.MONTH.YEAR
European date that works similar to the American one.
Incomplete internationalization
Entering absolute dates in INTERDUBS for expiration is unfortunately not completely internationalized.
Timezone
INTERDUBS will ignore the timezone that you have set for the display of expiration in the edit file screen.
Date Display
The date will be displayed in MONTH / DAY / YEAR format
Entering Times in PDT
When you enter absolute times so you have to keep in mind that INTERDUBS is treating these times as PDT.
Internationalization
See Internationalization for details on how INTERDUBS tries to manage this topic.
Clean up of expired files
It is very easy to archive and clean up expired files. See Expired_file_cleanup