bugEmacs Muse - Bugs: bug #9337, Deal with remote paths in...

 
 
Show feedback again

bug #9337: Deal with remote paths in publishing styles when resolving links

Submitted by:  Michael Olson <mwolson>
Submitted on:  Fri 15 Jun 2007 01:13:15 PM UTC  
 
Category: museSeverity: 4 - Important
Priority: 1 - LaterStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 15 Jun 2007 01:13:15 PM UTC, original submission:

It would be best to deal with this by calling muse-file-remote-p on a path, and then using a different algorithm if it matches. Also, if we're publishing to a remote path, prefer remote paths when resolving links. Prefer non-remote paths when publishing to a non-remote path. Perhaps bail out with a warning if we have a mix of remote and non-remote.

[Original email follows.]

Hi, I have just recently setup muse for managing a small website,
everything I have done I have been
able to solve it. I'm using few days ago arch tree:
muse--main--1.0--patch-346.

Well I have setup my project to be published to my hosting using tramp
and ftp this way:
'("project1"
("~/work/project1/src/" :default "menu")
(:base "my-xhtml" :path "~/work/project1/html/")
(:base "my-xhtml" :path "/ftp:user@host:www"))

While this work exactly as I intendet, it have now a problem with the
internal links

[[someplace][Some Place]]

In the xhtml I get a link:
<a href="$HOME/work/muse/project1/html/someplace.html">Some Place</a>

As you can see it has the absolute path on my home computer.

Michael Olson <mwolson>
Project Administrator

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mwolson (Submitted the item)
  • -unavailable- added by mwolson
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 15 Jun 2007 01:14:27 PM UTCmwolsonSeverity3 - Normal=>4 - Important
    Fri 15 Jun 2007 01:13:15 PM UTCmwolsonCarbon-Copy-=>Added -unavailable-
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup