<?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>
  <citetitle>
    <para xml:id="sect-User_Guide-Manage_Site_Content_with_WebDAV-What_is_WebDAV"><emphasis role="bold">What is WebDAV?</emphasis></para>
    </citetitle>
    <para>
   <emphasis role="bold">WebDAV</emphasis> is an abbreviation of <emphasis role="bold">Web-based Distributed Authoring</emphasis> and <emphasis role="bold">Versioning.</emphasis> 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 "copy" and "move" 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 webpages within a server&apos;s namespace.
     </para>
        </listitem>
      </varlistentry>
    </variablelist>
  <citetitle>
     <para xml:id="sect-User_Guide-Manage_Site_Content_with_WebDAV-Why_use_WebDAV"><emphasis role="bold">Why use WebDAV?</emphasis></para>
  </citetitle>
    <para>
   With WebDAV, you can manage content efficiently with the following actions:
  </para>
    <itemizedlist>
      <listitem>
        <para>
     Copy/paste content on your device and have those changes reflected in a host-based website.
    </para>
      </listitem>
      <listitem>
        <para>
     Manipulate actions on a website easily, quickly and flexibly without accessing it directly with web-browsers. Files can be accessed from anywhere and are stored as 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 id="sect-User_Guide-Manage_Site_Content_with_WebDAV-How_to_Use_WebDAV_With_eXo_Content">
    <title>Use WebDAV in &PRODUCT;</title>
    <para>To use WebDAV in
   &PRODUCT;, you first need to have the Internet or Intranet connected. Next, you can follow one of the two following ways:</para>
   
   <para xml:id="proc-User_Guide-How_to_Use_WebDAV_With_eXo_Content-Method_One"><emphasis role="bold">The first way</emphasis></para>
    <procedure>
      <para>You need to connect to the WebDAV server. For example, for Windows XP, do the following steps:</para>
      <step>
        <para>
     Navigate to the <emphasis role="bold">My Network Places</emphasis> on your local device. 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 <emphasis role="bold">Add a network place</emphasis> link on the left to open the <emphasis role="bold">Add Network Place Wizard.</emphasis>
    </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 <emphasis role="bold">Next</emphasis> to select 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 <emphasis role="bold">Choose another network location</emphasis> to create a shortcut.
    </para>
      </step>
      <step>
        <para>
     Enter an address into the <emphasis role="bold">Internet or network address</emphasis> field.
    </para>
          <para>For example, the address of the demonstration site <emphasis>Acme</emphasis> is <code>http://mycompany.com:8080/portal/rest/private/jcr/repository/collaboration/sites/content/live/acme.</code></para>
      </step>
      <step>
        <para>
     Click <emphasis role="bold">Next.</emphasis> After a few seconds,  a folder named <emphasis role="bold">acme on localhost</emphasis> appears in the <emphasis role="bold">My Network Places</emphasis> 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>
     Take actions on the content in this folder to administrate the site content remotely.
    </para>
      </step>
    </procedure>
	<para xml:id="proc-User_Guide-How_to_Use_WebDAV_With_eXo_Content-Method_Two"><emphasis role="bold">The second way</emphasis></para>
    <procedure>
      <para>This way can be done through <emphasis role="bold">Sites Management.</emphasis></para>
      <step>
			<para>
				Hover your cursor over
        <inlinemediaobject>
            <imageobject>
              <imagedata fileref="images/sawtooth_icon.png" format="PNG" scalefit="1" width="4mm"/>
            </imageobject>
          </inlinemediaobject> on the <emphasis role="bold">Administration</emphasis> bar, then select <emphasis role="bold"> Content --> Sites Explorer </emphasis> from the drop-down menu.
			</para>
      </step>
      <step>
        <para>
     Click the <emphasis role="bold">Drives</emphasis> button, then select <emphasis role="bold">Sites Management.</emphasis>
    </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="50mm" scalefit="1"/>
          </imageobject>
        </mediaobject>
      </step>
      <step>
        <para>
     Right-click the site you want to view with WebDAV and select the <emphasis role="bold">Download and Allow Edition</emphasis> item in the menu.
    </para>
        <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-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 an <emphasis role="bold">.html</emphasis> file, from your local device to a <emphasis>web content</emphasis> folder of a site.
   </para>
      <procedure>
        <step>
          <para>
      Access a site via WebDAV (refer to the <link linkend="sect-User_Guide-Manage_Site_Content_with_WebDAV-How_to_Use_WebDAV_With_eXo_Content">Use WebDAV in eXo Platform</link> section), then go to a <emphasis role="bold">web content</emphasis> folder of 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, documents, js and media.</emphasis>
     </para>
        </step>
      </procedure>
      <para>
    After a new content is added, it can be viewed as a folder in WebDAV or as a 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>
        <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 <emphasis>Ctrl</emphasis> key to select multiple files at once), and select <emphasis role="bold">Delete</emphasis> from the drop-down 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 files will be removed from the site.
     </para>
        </step>
      </procedure>
    </section>
</section>
