as promised...
Elan wrote:
>>
>>Why not divide the functionality up into
>>
>>1. Minimal core functionality
Bob writes:
this is wiki.r as is
(edits to change [ ] to % % in next round see 2.x)
Ted wrote:
>>Ok, enough theory, where to begin?
>
>The first core work could be simply a browser-form to HTML-page script,
>like Grossman's Wiki.
Elan wrote:
>>2. Extended core functionality
Ted:
>It should also store the article title, meta
>keywords, original author, creation date, last editor, edit date, and
>edit history.
bob:
2.1 these as a separate data-only file. the cannot be altered
except via the cgi tools. likely topicname.r in parallel tree
to refernced topic. this is a security issue. make a sparate tree.
2.2 also rewrite cgi interface for wiki.r so that pages look like
http://rebol.org/contrib/areaname/myfavoritetopic.html
vs
http://rebol.org/cgi-bin/cgiwrap/areaname?wiki=myfavoritetopic
{I have this finished in kehei.}
2.2.1 the goal is to eliminate ?voodoo=blah
in favor of /blah.html
so that spiders an search engines will index your site
(many spiders, including a few I have authored,
wont index a page that has ? in the url)
2.2.2 reconfigure apache to drop cgi-bin, this is a security issue.
there is no need to announce your crack targets please.
you will have other cgi-bin-like dirs.
2.2.3
make /contrib be a scriptalias for adding areanames
so that simply copying a file in there to a new name is enough
to make up a new "area" like /team or /faq
2.3
do edits to make script represent rebol scripts pleasantly
without forcing folks to use [ - easy
and so that < is a tag start somtimes and otherwise a
literal < - harder
default to tag start (IE leave it alone)
2.4 make sure wiki.r does NOT embedd things in the edited file
but instead uses parallel tree for meta info. this way
it can be used to edit any ascii file if given access.
{kehei wiki does not insert stuff -
so even htpasswd can be edited}
2.5 wiki.r to always reference topic trees (areas)
in subtree of ../ so that wiki edits things not rooted under
old cgi-bin. this is a security issue.
suggested: ../textdir which can be a symlink to wherever
admin wants it to go.
{done in all other secure wiki's}
>>3. Necessary additional functions. (was 2. dupe)
3.1 ted:>+ A secure registration system for authors and editors.
{done in kehei - form generates random password, emails password
to user. second cgi allows user to change own password.
cc: of email to community admins (without password if to a list) }
3.2 set up second .htpasswd for community admins
set up /admin same level as /contrib but in
whole other part of disk to
give wiki.r in /admin area access to other
'trees'. top level admin to setup special symlinks
for this wiki.
3.3 templates
minimum:
one for display ../templates/main.html
one for editing ../templates/edit.html
3.4
includes. look in admin overrides then in areaname
3.5 notext from area then as template
(more on this later)
>>4. Added value functionality (was 3.x renumbered to 4.x)
4.1 recognize ACRONYMS outside of code to become links
to topics in same area or in /glossary
(this will become a defineable path of areas later)
{done in kehei}
4.2 see and treat some other tag (recommended: <code> )
as disable-acronyms so code examples dont get acronym linked
4.3
ted: >+ A format for submitting and updating by email.
present in some other wiki's, not in kehei
4.4
use pgp to encode password emails for those registered
at mit or some other registry.
4.5
expire accounts that do nothing for 6 months.
send warning of expiry after 4 months.
(can pick other expire rate)
4.6
allow pages to define form landing-zones.
so that a page can be the receiver
of data values (signup lists, unanswerd faq questions,
surveys, votes etc)
4.6.1 tag for <drop formname results here> (replicated stuff) </tohere>
4.6.2 tag for <insert form field here/>
4.6.3 tag for <default this value if not yet in form as bbb>
{done in kehei wiki}
4.7
all wiki specific tags take optional
<wiki::tagname > form to be xml compliant.
4.8
allow users to refrence macros and special
values %authorname% as variable substitutions
in text or templates.
{I will give you the list of these from kehei
or you can look at the beta source now -
old source was quite limited so you can get away
with none at the start}
>On 1/11/2000 at 3:56 PM [EMAIL PROTECTED] wrote:
>If someone sends me a description/specs of 1., I can certainly respond
>with some ideas or - more likely - alpha quality scripts.
go for it.
I have [rebol.devel.org] reserved in your name
to practice on till jeff & crew hand one of us the keys.
email me off list and I will install.
{-----}
[EMAIL PROTECTED]