Welcome to WebmasterWorld Guest from

Forum Moderators: ergophobe

Message Too Old, No Replies

Don't need a full blown CMS- any suggestions?

What if a client just wants to edit a small portion of a site?



7:12 pm on Jan 14, 2008 (gmt 0)

10+ Year Member

Hey guys- I'm definitely a fan of CMS, having deployed Drupal and used others on various sites... however I've definitely got a few sites where CMS just isn't appropriate- 99% static except for that one part of the homepage that a client wants to update.

I'm half inclined to write a small web front end that reads/writes to an XML file and then code into the homepage a call to read the contents of that file and display it on the part of the homepage that will change ever so often, but as they say- don't rebuild the wheel.

So, does anyone have any suggestions for a nice "only need to update a bit of content" script or program ( ideally a script, web based is a bonus :P )that will do the trick here? My google skills are failing me on this :(



7:19 pm on Jan 14, 2008 (gmt 0)

5+ Year Member

A couple of people mentioned Flyspeck in this thread [webmasterworld.com]. It might be overkill for just one page, but take a look.


8:05 pm on Jan 14, 2008 (gmt 0)

10+ Year Member

Oohhh flyspeck looks like it might do the trick! Thanks!


9:05 pm on Jan 14, 2008 (gmt 0)

10+ Year Member

Ahh the catch - Flyspeck only supports PHP-- I'll probably end up using it for other clients, but the one I'm trying to help has an ASP server.

Something I found that looks sortof promising is ContentSeed - [contentseed.com...] - but there isn't very much documentation about the nitty-gritty for ASP servers. Anyone have any experience with that? Or can anyone recommend a Flyspeck/ContentSeed type script that is compatible with ASP Servers [and isn't Contribute. Bleck!] :P



7:08 pm on Jan 15, 2008 (gmt 0)

5+ Year Member

I am working on a light weight CMS system myself, Unfortunately I am not yet completed; Today I am doing some research as I would like to make it available to others and what to be clear on what features others will need.

Where I am at now is using a .htaccess file to deliver sub directories to the script.

# enable .pl
AddHandler cgi-script .pl

# open index for requests to this folder first
DirectoryIndex index.html index.shtml index.pl

# for folder request process them through index.pl

RewriteEngine On
RewriteBase /beta/
RewriteCond %{REQUEST_FILENAME}!-f
RewriteCond %{REQUEST_FILENAME}!-d
RewriteRule . index.pl [L]

Then having the index.pl grep though a tab delimited text file to get and template page (which template to use is part of the data file) and fill in the template using data from the tab delimited spreadsheet. I don't want to post the entire index.pl code because it is far from complete: I may be finished by the end of the week. The index file replaces the title and sections of the template with the actual content.

Q> In this application would you not want to have the person use FTP to upload the data file? Would he need a script so he can post the data file onto the server?

sniplet of the index.pl file that grabs and replaces the verb (content he wants to change)

$category = $ENV{REQUEST_URI};
$category =~ /\/beta\/(.+)/;

# acton is the product code
$acton = "$1";

... and later ...

open(CATALOG, "catalog.txt");
while ($line=<CATALOG>) {
if ($line =~ /\t$acton\t/is) {

($template, $product, $title) = split("\t",$line);

... and later ...

open(TEMPLATE, "$template.html");
$good = read TEMPLATE, $html, 100000;

$html =~ /<title>(.+)</;
$html ="$`<title>$title<$'";
$html =~ /[[product]]/;
$html ="$` $product $'";

print "$html";

... and later

I've had a discussion with somebody who would be interest in having a members pages on a website ... I may adapt to be able to have a password on each $line element and it would need to have a web interface for members to update their pages, the word FTP would draw a funny look from them.


Featured Threads

Hot Threads This Week

Hot Threads This Month