[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: Placing files
- From: Fritz Zaucker <nospam@thanx>
- Date: 25 May 1999 17:12:21 +0200
Xose Manoel Ramos <xmanoel@i.am> writes:
We develop our sites in a directory structure identical to but
separate from the published site.
This has the advantage that you can play around without the "customer"
(visitor of your website) getting annoyed by broken pages while you
are rebuilding them.
We then use rsync to update the actual site.
With rsync you can exclude certain files from being synced, so you
have the choice of just transfering html-files, etc, or of transfering
everything, including the wml-files.
We do the latter and are thus being nice to other WML users you can
look at the wml-files and see how we implemented them.
Cheers,
Fritz
P.S.: Be careful with rsync. It is easy to screw up and sync the wrong
way. We have a shell script doing it, so that we don't have to
enter the parameters manually. Here is an example:
#! /bin/csh -f
rsync --links --verbose --delete --exclude '*~' --times --rsh=ssh -r . afg@tardis:/home/afg/public_html/
BTW, the source and destination can be on the same host, of course, or
on separate ones. Using rsync also speeds up updates a lot, as you
often only have to copy a few files as nothing else changed. This is
especially great if you sync over a slow link.
> I just wanted a tip...
>
> When creating web pages using WML... What to do?
>
> * Mix the .html files in the same directory where the .wml files
> are
>
> * Have the .wml files in one directory, and the .html in other
>
> * Create test .html files mixed with the .wml, and then move them
> to it's own directory
>
> Probably that's not a big deal, but I am just beginning with a few
> pages, probably in the future this kind of decissions will avoid
> having a mess.
>
> --
> Saudos:
> ><ose xmanoel@i.am (Vigo/Galicia/Espaņa)
> http://pagina.de/xmanoel/
> http://w3.to/mikkeli/
>
> 05/24 Bob Dylan (Robert Zimmerman) is born in Duluth, 1941
> ______________________________________________________________________
> Website META Language (WML) www.engelschall.com/sw/wml/
> Official Support Mailing List sw-wml@engelschall.com
> Automated List Manager majordomo@engelschall.com
>
--
Dr. Fritz Zaucker, Head IT Support Group
Department of Electrical Engineering, Federal Institute of Technology
ETZ J97, Gloriastrasse 35, 8092 Zurich, Switzerland
Tel.: +41-1-632-5241 Fax: +41-1-632-1194 http://ee-staff.ethz.ch/~zaucker/
E-mail: zaucker@ee.ethz.ch (see home page for PGP key)
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com