Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Adding content blocks to a static website

by ww (Archbishop)
on Sep 06, 2011 at 10:13 UTC ( #924348=note: print w/replies, xml ) Need Help??

in reply to Adding content blocks to a static website

Second (and third, fourth....) moritz' recommendation. Some so-called experts -- those with more concern for being "in style" with a fad than with functionality -- frown at server side includes as "obsolete" or "outdated." But SSI seems to me to be an optimal answer to your question.

OTOH, I'm not sure I understand your situation. There seems to be a contradiction in your description:

"I have to add several news items to a static website. ...I have nothing to do with the website..."


  • Comment on Re: Adding content blocks to a static website

Replies are listed 'Best First'.
Re^2: Adding content blocks to a static website
by blindluke (Hermit) on Sep 06, 2011 at 10:53 UTC

    Yes, SSI was a great suggestion, and moritz's recommendation was very helpful.

    As to your question, a few years ago I was doing some volunteer work for a local community centre for the blind & visually impaired. It was more 'fun' than work, I helped with some things like cleaning up the place, preparing some meetings. I also lost a lot of games playing checkers (based on my experience, blind people are like shaolin kung-fu masters when it comes to checkers). It was a great time, the people were amazing, and if I hadn't changed my address, I would gladly lose some more games, eating cookies to ease the pain of defeat.

    I did a simple website back then, some 5 pages with the contact info, and a "What's New" page. The centre has another website, it's updated regularly (it's part of some larger page for all similar centres). Unfortunately, it does not work well with software that reads the page contents aloud (navigation is too complex, the reader starts with some useless items that are located near the top of the page's source, and so on). So I made a simple page, with only the basic information, I made sure it's easily browseable with the monitor turned off, and it seems that it is useful, at least for some people. Since then, every month or two, I receive an email, and I add an item to the news page.

    Luke Jefferson

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://924348]
and nobody stirs...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2018-06-25 03:08 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.