sara-nl/js-webdav-client

Name: js-webdav-client

Owner: SURFsara

Description: A low-level webDAV client library written in/for JavaScript

Created: 2012-09-11 13:50:18.0

Updated: 2017-10-14 06:11:31.0

Pushed: 2017-11-28 17:06:05.0

Homepage: null

Size: 489

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

A webDAV client library

This is the repository for a general webDAV client library, written in JavaScript. The main purpose is to support the built-in client for BeeHub. However, we attempt to make it follow the webDAV RFC 4918 and any contributions that help implement features of this and other webDAV standards are welcome.

API reference can be found here: http://sara-nl.github.com/js-webdav-client/

Directory structure
Development

If you want to develop on the library code itself, you'll want to link to the source files from within your HTML page. You should add all needed files manually to the header with the default script tag. For example:

ipt type="text/javascript" src="/library_path/src/000_header.js"></script>

Make sure you link the source files in the same order as the Makefile will:

This way, the basic library will be linked before the plugins are loaded

Using the library in another script

To use the library from other scripts, create a single file containing the complete library:

 dist.js

Copy it to your webservers public folder and rename it for convenience:

ist.js /path_to_public_folder/webdavlib.js

Then link this file in your HTML file before your own scripts are linked.

ipt type="text/javascript" src="/webdavlib.js"></script>

Of course you are free to rename the dist.js file any way you like and place it anywhere in your public folder. As long as you change the script tag correspondingly.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.