<?xml version='1.0' encoding='UTF-8'?>
<!-- This document was created with Syntext Serna Free. -->
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % BOOK_ENTITIES SYSTEM "../../User_Guide.ent">
%BOOK_ENTITIES;
]>
<section id="sect-User_Guide-Manage_Site_Content_with_WebDAV">
 <title>Manage Content with WebDAV</title>
  <section id="sect-User_Guide-Manage_Site_Content_with_WebDAV-What_is_WebDAV">
    <title>What is WebDAV?</title>
    <para>
   <emphasis>WebDAV</emphasis> is an abbreviation of <emphasis role="bold">Web</emphasis>-based <emphasis role="bold">D</emphasis>istributed <emphasis role="bold">A</emphasis>uthoring and <emphasis role="bold">V</emphasis>ersioning. It is used to publish and manage files and directories on a remote server. It also enables  users to perform these functions on a website.
  </para>
    <para>
   WebDAV provides the following features:
  </para>
    <variablelist>
      <varlistentry>
        <term>Locking</term>
        <listitem>
          <para>
      This feature prevents two or more collaborators from overwriting shared files.
     </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Site Manipulation</term>
        <listitem>
          <para>
      WebDAV supports the <emphasis>copy</emphasis> and <emphasis>move</emphasis> actions and the creation of <emphasis>collections</emphasis> (file system directories).
     </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>Name space management</term>
        <listitem>
          <para>
      This function enables copying and moving web pages within a server&apos;s namespace.
     </para>
        </listitem>
      </varlistentry>
    </variablelist>
  </section>
  <section id="sect-User_Guide-Manage_Site_Content_with_WebDAV-Why_use_WebDAV">
    <title>Why use WebDAV?</title>
    <para>
   With WebDAV, you can manage content efficiently. You can:
  </para>
    <itemizedlist>
      <listitem>
        <para>
     Copy/paste content on your device and have those changes reflected in a host-based website.
    </para>
      </listitem>
      <listitem>
        <para>
     Easily and quickly manipulate actions on a website without having to access it directly. Files can be accessed from anywhere and are treated as if they were in local directories.
    </para>
      </listitem>
      <listitem>
        <para>
     Easily and quickly upload content to a website simply by copying it into the appropriate directory.
    </para>
      </listitem>
    </itemizedlist>
  </section>
  <section id="sect-User_Guide-Manage_Site_Content_with_WebDAV-How_to_Use_WebDAV_With_eXo_Content">
    <title>How to Use WebDAV With &PRODUCT;</title>
    <para>To use WebDAV with
   &PRODUCT;,  you first need to have an active network connection. Next, you can follow one of the two following ways:</para>
    <procedure id="proc-User_Guide-How_to_Use_WebDAV_With_eXo_Content-Method_One">
      <title>Method One: WebDAV server</title>
      <para>This procedure uses Windows XP as an example. Please modify the following steps to suit your operating environment:</para>
      <step>
        <para>
     Navigate to <menuchoice><guimenu>My Network Places</guimenu></menuchoice> on your local computer. You will see all shared files and folders:
    </para>
        <mediaobject>
          <imageobject role="html">
            <imagedata  align="center"  fileref="images/mynetworkplaces.png" format="PNG"/>
          </imageobject>
          <imageobject role="fo">
            <imagedata   align="center" fileref="images/mynetworkplaces.png" format="PNG" width="150mm"/>
          </imageobject>
        </mediaobject>
      </step>
      <step>
        <para>
     Click the <guilabel>Add a network place</guilabel> link on the left to open the <guilabel>Add Network Place Wizard</guilabel>:
    </para>
        <mediaobject>
          <imageobject role="html">
            <imagedata  align="center"  fileref="images/networkplacewizard.png" format="PNG"/>
          </imageobject>
          <imageobject role="fo">
            <imagedata   align="center" fileref="images/networkplacewizard.png" format="PNG" width="149mm"/>
          </imageobject>
        </mediaobject>
      </step>
      <step>
        <para>
     Click <guilabel>Next</guilabel> to choose a network location:
    </para>
        <mediaobject>
          <imageobject role="html">
            <imagedata  align="center"  fileref="images/networkplacelocation.png" format="PNG"/>
          </imageobject>
          <imageobject role="fo">
            <imagedata   align="center" fileref="images/networkplacelocation.png" format="PNG" width="144mm"/>
          </imageobject>
        </mediaobject>
      </step>
      <step>
        <para>
     Select <guilabel>Choose another network location</guilabel> to create a shortcut.
    </para>
      </step>
      <step>
        <para>
     Enter an address into the <guilabel>Internet or network address</guilabel> field. For example, the address of the demonstration site <emphasis>Acme</emphasis> is <ulink type="http" url="http://localhost:8080/portal/rest/private/jcr/repository/collaboration/sites/content/live/acme"></ulink>.
    </para>
      </step>
      <step>
        <para>
     Click <guilabel>Next</guilabel>. After a few moments,  a folder named <filename>acme on localhost</filename> appears in the <menuchoice><guimenu>My Network Places</guimenu></menuchoice> directory.
    </para>
        <mediaobject>
          <imageobject role="html">
            <imagedata  align="center"  fileref="images/newnetworklocation.png" format="PNG"/>
          </imageobject>
          <imageobject role="fo">
            <imagedata   align="center" fileref="images/newnetworklocation.png" format="PNG" width="150mm"/>
          </imageobject>
        </mediaobject>
        <para>
     Each site  managed by WebDAV appears as a folder in this location.
    </para>
      </step>
      <step>
        <para>
     You can take actions on the content in this folder to administrate the site content remotely.
    </para>
      </step>
    </procedure>
    <procedure id="proc-User_Guide-How_to_Use_WebDAV_With_eXo_Content-Method_Two">
      <title>Method Two: Sites Management</title>
      <para>This method can be done using the <emphasis>Sites Management</emphasis> functionality of &PRODUCT;:</para>
      <step>
        <para>
     Navigate to <ulink url="http://localhost:8080/portal" type="http"/> in your web browser.
    </para>
      </step>
      <step>
        <para>
     Click <menuchoice>
        <guimenu>Group</guimenu>
        <guimenuitem>Content Explorer</guimenuitem>
     </menuchoice> in the administration bar.
    </para>
      </step>
      <step>
        <para>
     Click the <guilabel>Drives</guilabel> button then select <guilabel>Sites Management</guilabel>.
    </para>
        <mediaobject>
          <imageobject role="html">
            <imagedata  align="center"  fileref="images/sitesmanagementdrive.png" format="PNG"/>
          </imageobject>
          <imageobject role="fo">
            <imagedata   align="center" fileref="images/sitesmanagementdrive.png" format="PNG" width="150mm"/>
          </imageobject>
        </mediaobject>
        <para>
     You will see all sites listed in the left sidebar:
    </para>
        <mediaobject>
          <imageobject role="html">
            <imagedata align="center"  fileref="images/sitesleftpane.png" format="PNG"/>
          </imageobject>
          <imageobject role="fo">
            <imagedata  align="center" fileref="images/sitesleftpane.png" format="PNG" width="64mm"/>
          </imageobject>
        </mediaobject>
      </step>
      <step>
        <para>
     Right-click the site you want to view with WebDAV and select the <guilabel>Download and Allow Edition</guilabel> item in the menu.
    </para>
        <mediaobject>
          <imageobject role="html">
            <imagedata  align="center"  fileref="images/alloweditionmenu.png" format="PNG"/>
          </imageobject>
          <imageobject role="fo">
            <imagedata   align="center" fileref="images/alloweditionmenu.png" format="PNG" width="150mm"/>
          </imageobject>
        </mediaobject>
        <para>
     The selected site will be shown in WebDAV:
    </para>
        <mediaobject>
          <imageobject role="html">
            <imagedata  align="center"  fileref="images/webdavsiteview.png" format="PNG"/>
          </imageobject>
          <imageobject role="fo">
            <imagedata   align="center" fileref="images/webdavsiteview.png" format="PNG" width="150mm"/>
          </imageobject>
        </mediaobject>
        <para>
     In this view, you can access documents in the directories that are linked to the web server.
    </para>
      </step>
    </procedure>
  </section>

  <section id="sect-User_Guide-Manage_Site_Content_with_WebDAV-Actions">
    <title>Actions</title>
    <para>
   You see all the default folders of a site when accessing it via WebDAV. Manipulating their content through WebDAV is the same as working on it in local folders.
  </para>
    <para>
   This allows you to copy or paste files, list folders, rename, and more in system directories.
  </para>
    <section id="sect-User_Guide-Actions-Add_new_content_to_a_specific_site">
      <title>Add new content to a specific site</title>
      <para>
    This function enables you to copy web content (such as <filename>.html</filename> files) from your local computer to a web content folder of a site.
   </para>
      <procedure>
        <step>
          <para>
      Access a site via WebDAV (refer to <xref linkend="sect-User_Guide-Manage_Site_Content_with_WebDAV-How_to_Use_WebDAV_With_eXo_Content"/>), then go to a web content folder within the site.
     </para>
        </step>
        <step>
          <para>
      Copy the web content on your local system into this folder.
     </para>
          <para>
      The copied file will be converted to web content that is viewable by WebDAV automatically. The content is converted to a directory containing <emphasis>CSS</emphasis>, <emphasis>documents</emphasis>, <emphasis>js</emphasis> and <emphasis>media</emphasis>.
     </para>
        </step>
      </procedure>
      <para>
    After new content is added, it can be viewed as a folder in WebDAV or as page content using a web browser.
   </para>
    </section>
    <section id="sect-User_Guide-Actions-Delete_a_web_content">
      <title>Delete a web content</title>
      <para>
    This function enables site administrators to delete web content files separately or in batches.
   </para>
      <procedure>
        <title/>
        <step>
          <para>
      Navigate to the folder that contains the content you want to remove.
     </para>
        </step>
        <step>
          <para>
      Right-click the content files or directories (hold the <keycombo><keycap>Ctrl</keycap></keycombo> key to select multiple files at once) and select <guilabel>Delete</guilabel> from the context menu.
     </para>
          <mediaobject>
            <imageobject role="html">
              <imagedata align="center"  fileref="images/webdavcontextdelete.png" format="PNG"/>
            </imageobject>
            <imageobject role="fo">
              <imagedata  align="center" fileref="images/webdavcontextdelete.png" format="PNG" width="76mm"/>
            </imageobject>
          </mediaobject>
          <para>
      The selected file(s) will be removed from the site.
     </para>
        </step>
      </procedure>
    </section>
  </section>
</section>
