Access Radiant through WebDAV
Ruby
Pull request Compare This branch is 27 commits ahead of willcodeforfoo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
lib/tasks
spec
vendor/railsdav
.gitignore
LICENSE
README.markdown
Rakefile
dav_extension.rb
dependency.yml

README.markdown

Radiant Dav

This extension allows you to access some Radiant content by pointing your WebDav client to /admin/dav. You'll have to authenticate yourself before access will be granted.

Dependencies

This extension needs the following gems installed:

  • unicode
  • mime-types

Privileges

It depends on your Radiant privileges what content will be exposed:

Users

  • Pages
  • Assets

Developers and administrators

  • Snippets
  • Layouts
  • Javascripts
  • Stylesheets

File extensions

Depending on the selected filter, the extension adds the following file extensions to the name:

  • .html for WymEditor filter or if no filter is selected
  • .markdown for Markdown filter
  • .textile for Textile filter

Radiant extensions

The Dav extension incorporates with the following Radiant extensions:

Styles 'n Scripts

If the Styles 'n Scripts extension is installed, the javascripts and stylesheets will also be accessible and the text asset cache will be cleared on writing a resource back.

Styles 'n Scripts Sass Filter

Sass file will be exposed with the .sass file extension, so your editor will recognize sass file editing.

Language Redirect

If a page type is set to LanguageRedirect, the configuration will be parsed and each language goes into its own language folder.

Paperclipped

Paperclipped assets can be uploaded, replaced, downloaded and deleted. Also page attachments will be showed in a separate assets folder within each page.

Multisite

Allows browsing of multiple sites and groups DAV resources by site.

Todo

Some tasks sill needs to be done:

  • Copy a resource
  • Move a resource
  • Make a collection

For development I suggest the RESTClient Firefox-Addon, which allows to send WebDav request and analyze the response.

Hint

Don't use Mac OS X Finder, it has an awful performance due its massive amount of unneeded requests. Use Cyberduck instead!

Acknowledge

This extension uses the excellent railsdav Rails plugin from Stuart Eccles.

Authors

Sponsors

Some work has been kindly sponsored by ScreenConcept.

License

This extension is released under the MIT license, see the LICENSE for more information.