webdav mount info

This commit is contained in:
Kyle Drake 2014-08-29 20:36:57 -07:00
parent 47344e8bdc
commit 71d4e99b1c
4 changed files with 55 additions and 5 deletions

4
app.rb
View file

@ -756,6 +756,10 @@ get '/site_files/allowed_types' do
erb :'site_files/allowed_types'
end
get '/site_files/mount_info' do
erb :'site_files/mount_info'
end
get '/terms' do
erb :'terms'
end

View file

@ -32,10 +32,7 @@
Long Live the Web!
</p>
<p>
-Kyle
</p>
<p>
PS: What are you waiting for? <strong><a href="/new">Go make your web site!</a></strong>
What are you waiting for? <strong><a href="/new">Go make your web site!</a></strong>
</p>
<h1>Neocities is:</h1>
<ul>

View file

@ -180,7 +180,8 @@
<div class="site-actions" style="margin-bottom:25px">
<a href="/site_files/allowed_types">Allowed file types</a> |
<a href="/site_files/<%= current_site.username %>.zip">Download entire site</a>
<a href="/site_files/<%= current_site.username %>.zip">Download entire site</a> |
<a href="/site_files/mount_info">Mount your site as a drive on your computer!</a>
</div>
</div>

View file

@ -0,0 +1,48 @@
<div class="header-Outro">
<div class="row content single-Col">
<h1>Mount your site</h1>
<h3 class="subtitle">Now you can access your Neocities site as a drive on your computer!</h3>
</div>
</div>
<div class="content single-Col misc-page">
<h3></h3>
<article>
<h1>About</h1>
<p>
Neocities now supports <strong>WebDAV</strong>, which allows you to mount your Neocities share on your computer. Now you can access and change your files on your own computer's file manager!
</p>
<h2>Instructions for Windows 7</h2>
<p>
<a href="http://www.onemetric.com.au/Documentation/Mounting-A-WebDAV-Share-Windows-7">Use these instructions</a>, except use this URL to connect: <strong>https://neocities.org/webdav</strong>
<br>
Enter your login info when requested.
</p>
<h2>Instructions for OSX</h2>
<p>
<a href="http://support.apple.com/kb/ph3857">Use these instructions</a>, and use this URL to connect: <strong>https://neocities.org/webdav</strong>
<br>
Enter login info when requested.
</p>
<h2>Instructions for Linux (Ubuntu)</h2>
<p>
<ol>
<li>Open Nautilus.</li>
<li>Press ALT-L to show the location bar.</li>
<li>Type davs://neocities.org/webdav into location bar.</li>
<li>Enter your login into the popup.</li>
</ol>
</p>
<h2>Instructions for Linux (command line)</h2>
<p>For command line, use the <a href="http://johnreid.it/2009/09/26/mount-a-webdav-folder-in-ubuntu-linux/">davfs2</a> package.
</article>
</div>