From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diego Zamboni Subject: Re: Getting feedback from a website created with OrgMode ?? Date: Mon, 19 Nov 2018 09:07:34 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000016966f057b0003bb" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOeob-0003b5-Cx for emacs-orgmode@gnu.org; Mon, 19 Nov 2018 03:21:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOeax-0007FH-RI for emacs-orgmode@gnu.org; Mon, 19 Nov 2018 03:07:49 -0500 Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]:43154) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gOeax-0007EO-FM for emacs-orgmode@gnu.org; Mon, 19 Nov 2018 03:07:47 -0500 Received: by mail-ed1-x530.google.com with SMTP id f4so11814745edq.10 for ; Mon, 19 Nov 2018 00:07:46 -0800 (PST) In-Reply-To: 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" To: dsmasterson@outlook.com Cc: Org-mode --00000000000016966f057b0003bb Content-Type: text/plain; charset="UTF-8" (replying to the list) Hi David, I would suggest looking into Hugo (https://gohugo.io/). With ox-hugo ( https://ox-hugo.scripter.co/), you can easily export a whole website which is kept in org-mode format. As for the dynamic stuff: - Hugo allows very complex data-driven operations. You can, for example, keep data in a JSON file (which gets updated any way you want) and use that to populate information on a webpage. As an example, look at Kaushal's "Real World Examples" page in the ox-hugo website: https://ox-hugo.scripter.co/doc/examples/, which is populates from a TOML file at https://github.com/kaushalmodi/ox-hugo/blob/master/doc/data/users.toml, and rendered in the webpage using a template at https://github.com/kaushalmodi/ox-hugo/blob/master/doc/layouts/_default/examples.html . - About comments, Hugo has built-in support for Disqus comments ( https://gohugo.io/content-management/comments/), but you can use any other Javascript-driven commenting engine (there are a few pointers to alternatives in that page) - As for posting information, an easy solution would be to just use Google Forms (https://www.google.com/forms/about/), or, if you host your website on something like Netlify, use its support for custom forms ( https://www.netlify.com/docs/form-handling/), which makes it very easy to embed the forms in your web page. Speaking of Netlify, I can highly recommend them for hosting Hugo-generated websites. It's easy to use and free for basic use cases, and provides many other features which could be useful such as authentication and integration with AWS Lambda. I have no relationship with them, other than being a happy user, I host 5 websites with them and have had no issues. Hope this helps, --Diego On Sun, Nov 18, 2018 at 11:54 PM David Masterson wrote: > I'd like some ideas on how to create a website with OrgMode. OrgMode is > very good at creating static web-pages of any sort of structure. What I > think I'd like to do is create a more dynamic web-page. My particular > use-case is the following: > > 1. I'd like to create a website of information for my family of calendar > information and financial information that they might need in day to day > keeping track of family needs. > > 2. I'd like the family to be able to comment on the information as > needed to let me know if something is wrong or missing. This might be a > comment at the bottom of the web-page or an email feedback with a tag of > the particular web-page (so I can find it later). > > 3. I'd also like them to be able to fill in information that I request > from them that I can backfill later. Things like names of secretaries > for new doctors or times for new appointments. > > What options do I have for doing this in OrgMode?? > -- > David Masterson > > --00000000000016966f057b0003bb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
(replying to the list)

Hi David,

I would suggest looking into Hugo (https://gohugo.io/). With ox-hug= o (https://ox-hu= go.scripter.co/), you can easily export a whole website which is kept i= n org-mode format. As for the dynamic stuff:

- Hug= o allows very complex data-driven operations. You can, for example, keep da= ta in a JSON file (which gets updated any way you want) and use that to pop= ulate information on a webpage. As an example, look at Kaushal's "= Real World Examples" page in the ox-hugo website:=C2=A0https://ox-hugo.sc= ripter.co/doc/examples/, which is populates from a TOML file at=C2=A0https://github.com/kaushalmodi/ox-hugo/blob/master/= doc/data/users.toml, and rendered in the webpage using a template at=C2= =A0https://github.com/kaushalmodi/= ox-hugo/blob/master/doc/layouts/_default/examples.html.

<= /div>
- About comments, Hugo has built-in support for Disqus comments (= https://gohugo.io/content-management/comments/), but you can use any = other Javascript-driven commenting engine (there are a few pointers to alte= rnatives in that page)

- As for posting informatio= n, an easy solution would be to just use Google Forms (https://www.google.com/forms/= about/), or, if you host your website on something like Netlify, use it= s support for custom forms (https://www.netlify.com/docs/form-handling/)= , which makes it very easy to embed the forms in your web page.
<= br>
Speaking of Netlify, I can highly recommend them for hosting = Hugo-generated websites. It's easy to use and free for basic use cases,= and provides many other features which could be useful such as authenticat= ion and integration with AWS Lambda. I have no relationship with them, othe= r than being a happy user, I host 5 websites with them and have had no issu= es.

Hope this helps,
--Diego
=


= On Sun, Nov 18, 2018 at 11:54 PM David Masterson <dsmasterson@outlook.com> wrote:
I'd like some ideas on how to create a website= with OrgMode.=C2=A0 OrgMode is
very good at creating static web-pages of any sort of structure.=C2=A0 What= I
think I'd like to do is create a more dynamic web-page.=C2=A0 My partic= ular
use-case is the following:

1. I'd like to create a website of information for my family of calenda= r
information and financial information that they might need in day to day keeping track of family needs.

2. I'd like the family to be able to comment on the information as
needed to let me know if something is wrong or missing.=C2=A0 This might be= a
comment at the bottom of the web-page or an email feedback with a tag of the particular web-page (so I can find it later).

3. I'd also like them to be able to fill in information that I request<= br> from them that I can backfill later.=C2=A0 Things like names of secretaries=
for new doctors or times for new appointments.

What options do I have for doing this in OrgMode??
--
David Masterson

--00000000000016966f057b0003bb--