emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Re: publishing multiple projects and base-url


From: Michael Olson
Subject: [emacs-wiki-discuss] Re: publishing multiple projects and base-url
Date: Sun, 01 Jan 2006 20:08:33 -0500
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Justin Kirby <address@hidden> writes:

> I have two projects in muse that I am publishing to different web
> servers. The links in html output are based on the local filesystem
> and not on the project's base-url.
>
> When I link to projectB from projectA via [B::page] in muse the html
> link is invalid since its of the form ../page.html and not
> http://projectB.com/page.html as I would like it to be.
>
> Since I barely have a rudimentary grasp of elisp, I was unable to
> figure out how to fix this. It appears that muse-journal.el is the
> only code that even uses base-url

I've tried to implement this.  :base-url specifies the URL prefix to
be used.  Let me know if it works for you.

2006-01-02 01:05:13 GMT Michael Olson <address@hidden>  patch-337

    Summary:
      muse-wiki: Allow interwiki links to use different base URLs.
    Revision:
      muse--main--1.0--patch-337

    * lisp/muse-wiki.el (muse-wiki-resolve-project-page): If :base-url is
      defined for the remote style, use it instead of file-relative-name to
      resolve the path.  Thanks to Justin Kirby for the idea.

    modified files:
     ChangeLog lisp/muse-wiki.el

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: manga, Debian, XHTML, wiki, Emacs Lisp
  /` |\ | | | IRC: mwolson on freenode.net: #hcoop, #muse, #PurdueLUG
 |_] | \| |_| Jabber: mwolson_at_hcoop.net

Attachment: pgpdAT_6CxARB.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]