HFS: Folder Archives: Difference between revisions

From rejetto wiki
Jump to navigation Jump to search
No edit summary
Line 17: Line 17:
==Archive Support In Templates==
==Archive Support In Templates==


'''[archive]''' = '''%archive%''', void unless 'Archivable' is set for enabled folder. Creates a link within Archive Enabled folder.
; %archive%
: void unless 'Archivable' is set for the folder you are browsing, then it expands to '''[archive]''', where you are supposed to put a link to <tt>~folder.tar?recursive</tt>.


URL required in template, '''%folder%~folder.tar?recursive'''
; %item-archivable%
 
: valid in [folder] section. void unless 'Archivable' is set for the listed folder, then it expands to '''[item-archivable]''', where you are supposed to put a link to <tt>%item-url%~folder.tar?recursive</tt>.
'''[item-archivable]''' = '''%item-archivable%''', void unless 'Archivable' is set for enabled folder. Creates a link in the filelist for archiving the folder in the parent directory.
 
URL required in template, '''%item-url%~folder.tar?recursive'''


'''Notes --'''
'''Notes --'''
* '''?recursive''' is optional, only functional if 'Recusive Listing' is enabled.
* '''?recursive''' is optional, only functional if 'Recusive Listing' is enabled.

Revision as of 14:49, 15 September 2007

Folder Archives are used to download an entire folder as an archive. An archive is a single file containing many files and folders.

Generally speaking, archives may come in several formats. HFS offers at the moment only the .tar format. It is supported by most archive software. Folder archives do not offer any compression for the downloaded files, instead they only offer the ability to download the entire folder in one click compared to many.

To manually archive download a folder. Add ?folder.tar to the URL when inside the folder.

Enable/Disable Folder Archives

  • Check that you are in expert mode, If not switch to expert mode.
  • Right Click On Folder → Archivable

Notes --

  • Folder Archives are enabled by default for the root folder.
  • You Must be in expert mode to enable/disable Folder Archives.
  • The tick next to Archivable means that it is enabled.

Archive Support In Templates

%archive%
void unless 'Archivable' is set for the folder you are browsing, then it expands to [archive], where you are supposed to put a link to ~folder.tar?recursive.
%item-archivable%
valid in [folder] section. void unless 'Archivable' is set for the listed folder, then it expands to [item-archivable], where you are supposed to put a link to %item-url%~folder.tar?recursive.

Notes --

  • ?recursive is optional, only functional if 'Recusive Listing' is enabled.