> "forfan forfan" <[EMAIL PROTECTED]> writes:
>
>   
>> 1, I want to publish different files to different folders in the same
>> project. Is that possible?
>>
>> For example, I have a project A in folder /somewhere/A.
>> Under folder A there are subfolders :A-b and A-c.
>> What I want is to publish files under A-b to /somewhere/html/A-b/,
>> files under A-c to /somewhere/html/A-c/.
>>
>> Now, I can set different folders in one project in dot emacs file:
>> (setq muse-project-alist
>> '(("ProjectA"
>> ("/somewhere/A"
>>  "/somewhere/A/A-b"
>>  "/somewhere/A/A-c"
>>  :default "index")
>>  (:base "xhtml"
>>    :path "/somewhere/html"))))
>>
>> but all the project files are published to /somewhere/html.
>> I trid to add different publish folders in :path section, but failed.
>> Does muse support this operation?
>>     
>
> Yes.  See examples/mwolson/muse-init.el, my muse-project-alist entry
> for "Blog".  It's kind of ugly, I admit, but I can't think of a better
> way to do it at the moment.
>
>   
I added the following code to my .emacs.el
...
("A" (,@(muse-project-alist-dirs "~/A")
:default "index"
,@(muse-project-alist-styles "~/A"
"~/html/A"
"xhtml"))
.....

It does not work. When edit muse file under ~/A and publish it with c-c c-p,
muse ask me "publish project", it seems project A is not identified by muse.
What's wrong with my code?



>> 2, How can I publish my project files directly to remote ftp server
>> with user name and password specified.
>>     
>
> Eventually, Muse should support different methods to use for
> publishing (like uploading a blog entry straight to livejournal, or
> uploading a published file directly to an ftp server, or a rule for
> pictures that just copies them as-is to the remote directory), but it
> doesn't yet.
>
> For now, using a Tramp URL for the publishing path should work, but
> I've never tried it myself.
>
> Example: "/ftp:[EMAIL PROTECTED]:/home/forfan/publishing_dir"
>   
The problem is solved. Thx so much!

_______________________________________________
Muse-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/muse-el-discuss

Reply via email to