[ZPT] What to use for content?
Max Romantschuk
max@provico.fi
Wed, 15 Jan 2003 09:21:26 +0200
I'm working on a simple site for myself. Essentially I'm aiming towards a
simple navigation which indexes a bunch of content objects, which all get shown
through a master template in the site root.
My problem is: What should I use as content objects? To start with the content
itself will be HTML.
I've figured out how to use page templates for content, but that sort of defies
the point. I also know I could use CMF or Plone, but both systems are quite
complex and I want to learn more about Zope before going for a complete content
management system.
Essentially I'd like things to work like this:
siteroot/index_html <- master template
siteroot/spam/eggs <- content object span in eggs folder
When the user goes to http://mysite/spam/eggs I'd like to have the content
object rendered through the index_html template. I'd also like to have some
kind of possibility to devise a script which returns a sensible object when a
folder is accessed.
The programming bits shouldn't be too much of a problem (I already did a
recursive tree traversal for my navigation), but I can't seem to figure out
what to use as content objects. I've looked at Kubes, but the whole folder-as-
content-object approach seems a little confusing to me.
I hope this made any sense... any help is appreciated :)
Thanks,
Max Romantschuk