HFS: Folder Archives: Difference between revisions

From rejetto wiki
Jump to navigation Jump to search
m (Reverted edits by 24.129.150.234 (Talk); changed back to last version by Rejetto)
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
: 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>.
: 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>.


; %item-archivable%
; %item-archive%
: 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>.
: valid in [folder] section. void unless 'Archivable' is set for the listed folder, then it expands to '''[item-archive]''', where you are supposed to put a link to <tt>%item-url%~folder.tar?recursive</tt>.


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

Latest revision as of 23:45, 12 July 2009

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-archive%
valid in [folder] section. void unless 'Archivable' is set for the listed folder, then it expands to [item-archive], 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.