[dokuwiki] A couple of observations

Hi everyone,

I've not posted to this list before - I'm James Johnson and I've been playing around with dokuwiki and think it's pretty neat. I hope to contribute a bit back to the community. A couple of observations about search:

1) I think it would be best if in the search results the *first* instance of a term in a page is returned, as this is more likely to be a heading.
2) search terms in email addresses are highlighted on the search results page, but not within the page when clicked on from the search results.


About the main template (main.php) and generated HTML:

I think it would be good if the HTML generated by docuwiki contained better use of CSS tags, i.e. all elements and grouping of elements, should have their own <DIV class="x"> or <SPAN class="x"> tag, even if they are not used in the default CSS file. The reason for this is that then we would have complete control over the look of docuwiki just by editing the design.css file, and not having to touch the main.php file at all.

An example of how powerful this can be can be found in the "css Zen Garden" (Google for it, it's worth it). All of the designs you see there use the same html file, only the CSS file is different. The advantages of this are obvious - we would only have to modify a single file to make visual changes to docuwiki, templates could easily be exchanged, upgrades would be simpler, changing appearance on the fly would be easy, etc.

I hope these observations are useful.

Cheers,

James


-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: