Paul van Tilburg wrote :
| I disagree.  I have my link set to http://paul.luon.net/journal/, but I
| try out/preview my journal on http://paul.somemachine.luon.net/journal/.
| With the permalinks going to http://paul.luon.net/journal/someEntry.html I
| can't test well if they are correct on my preview pages.

Hi Paul,

The solution I do use is the following: I test my blog locally (say in
/home/sleeper/blog/dev-null), and thus set the link to
/home/sleeper/blog/dev-null/htdocs 

However the 'production' version is located at
http://sl33p3r.free.fr/blog.
Thus I use replicate plugin, indicating both the target (where file are
uploaded), and the production_link:

requires: 
  - replicate:
      target: ftp://XXXXX:[EMAIL PROTECTED]/blog/
      production_link: http://sl33p3r.free.fr/blog

This way, when I do regenerate for example, my blog by a 'hobix regen',
it will go in /home/sleeper/blog/dev-null/htdocs, but if I do have the
HOBIX_ENV variable set to production, it will use production_link
instead of link ... and thus my permalink will target my blog instead of
my local directory ...

-- 
Frederick Ros aka Sleeper -- [EMAIL PROTECTED]

Attachment: pgpf4rYc4jgMz.pgp
Description: PGP signature

_______________________________________________
Hobix-is-the-way mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/hobix-is-the-way

Reply via email to