homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Content Management
Forum Library, Charter, Moderators: ergophobe

Content Management Forum

Don't need a full blown CMS- any suggestions?
What if a client just wants to edit a small portion of a site?

10+ Year Member

Msg#: 3548012 posted 7:12 pm on Jan 14, 2008 (gmt 0)

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 :(




5+ Year Member

Msg#: 3548012 posted 7:19 pm on Jan 14, 2008 (gmt 0)

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


10+ Year Member

Msg#: 3548012 posted 8:05 pm on Jan 14, 2008 (gmt 0)

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


10+ Year Member

Msg#: 3548012 posted 9:05 pm on Jan 14, 2008 (gmt 0)

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



5+ Year Member

Msg#: 3548012 posted 7:08 pm on Jan 15, 2008 (gmt 0)

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Content Management
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved