Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Adding content blocks to a static website

by JavaFan (Canon)
on Sep 06, 2011 at 09:34 UTC ( #924342=note: print w/replies, xml ) Need Help??

in reply to Adding content blocks to a static website

A content management system is one of the things everyone has to invent for themselves instead of using any of the gazillion systems out there, isn't it?

Assuming you're doing this as part of your job, can you justify to your boss spending the time developing your own CMS instead of using something that's already available?

  • 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 09:58 UTC

    I'm not doing this as a part of my job. And I'm not even considering developing "my own CMS". If you look into my post, you will see that the task is limited. I don't like to reinvent wheels, but I don't want to use a lawn mower, where simple scissors would do.

    If you know about anything that's already available, that won't require modifications to the existing site, and will work with a host that does not support Perl / PHP / other, I will be very grateful for some suggestions. I already mentioned Unify, but this solution requires PHP support, and, although I'd be willing to pay for the software out of my own pocket, I'm not paying the annual hosting cost, and I must consider that the site owner won't like any upgrades.

    Luke Jefferson

      And I'm not even considering developing "my own CMS".
      Well, maybe you should. At least, think of it as an aready existing wheel: what you want is a CMS. So think of it how a CMS would fix this.

      What you should do is consider the "static" page as a template. What you fill into the template is variable content. It can be page blocks: a postprocessed (so you're sure it is valid HTML, for example) version of what the user created.

      There are CMS-ish systems on CPAN where you can produce static HTML pages out of user content. You should check those out. For example: Blosxom:

      Blosxom can operate as a CGI script or produce static HTML files.

        Blosxom is a great project - but it's not a solution suitable for my purpose. I do not want to make adding content easier for myself. I want to provide a simple tool for the users. With Blosxom, they would have to create a structured text file in a specified location, then run the generator, then run something that syncs the generated content and the website. Even using "Save As..." is not a simple task, not for everybody. Navigating the directory tree is not simple as well - for some users, "it's on my computer" equals "it's on the desktop".

        This could all be simplified by writing a script that automates the process - it could be placed on the client's desktop, but still - the script would have to be written, Blosxom would have to be configured, and some problems would have to be resolved (even with basic instructions like "put the title in the first line of the text file, the author name in the second line..." - some validation would have to be provided, with two or more users - there will be problems with sync, and so on).

        I love the idea behind Blosxom, and tools like vee, and if I had a personal site, or a weblog, this would be my choice for content management. But those are not tools for this task, not for my users. Adapting them for this purpose would be at least as much work as writing an "Add-a-News-Item app". Again - this is not a question of managing a whole website, it's just about adding text-only news items.

        Luke Jefferson

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://924342]
[Your Mother]: I like Manu Chao.
[Your Mother]: I like this one quite well, https://www. v=rSEUH4KRfN8
[choroba]: Půlnoční Marie (which means Midnight Mary)
[choroba]: but the band is practically dead. We rehearse once in a year, and perform with the same frequency
[ambrus]: `quote
[ambrus]: sorry, typed in the wrong box
[LanX]: Your mother: je ne t'aime plus! ;)
[choroba]: seems lispy
[Your Mother]: Be nice! I speak that much French. Though I also like that song.
[choroba]: So, I joined Pod Černý Vrch some months ago to still have the fun. But I wouldn't call it "punk" anymore...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (14)
As of 2017-03-24 12:26 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (301 votes). Check out past polls.