From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Using org-publish for two seperate sites Date: Thu, 06 Aug 2015 18:13:58 +0100 Message-ID: <874mkccpbd.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNOjz-0004w3-81 for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 13:14:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNOju-0001gc-Vy for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 13:14:03 -0400 Received: from avasout06.plus.net ([212.159.14.18]:39662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNOju-0001fs-PE for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 13:13:58 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode-email --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I'm trying to set up org-publishing for two sites, with the intention of moving away from wordpress. I have set it up using "taste" and "tgmeds" to delineate each site. =2D-8<---------------cut here---------------start------------->8--- (setq org-publish-project-alist '(("taste" :base-directory "~/.emacs.d/orgblog/taste/" :publishing-directory "~/.emacs.d/blog/taste/" :makeindex non-nil ; index generation :section-numbers nil :with-toc nil :html-head "" (define-key org-mode-map (kbd "C-c C-1a")=20 (lambda ()=20 (interactive)=20 (org-publish "foo"))) )) '(("tgmeds" :base-directory "~/.emacs.d/orgblog/tgmeds/" :publishing-directory "~/.emacs.d/blog/tgmeds/" :makeindex non-nil ; index generation :section-numbers nil :with-toc nil :html-head "" ;(define-key org-mode-map (kbd "C-c C-1t")=20 ; (lambda ()=20 ; (interactive)=20 ; (org-publish "foo"))) ))) =2D-8<---------------cut here---------------end--------------->8--- I'm able to write the postings and get them converted to html, but when I try to use the export and publish functions it is failing. It then shows this in "*Backtrace*" =2D-8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (error "No publishing function chosen") signal(error ("No publishing function chosen")) error("No publishing function chosen") org-publish-file("/home/boudiccas/.emacs.d/orgblog/taste/anewmv.org") org-publish-current-file(nil nil) org-export-dispatch(nil) #(org-export-dispatch nil nil) ad-Advice-call-interactively(# org-export-dispat= ch nil nil) apply(ad-Advice-call-interactively # (org-export= -dispatch nil nil)) call-interactively(org-export-dispatch nil nil) command-execute(org-export-dispatch) =2D-8<---------------cut here---------------end--------------->8--- I am calling org-publish by "C-c C-e P p" which then shows this in "*Messages*" =2D-8<---------------cut here---------------start------------->8--- Loading /home/boudiccas/.org-timestamps/taste.cache...done org-publish-file: No publishing function chosen =2D-8<---------------cut here---------------end--------------->8--- How can I then publish my postings, and also generate the necessary index.html file please? Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVw5XXAAoJEDaBgBkK+INb/88P/2LFmQOSBH6MVMrfXg4iISsS 5tglE9vrgw7rSLlAz6CRsanKlqMT0uqEBhVI+ngRn3LoMFYV/2H2jg8wQFOjgGGb bYeu3Z/R22T7dNDLSuW4Vh8igeRfuUxI9w2T3SPX3PL+FLsJgMUtILSRrlYiOmM5 RvIIbBJ3vEIUYnHa/7zjpY1kwf9ivRJlPHIsToAgSZFbn5lImj1g3G30yLRvvcT4 k4RvyVMGz8XA5uFbxgmXhJwCbABdLME7x6sGBeNS1EByy3c0stLq6pGKr7eEb4VF LF5nlMhQNlXCjrLw4ycM9zER6oSIbFz68FXnuBi6tvya8TauEqJS8FHrd2iDn/IR DbhuR4XqIaXaulf7P/c6aEoJBEY4+sp7LyusvqKvCDePhbyLJ5jsVeQxVNOQjtUV Xug56qNZdIZXA53XmoN4GjKKQ1CSLoLU2TClo6uHLo2/19Cfp82+tVzAZW3+5xbA XrWVqe/DA5wdDULL4gL9FDIU1Iwj/uw92MJQeGq+fm4HdVmpqxvQwYXJ3ZOBR6+h whuV8A7QyfHJR+x5W0LbwpRlgv9MgmoBhy4Mne5jZVegrn9iRSg4QniR5CVZ2+OH EjrEMpouKcJI7Y04I/7pEyKw9fUu+Q81jTTUTrxBG5Ft3NM00r7TuswxcJxLXZCo qvqYe/rRv3/goiFwvpb9 =LGNG -----END PGP SIGNATURE----- --=-=-=--