[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Berkeley Pi: Getting ready for next week.



Quoting tom r lopes (tomrlopes@gmail.com):

> Yeah.
> Almost exactly what Michael told me, lol.

I also need to confess laziness in composing my reply to you -- sorry!
-- in that there are also attractive alternatives to _both_ flat static 
HTML (maintained using ssh and a text editor) _and_ gargantuan,
dynamically generated, database-backed CMS and similar systems (like
WordPress).

E.g., people keep inventing nice, easy-to-use lightweight Web frameworks 
where you edit human-friendly markup that is then batch-converted to
static HTML for display purposes.  Problem is, I haven't kept notes on 
their names, locations on the Internet, etc., so at some point I'll need
to run around reacquiring that information.

One example among many is former Debian developer (and personal friend)
Joey Hess's ikiwiki software:  https://en.wikipedia.org/wiki/Ikiwiki


FWIW, Web content on linuxmafia.com is managed in a mix of ways:

1.  Some pages are truly old-style vi-maintained static HTML.  And
    I'll admit that manually managing all those tags with their 
    angle brackets is irritating and a bit error-prone.

2.  Some pages' maintainable files are in PHP, but that PHP is _not_
    dynamically served to the Internet (because I long ago decided
    a public-facing PHP interpreter and associated libs are an 
    unacceptable security problem).  Instead, the PHP source is 
    used to generate a static HTML page that is then what's served.
    This gets done (variously according to need) by either a cron job
    (as with the BALE and CABAL pages) or by /usr/bin/make and a
    Makefile that specifies how to knit the stuff together (as with
    my personal FAQ pages).

3.  Frequently, I start with stuff in flat ASCII (like the contents 
    of people's mailing list postings that I admire and wish to add
    to the Linuxmafia.com Knowledgebase):  To HTMLise them, I run
    a one-off little parser in Python called convert.py, then, I 
    pipe the result through HTML Tidy to make the output more readable
    and fix any HTML errors.

The above has been good enough to limp me along, but there are other and
probably better ways, elsewhere.  

-- 
You received this message because you are subscribed to the Google Groups "BerkeleyLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to berkeleylug+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/berkeleylug/20200223224646.GN18108%40linuxmafia.com.