"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. > 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" -- Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/ Interests: Emacs Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net /` |\ | | | Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC |_] | \| |_| Reclaim your digital rights by eliminating DRM. See http://www.defectivebydesign.org/what_is_drm for details.
pgprTYWnswwu0.pgp
Description: PGP signature
_______________________________________________ Muse-el-discuss mailing list [email protected] https://mail.gna.org/listinfo/muse-el-discuss
