[TriLUG] static website generators
Tim Jowers
timjowers at gmail.com
Wed Nov 20 13:09:44 EST 2013
Hi Steve,
yep, that's right:
<textarea id="my_favorite_chapter"
subsKey="WEu8iwegwerg034jiowejrgew">Todays hot Story: Baseball
Hail</textarea>
then run the program:
substitute_inner_html
For "WEu8iwegwerg034jiowejrgew" put in Value901 from database.
Something like this. Those spurious HTML attributes are just ignored by
browser. We did something using this back several years back when we had an
ActiveX rules engine module which integrated with the HTML.
I call them "HTML artist" because on most all projects I've done in the
last decade, the person creating the look was a non-programmer. But most of
them CAN open an HTML Editor and 50% also know CSS; so, if you don't
destroy that then they can work there and make their color and layout
changes. The holy grail of websites which I have never seen achieved in any
large company. Closest large companies get is a one-way transition frm HTML
to serverside concoction. Then the "HTML Artist" continues to hand out
her/his version and the programmer continues to try to make the concoction
look like the HTML version. In fact, many companies gave up and use Axure
and other such tools which don't even pretend to make something usable in
production.
Tim
On Wed, Nov 20, 2013 at 11:41 AM, Steve Litt <slitt at troubleshooters.com>wrote:
> On Wed, 20 Nov 2013 08:17:53 -0500
> Tim Jowers <timjowers at gmail.com> wrote:
>
> > I'd probably consider using an attribute and then substitution.
>
> Jim,
>
> I find this subject relevant and valuable to what I do, but I don't
> understand what you're saying. I always thought an attribute was
> something like:
>
> id="my_favorite_chapter"
>
> inside an <h1> tag. Is this what you meant by attribute? By
> substitution, would you mean changing "my_favorite_chapter" to
> "my_new_chapter"?
>
> > That
> > way you can have your filly constituted HTML website for your html
> > artists to work with but also substitute your changing data. Just
> > put an attribute with a UUID and then write some script to change the
> > "value" attribute
>
> I know artists do graphics, but what's an HTML artist? And what's a
> value attribute?
>
> > or change the inner HTML etc.
>
> What's inner HTML?
>
> It sounds like you're describing some sort of templating system, but I
> don't know exactly what you're describing. I'm a big fan of templating
> systems, and so find this interesting and potentially useful.
>
> On a somewhat related topic, I'm about half way through creating a
> Python program to convert an Xhtml file into an ePub eBook.
>
> Thanks,
>
> SteveT
>
> Steve Litt * http://www.troubleshooters.com/
> Troubleshooting Training * Human Performance
> --
> This message was sent to: timjowers <timjowers at gmail.com>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that
> address.
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web :
> http://www.trilug.org/mailman/options/trilug/timjowers%40gmail.com
> Welcome to TriLUG: http://trilug.org/welcome
>
More information about the TriLUG
mailing list