Re: [O] Getting feedback from a website created with OrgMode ??

2018-11-19 Thread Grant Rettke
On Sun, Nov 18, 2018 at 4:54 PM David Masterson 
wrote:

> What options do I have for doing this in OrgMode??
>

Your best option is to find a website platform that has all the features
that you want. For example
Hugo or Jekyll or WordPress or you name it there are plenty of options.Then
figure out how you can
"publish to" it. That way you still get the power of Org and the platform
to which you are publishing.

I do that with WordPress and love it albeit for a blog which is different
than what you want but
maybe in the same universe of possibilities.


Re: [O] Getting feedback from a website created with OrgMode ??

2018-11-19 Thread Diego Zamboni
(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
>
>


Re: [O] Getting feedback from a website created with OrgMode ??

2018-11-18 Thread David Masterson
John Hendy  writes:

> On Sun, Nov 18, 2018 at 4: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??
>
> You might look into nikola:
> - https://plugins.getnikola.com/v7/orgmode/
>

Thanks.  I'll give it a look.
--
David



Re: [O] Getting feedback from a website created with OrgMode ??

2018-11-18 Thread John Hendy
On Sun, Nov 18, 2018 at 4: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??

You might look into nikola:
- https://plugins.getnikola.com/v7/orgmode/

I've used it and think it's pretty awesome. I *haven't* used comments,
but they look possible:
- static: https://getnikola.com/blog/really-static-comments-with-staticman.html
- more "standard" options mentioned:
https://oliver2213.me/posts/self-hosted-comments-with-nikola/

Not sure on what you want in #3 exactly. Like fill in a form and store
the answer? Or have a blank in the exported document that you somehow
store/get/use later? It brings to mind input fields you could have
emailed to you, or piping those into a database? The main point was to
make you aware of nikola if you hadn't heard of it...


John


>
> --
> David Masterson
>



[O] Getting feedback from a website created with OrgMode ??

2018-11-18 Thread David Masterson
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