JGU Downloadcenter – Plugin and Shortcode

Embed Folders of a Virtual Host like download.uni-mainz.de into your WordPress Blog.


We gladly activate this plugin for your blog on request. Please mention the title of your blog or your blog address in your request. Thank you.

Shortcode

[downloadcenter virtualhost="virtualhost.der.uni-mainz.de" pfad="Folder"]

Example:

in the Virtual Host download.uni-mainz.de there is a folder example that you would like to show in your page:

[downloadcenter virtualhost="download.uni-mainz.de" pfad="example"

Usage

Required Parameters:

You need both Virtual Host and Path to use the Plugin

Optional Parameters:

ordnernamenanzeigen:
The default is do show the folder name. You hide the folder name with the parameter:  ordnernamenanzeigen="NEIN"

[downloadcenter virtualhost="www.xyz.uni-mainz.de" pfad="folder/subfolder" ordnernamenanzeigen="NEIN"]

sortierung:
You like to sort the folder list alphabetically? Add  sortierung="alphabetisch" as a shortcode parameter.

[downloadcenter virtualhost="www.xyz.uni-mainz.de" pfad="folder" sortierung="alphabetisch"]

Keep an eye to the content. Is it ok to publish all files in the folder?
When in doubt, we recommend using our Authentication methods at least for this page. JGU Auth: Visibility / Intranet settings
Remember: you are responsible for all copyright concerns of the data you are publishing!

Get the files in the Downloadcenter

Connect the Folder of the Virtual Hosts as a drive, or use ftp. All changes are in effect immediately. There are some more information in german only, check this page in german for further information.

Example Downloadcenter

it is not possible to open the folder directly on the Webserver:

http://download.uni-mainz.de/beispiel/

gets an "access denied/Zugriff verweigert" (Automatic listing is by default set to "off")

But if you know the path, you can use it:

http://download.uni-mainz.de/beispiel/hallo.txt

The subfolder is accessible, if you have an account:

http://download.uni-mainz.de/beispiel/intern

Again, knowing the path lets you access files without further ado:

http://download.uni-mainz.de/beispiel/intern/hallo.txt

but much more convenient is the download-shortcode:

[downloadcenter virtualhost="download.uni-mainz.de" pfad="beispiel/intern"]

This embeds the listing in your page:

[downloadcenter virtualhost="download.uni-mainz.de" pfad="beispiel/intern"]