emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* One org file to multiple pages static website.
@ 2016-10-11 23:03 Pierre-Henry Frohring
  2016-10-11 23:06 ` Kaushal Modi
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Pierre-Henry Frohring @ 2016-10-11 23:03 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 257 bytes --]

Hi!

Here is some code to go from one org-file to a multiple pages static
website,
one heading -> one post.

Since I did not find anything like it, did it myself, think maybe others may
find this helpful.

https://github.com/phfrohring/org-to-blog

Cheers!

[-- Attachment #2: Type: text/html, Size: 972 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: One org file to multiple pages static website.
  2016-10-11 23:03 Pierre-Henry Frohring
@ 2016-10-11 23:06 ` Kaushal Modi
  2016-10-12  9:29   ` Pierre-Henry Frohring
  2016-10-12 10:01 ` Rasmus
  2017-10-24 16:34 ` Marcin Borkowski
  2 siblings, 1 reply; 9+ messages in thread
From: Kaushal Modi @ 2016-10-11 23:06 UTC (permalink / raw)
  To: Pierre-Henry Frohring, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 541 bytes --]

Thanks for sharing this.

I have bookmarked something similar for the Hugo SSG:
http://www.holgerschurig.de/en/emacs-blog-from-org-to-hugo/

On Tue, Oct 11, 2016 at 7:04 PM Pierre-Henry Frohring <
frohring.pierrehenry@gmail.com> wrote:

> Hi!
>
> Here is some code to go from one org-file to a multiple pages static
> website,
> one heading -> one post.
>
> Since I did not find anything like it, did it myself, think maybe others
> may
> find this helpful.
>
> https://github.com/phfrohring/org-to-blog
>
> Cheers!
>
>
>
> --

Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 2067 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: One org file to multiple pages static website.
  2016-10-11 23:06 ` Kaushal Modi
@ 2016-10-12  9:29   ` Pierre-Henry Frohring
  0 siblings, 0 replies; 9+ messages in thread
From: Pierre-Henry Frohring @ 2016-10-12  9:29 UTC (permalink / raw)
  To: Kaushal Modi, emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1190 bytes --]

 http://www.holgerschurig.de/en/emacs-blog-from-org-to-hugo/
​"So I wrote my own “publish *this* specific subtree” export. [...]
markdown [...| Hugo [...]"​

Well, in this case https://github.com/phfrohring/org-to-blog

it is quite ≠: headings with :ready: tag of the source org file are mapped
to posts.
Internal links or links to assets are preserved.
No markdown.
Any webserver would do.





2016-10-12 1:06 GMT+02:00 Kaushal Modi <kaushal.modi@gmail.com>:

> Thanks for sharing this.
>
> I have bookmarked something similar for the Hugo SSG:
> http://www.holgerschurig.de/en/emacs-blog-from-org-to-hugo/
>
> On Tue, Oct 11, 2016 at 7:04 PM Pierre-Henry Frohring <
> frohring.pierrehenry@gmail.com> wrote:
>
>> Hi!
>>
>> Here is some code to go from one org-file to a multiple pages static
>> website,
>> one heading -> one post.
>>
>> Since I did not find anything like it, did it myself, think maybe others
>> may
>> find this helpful.
>>
>> https://github.com/phfrohring/org-to-blog
>>
>> Cheers!
>>
>>
>>
>> --
>
> Kaushal Modi
>



-- 
Cordialement,
Pierre-Henry Fröhring
06 34 48 17 57
Skype: pierre.henry.frohring

[-- Attachment #2: Type: text/html, Size: 5265 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: One org file to multiple pages static website.
  2016-10-11 23:03 Pierre-Henry Frohring
  2016-10-11 23:06 ` Kaushal Modi
@ 2016-10-12 10:01 ` Rasmus
  2017-10-24 16:34 ` Marcin Borkowski
  2 siblings, 0 replies; 9+ messages in thread
From: Rasmus @ 2016-10-12 10:01 UTC (permalink / raw)
  To: emacs-orgmode

Pierre-Henry Frohring <frohring.pierrehenry@gmail.com> writes:

> Hi!
>
> Here is some code to go from one org-file to a multiple pages static
> website,
> one heading -> one post.
>
> Since I did not find anything like it, did it myself, think maybe others may
> find this helpful.

I think it's similar to here:

    http://endlessparentheses.com/how-i-blog-one-year-of-posts-in-a-single-org-file.html

-- 
Hvor meget poesi tror De kommer ud af et glas isvand?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: One org file to multiple pages static website.
@ 2016-10-12 22:25 Pierre-Henry Frohring
  0 siblings, 0 replies; 9+ messages in thread
From: Pierre-Henry Frohring @ 2016-10-12 22:25 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

Unlike
http://endlessparentheses.com/how-i-blog-one-year-of-posts-in-a-single-org-file.html

https://github.com/phfrohring/org-to-blog has nothing to do with jekyll or
any particular webserver.

It just produces html files, sitemap, preserves links and assets in < 400
LOC.

[-- Attachment #2: Type: text/html, Size: 687 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: One org file to multiple pages static website.
  2016-10-11 23:03 Pierre-Henry Frohring
  2016-10-11 23:06 ` Kaushal Modi
  2016-10-12 10:01 ` Rasmus
@ 2017-10-24 16:34 ` Marcin Borkowski
  2017-10-24 16:42   ` Kaushal Modi
  2 siblings, 1 reply; 9+ messages in thread
From: Marcin Borkowski @ 2017-10-24 16:34 UTC (permalink / raw)
  To: Pierre-Henry Frohring; +Cc: emacs-orgmode


On 2016-10-12, at 01:03, Pierre-Henry Frohring <frohring.pierrehenry@gmail.com> wrote:

> Hi!
>
> Here is some code to go from one org-file to a multiple pages static
> website,
> one heading -> one post.
>
> Since I did not find anything like it, did it myself, think maybe others may
> find this helpful.
>
> https://github.com/phfrohring/org-to-blog
>
> Cheers!

FWIW, I did something similar some time ago:
https://github.com/mbork/org-one-to-many

Best,

-- 
Marcin Borkowski

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: One org file to multiple pages static website.
  2017-10-24 16:34 ` Marcin Borkowski
@ 2017-10-24 16:42   ` Kaushal Modi
  2017-10-24 17:03     ` Pierre-Henry Frohring
  2017-10-24 19:28     ` Marcin Borkowski
  0 siblings, 2 replies; 9+ messages in thread
From: Kaushal Modi @ 2017-10-24 16:42 UTC (permalink / raw)
  To: Marcin Borkowski; +Cc: emacs-orgmode, Pierre-Henry Frohring

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

Funny that this topic from Oct 2016 gets revived after a year :)

It was on "my list" to develop an Org exporter that exports one-to-many
style for Hugo static site generator. I released in back in September this
year: https://ox-hugo.scripter.co/ (Source code:
https://github.com/kaushalmodi/ox-hugo/ ).

On Tue, Oct 24, 2017 at 12:36 PM Marcin Borkowski <mbork@mbork.pl> wrote:

>
> FWIW, I did something similar some time ago:
> https://github.com/mbork/org-one-to-many
>
-- 

Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 1073 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: One org file to multiple pages static website.
  2017-10-24 16:42   ` Kaushal Modi
@ 2017-10-24 17:03     ` Pierre-Henry Frohring
  2017-10-24 19:28     ` Marcin Borkowski
  1 sibling, 0 replies; 9+ messages in thread
From: Pierre-Henry Frohring @ 2017-10-24 17:03 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 829 bytes --]

Hi!

I toyed with https://github.com/harc/ohm before I ended up with a couple of
lines of Racket, Nginx and Pandoc.

Ohm is worth looking at!

Best,



Cordialement,
Pierre-Henry Fröhring
06 34 48 17 57



2017-10-24 18:42 GMT+02:00 Kaushal Modi <kaushal.modi@gmail.com>:

> Funny that this topic from Oct 2016 gets revived after a year :)
>
> It was on "my list" to develop an Org exporter that exports one-to-many
> style for Hugo static site generator. I released in back in September this
> year: https://ox-hugo.scripter.co/ (Source code: https://github.com/kaush
> almodi/ox-hugo/ ).
>
> On Tue, Oct 24, 2017 at 12:36 PM Marcin Borkowski <mbork@mbork.pl> wrote:
>
>>
>> FWIW, I did something similar some time ago:
>> https://github.com/mbork/org-one-to-many
>>
> --
>
> Kaushal Modi
>

[-- Attachment #2: Type: text/html, Size: 2905 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: One org file to multiple pages static website.
  2017-10-24 16:42   ` Kaushal Modi
  2017-10-24 17:03     ` Pierre-Henry Frohring
@ 2017-10-24 19:28     ` Marcin Borkowski
  1 sibling, 0 replies; 9+ messages in thread
From: Marcin Borkowski @ 2017-10-24 19:28 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: emacs-orgmode, Pierre-Henry Frohring


On 2017-10-24, at 18:42, Kaushal Modi <kaushal.modi@gmail.com> wrote:

> Funny that this topic from Oct 2016 gets revived after a year :)

My fault - I was just going through my "unread messages" queue, and
didn't notice the date;-).

> It was on "my list" to develop an Org exporter that exports one-to-many
> style for Hugo static site generator. I released in back in September this
> year: https://ox-hugo.scripter.co/ (Source code:
> https://github.com/kaushalmodi/ox-hugo/ ).

Best,

-- 
Marcin Borkowski

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-10-24 19:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-12 22:25 One org file to multiple pages static website Pierre-Henry Frohring
  -- strict thread matches above, loose matches on Subject: below --
2016-10-11 23:03 Pierre-Henry Frohring
2016-10-11 23:06 ` Kaushal Modi
2016-10-12  9:29   ` Pierre-Henry Frohring
2016-10-12 10:01 ` Rasmus
2017-10-24 16:34 ` Marcin Borkowski
2017-10-24 16:42   ` Kaushal Modi
2017-10-24 17:03     ` Pierre-Henry Frohring
2017-10-24 19:28     ` Marcin Borkowski

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).