From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Re: [RFI] Using DISQUS on certain pages Date: Tue, 9 Nov 2010 14:05:57 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=42611 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PFtWP-00005a-II for emacs-orgmode@gnu.org; Tue, 09 Nov 2010 14:06:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PFtWN-0002yY-IX for emacs-orgmode@gnu.org; Tue, 09 Nov 2010 14:06:21 -0500 Received: from mail-gx0-f169.google.com ([209.85.161.169]:43565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PFtWN-0002yC-DK for emacs-orgmode@gnu.org; Tue, 09 Nov 2010 14:06:19 -0500 Received: by gxk2 with SMTP id 2so5551747gxk.0 for ; Tue, 09 Nov 2010 11:06:18 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Juan Reyero Cc: org-mode Mailing List Juan, Thanks for sharing! I had run across your personal page before, probably linked from worg. I think Greater Skies is a very inspiring project, and must be rewarding to work on. So, if I've gleaned from the source correctly, you've defined a custom postamble and put both pieces of code Disqus generates into the postamble? I wasn't sure whether I should separate them or if it would matter. Also, I didn't see if you needed to use the #diqus_comments id, as disqus suggests, in order to get it to work. Thanks again! Jeff On Tue, Nov 9, 2010 at 9:01 AM, Juan Reyero wrote: > On Tue, Nov 9, 2010 at 3:43 AM, Jeff Horn wrote: >> Suppose I have a project defined (say, "org-blog") that I use to >> generate blog posts, and I want to use Disqus to track comments. >> Further suppose I don't want to use a templating framework such as >> jekyll to transform org into HTML. Does anyone have experience >> inserting disqus code into preambles/postambles? > > Yes, and it works great. =A0If you want to see a working example =A0take = a > look at http://greaterskies.com. =A0The source code, including the > org-mode setup and headers, footers and jekyll extras, is at > https://github.com/juanre/Greater-Skies. =A0The blog part (not at all > obvious on the web, just used to enable subscriptions) is done with > org-jekyll, https://github.com/juanre/org-jekyll. > > Hope it helps. > > jm > --- > http://juanreyero.com > ps. =A0My personal web is also done like that, all org-mode and org-jekyl= l. > --=20 Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jhorn@gmu.edu jrhorn424@gmail.com http://www.failuretorefrain.com/jeff/