Re: [Hpr] HPR LLC

2019-04-03 Thread 韋嘉誠
On Wed, Apr 3, 2019, 14:42 Ken Fallon  wrote:
> Also whatever HPR LLC is they also would be missing most of the domains 
> because of
> http://hackerpublicradio.org/pipermail/hpr_hackerpublicradio.org/2018-November/014337.html
> The others are (I think) owned by Stank Dawg, so good luck with that.

In the scenario it was your entity, right? Just issue Stank Dawg some
shares and you're good to go! ;-)

> I was planning on doing this on the Community News and having Dave storm off, 
> but as it happens he was not able to make the show.

Too bad!

Still, I liked that you created a difference between the "reality" on
the show and the adjusted "press release reality" on the mailing list.

I read between the lines that he would "spend more time with family"
due to "creative differences", as the Incredible Journey lingo goes.
But I still wasn't sure that's how it was intended until you said it
more explicitly on the community show.

> Plus any email I send not asking for a show should automatically cause 
> suspicion.

*raises an eyebrow*

Like this message? No, wait!

> It was fascinating to see the different reactions and that the cultural norm 
> different per region. After reading the wikipedia article I'd love to hear a 
> show about the topic.

So subtle it slipped past my detectors at first. :-)

-- 
   /c

___
Hpr mailing list
Hpr@hackerpublicradio.org
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org


Re: [Hpr] Static Site Generators - NOT a flat file CMS

2019-04-03 Thread Bob Jonkman
Hi Ken: If your server supports Server Side Includes (SSI) then you can 
add comments to the top and bottom of your pages to include a header and 
footer.  I was doing that for a static site for a while (but then got 
sucked into the WordPress morass).


eg.


  
 --> 

The insert.hti file contains the HTML code I want in the header.  If I 
ever change the contents of that file, then all the pages which have the 
'include virtual' comment will update too.


Note that some servers don't like the space between the comment 
indicator and the 'include' command, so they want   which I find ugly...


I use the .hti extension as an indicator that it's an HTML "include" 
file, not a complete HTML file with  sections.


--Bob.



On 2019-04-03 2:36 p.m., Ken Fallon wrote:

Hi All,

Do any of you have a recommendation for a Static Site Generators that
just publishes html files.

For example takes a page, adds a header and footer from somewhere and
publishes the combined page.



___
Hpr mailing list
Hpr@hackerpublicradio.org
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org



--
Bob Jonkman   Phone: +1-519-635-9413
SOBAC Microcomputer Services http://sobac.com/sobac/
Software   ---   Office & Business Automation   ---   Consulting
GnuPG Fngrprnt:04F7 742B 8F54 C40A E115 26C2 B912 89B0 D2CC E5EA




___
Hpr mailing list
Hpr@hackerpublicradio.org
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org


Re: [Hpr] Static Site Generators - NOT a flat file CMS

2019-04-03 Thread George De Bruin
Ken,

I've read your message, and seen many of the responses (personally I like 
Nikola too -- but I've not used it for any real projects).

But, I'm slightly confused - your subjects says: "NOT a flat file CMS". If you 
don't need something that will apply CSS styling, and build a navigation 
framework, then why would you need a site generator? If you are just adding a 
header and footer to a bunch of files couldn't a simple script just concatenate 
the files for you... IE something like:

for i in *.html do
 cat header >> out/$i
 cat $i >> out/$i
 cat footer.html >> out/$i
done

/ Insert code to push the pages to your server here ***/

George

On Wed, Apr 3, 2019, at 1:38 PM, Ken Fallon wrote:
> Hi All,
> 
> Do any of you have a recommendation for a Static Site Generators that
> just publishes html files.
> 
> For example takes a page, adds a header and footer from somewhere and
> publishes the combined page.
> 
> 
> -- 
> Regards,
> 
> Ken Fallon
> http://kenfallon.com
> http://hackerpublicradio.org/correspondents.php?hostid=30
> 
> 
> ___
> Hpr mailing list
> Hpr@hackerpublicradio.org
> http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org
> 
> 
> *Attachments:*
>  * signature.asc
___
Hpr mailing list
Hpr@hackerpublicradio.org
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org


[Hpr] Static site generator

2019-04-03 Thread Mike Ray
Hello

I did not reply to your email because I get some kind of signing error I
can't work out, not being able to see.

For:

http://www.raspberryvi.org/

and:

http://eyesfreelinux.ninja

I use Nikola.

All my pages and posts are written either in markdown or kramdown
(apt-get install ruvby-kramdown).

It uses bootstrap themes to stick on header, navbars and footer.

Very configurable and written in Python.

I wrote the kramdown plugin I use.  kramdown has nice table syntax,
better than markdown, and also has the ability to generate a TOC from
headers in the same page.

Mike


-- 
Michael A. Ray
Analyst/Programmer
Witley, Surrey, South-east UK

"Perfection is achieved, not when there is nothing more to add, but when
there is nothing left to take away." -- A. de Saint-Exupery


https://cromarty.github.io/
http://eyesfreelinux.ninja/
http://www.raspberryvi.org/



___
Hpr mailing list
Hpr@hackerpublicradio.org
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org


Re: [Hpr] Static Site Generators - NOT a flat file CMS

2019-04-03 Thread Klaatu
That's a great option.  I've used hugo, snd i recall liking it but yesh i think 
it had weirdness with markdown. If Jekyll avoids that, id take a look at that.

On 4 April 2019 8:25:27 AM NZDT, "Claes Wallin (韋嘉誠)" 
 wrote:
>On Thu, Apr 4, 2019, 02:38 Ken Fallon  wrote:
>
>> Hi All,
>>
>> Do any of you have a recommendation for a Static Site Generators that
>> just publishes html files.
>>
>> For example takes a page, adds a header and footer from somewhere and
>> publishes the combined page.
>>
>
>I think most of them would be able to be used like that. The ones I
>have
>come close to are ikiwiki, Jekyll, Hugo and Styx, and basically,
>although
>they ship with more advanced frameworks, themes and functionality, ans
>support various markups, in the end it boils down to what you
>described.
>Header, body, footer is simply a barebones theme.
>
>Probably Jekyll is the simplest, with the least configuration to do.
>And
>HTML is valid markdown, so you don't have to worry about that either.
>IIRC
>it doesn't support markdown syntax inside html syntax, so you wouldn't
>even
>need to worry about any unexpected interference.
>
>-- 
>   /c
>
>>
___
Hpr mailing list
Hpr@hackerpublicradio.org
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org


Re: [Hpr] Static Site Generators - NOT a flat file CMS

2019-04-03 Thread 韋嘉誠
On Thu, Apr 4, 2019, 02:38 Ken Fallon  wrote:

> Hi All,
>
> Do any of you have a recommendation for a Static Site Generators that
> just publishes html files.
>
> For example takes a page, adds a header and footer from somewhere and
> publishes the combined page.
>

I think most of them would be able to be used like that. The ones I have
come close to are ikiwiki, Jekyll, Hugo and Styx, and basically, although
they ship with more advanced frameworks, themes and functionality, ans
support various markups, in the end it boils down to what you described.
Header, body, footer is simply a barebones theme.

Probably Jekyll is the simplest, with the least configuration to do. And
HTML is valid markdown, so you don't have to worry about that either. IIRC
it doesn't support markdown syntax inside html syntax, so you wouldn't even
need to worry about any unexpected interference.

-- 
   /c

>
___
Hpr mailing list
Hpr@hackerpublicradio.org
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org


Re: [Hpr] Static Site Generators - NOT a flat file CMS

2019-04-03 Thread Klaatu
Podwrite, which i use for gnuworldorder and Commons & Chronicles, does exactly 
that. Its UI or UX or whatever is a little rough, but im happy to walk you 
through it.

On 4 April 2019 7:36:34 AM NZDT, Ken Fallon  wrote:
>Hi All,
>
>Do any of you have a recommendation for a Static Site Generators that
>just publishes html files.
>
>For example takes a page, adds a header and footer from somewhere and
>publishes the combined page.
>
>
>-- 
>Regards,
>
>Ken Fallon
>http://kenfallon.com
>http://hackerpublicradio.org/correspondents.php?hostid=30
___
Hpr mailing list
Hpr@hackerpublicradio.org
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org


[Hpr] Static Site Generators - NOT a flat file CMS

2019-04-03 Thread Ken Fallon
Hi All,

Do any of you have a recommendation for a Static Site Generators that
just publishes html files.

For example takes a page, adds a header and footer from somewhere and
publishes the combined page.


-- 
Regards,

Ken Fallon
http://kenfallon.com
http://hackerpublicradio.org/correspondents.php?hostid=30



signature.asc
Description: OpenPGP digital signature
___
Hpr mailing list
Hpr@hackerpublicradio.org
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org