One controller action deals with all pages. The page structure is http://.../w2cms/default/read/<id>/<slug>
where w2cms/default/read/<id> can be collapsed into just <id> using routes.py. The slug is put there just for show but it not used internally. It always uses the <id> for speed. The slug is computed from the title automatically therefore there is no issue with special characters (in the sense they appear in title, but disappear from slug). On Tuesday, May 1, 2012 4:01:33 PM UTC-5, IK wrote: > > This looks great Massimo. It sure is kick-ass CMS. Can't wait to try it on > my server :) ... I also like the name :) > > Just wondering, how URL's file (page) structure, will be dealt with ( one > Controller/View for all pages, or each page will have it's own View) and > how customisable will it be? And, will hyphens in URLs cause any problems > (where you can use both, hyphen and underscore in the same URL)? > > I don't want to rush you, but when can we expect GA version? :) > > Thanks > ivica > > > On 1 May 2012 21:35, Massimo Di Pierro <massimo.dipie...@gmail.com> wrote: > >> This is what I have so far... >> >> http://dl.dropbox.com/u/18065445/Tmp/w2cms.pdf >> >> you can try some of it here but you cannot login. You can edit the >> content of the white box. >> >> http://tests.web2py.com/w2cms/default/index >> >> >> - can clone any existing web site (copies, html, css, js, images and >> fixes all links) >> - comes with may layouts (supports all joomla, drupal, worldpress layouts) >> - can edit pages in place using html5 contentEditable (true wysiwyg) but >> can also edit raw html >> - users can limit which page areas are editable >> - injects scripts into pages which display 3 drawers on every page and >> are content dependent >> - pages have tags and read-write attributes. You can find tags and groups >> using autocomplete. >> - @{page.menu} inserts a menu, @{page.title} inserts title etc, >> @{widget.whatever.you.define} >> - If you cut and paste in the page a link to a youtube page, it embeds >> the video on the page. Same with vimeo and other oembed services. I use my >> own library for this which is similar to django-oembed and micawber (in >> fact it supports more services than them and I have submitted a patch to >> micawber). >> - supports latex via mathjax >> >> It still needs some work before I can release it. >> >> What else would you like to see in a CMS? >> >> massimo >> >> >