Yes, one common different is that CMSes focus more on staff-
maintenance of content whereas Wikis focus more on user-maintenance of
content (although understandably it's a spectrum)
> * wiki articles (in Pinax) belong to Tribes and Projects, while cms
> docs appear to be "global" to a site.
wikiapp supports global wiki articles -- we just haven't hooked it up
that way.
> * wiki articles have version history, comments and tags, while cms
> docs don't.
A CMS could have those things. We would probably add them to django-cms.
> * cms docs are hierarchical, while wiki articles are not.
That's typically true. CMSes tend to have some structure to which
pages are attached whereas Wikis tend to be more flat.
> * both django-cms and django-wikiapp use so-called "simple" markup
> formats; neither offers WYSIWYG editing.
I think django-cms has WYSIWYG editing via TinyMCE and it would be
easy to add to wikiapp.
> * both cms and wiki allow internal hyperlinks between docs, but wikis
> make it a bit simpler with WikiWords.
Yes, at the expense of requiring a flatter structure typically.
> I recognize that all of the above features would be changeable (it's
> only code), but they imply some differences in concept and goals
> between CMS and wiki. Looks like CMS is aimed at staff writers, while
> wikis are aimed at user-generated content.
That's the general distinction, yes; it's very much a spectrum
nowadays, though.
> Here's what I got from my client:
>
> "Archives of Key Circle Documents. Each circle posts agendas, sends
> notices, keeps minutes and keeps copies of proposals it adopts. We'd
> like a central storage place that's web-based. We can start with
> meeting minutes and proposals adopted. A simple ontology that uses our
> jargon, that is nested, and is searchable would seem to fit the bill."
>
> "Circles" are something like a combination of Tribes and Projects in
> Pinax lingo. The documents will belong to a circle, and be edited by
> members of the circle. The ontology could be tags (although tags are
> not nested), or I could add hierarchical categories.
>
> I am pretty sure they will want collaborative editing, comments,
> version history and WYSIWYG. Markdown, ReST and Textile are pretty
> flakey and cranky, at least in django-wikiapp. (Not that the web
> WYSIWYG editors are not flakey and cranky...)
>
> In short, I think they want user-generated content.
Because of the spectral nature of CMS versus Wiki, we may end up with
a hybrid.
> Aside about WYSIWYG editors:
> I understand that TinyMCE is what most Pinheads (is that name still
> current?) have been looking at, but somebody named ericdrex mentioned
> WYMeditor on http://code.google.com/p/django-hotclub/wiki/WishList
>
> It looks pretty good to me. Has anybody had any experience with it?
> Or any deep experience with TinyMCE in a Django app?
I don't have experience with either so am open to either.
> Anyway, comments, criticisms and suggestions about any of this are
> welcome.
James
I don't yet have much experience with WYSIWYG editors; however, I
evaluated what's available, and rejected both TinyMCE and FCKEditor
because of their code bloat.
WYMEditor seems leaner, with a good focus, and it's based on jQuery, so
less reinventing the wheel there. I'm going to use it in the next days.
As an aside, I used and like markItUp! . It's not WYSIWYG, it uses the
"simple" markup languages that you don't seem to like. :-) It does have a
preview command, though.
--
Nicola Larosa - http://www.tekNico.net/
The policy-makers at the Federal Reserve System can expand the money
supply, which leads to price inflation, which hurts the average citizen,
yet the public does not rise up in arms to tell Congress to keep the
Federal Reserve System from expanding the money supply.
- Gary North, June 2008
I would love a contribution to add WYSIWYG to wikiapp. In fact, there
needs very little changes to wikiapp to add this features.
--
Eduardo de Oliveira Padoan
http://djangopeople.net/edcrypt/
http://stopforwarding.us/etiq.html
Bob,
I wouldn't go with TinyMCE, it's not tiny at all. Here's a couple
editors I have book marked ... check them out.
http://delicious.com/milo/wysiwyg
I'm interested in doing something like this also. We could make it
part of the Chicago Djangonauts contribution!
So now thinking requirements, we need to find a wysiwyg editor that
can render wiki markup right? So that it's compatible with wikiapp?
Also there's a little known feature with wiki that allows grouping.
I've never played with it, but that is a supposed solution to the wiki
are completely flat problem. I remember seeing support for it in
wikiapp but I could be wrong. We could look into that too.
--
Milan
Using a wysiwyg editor in wikiapp or your app for that matter should
be completely optional. It sound like the kind of thing that would be
in settings.py, like settings.WIKI_USE_WYSIWYG. So If you use this
setting in wikiapp then you don't get the select markup dropdown,
wikiapp will set that for you depending on the setting. That's how I
imagine it would work.
--
Milan
Yes, in fact I would also like a site developer to be able to control
the available markup languages via settings anyway.
James
We could easely add a "html" choice for wikiapp's markups
> Also there's a little known feature with wiki that allows grouping.
> I've never played with it, but that is a supposed solution to the wiki
> are completely flat problem. I remember seeing support for it in
> wikiapp but I could be wrong. We could look into that too.
This feature is used on cloud27, wikis are grouped by projects and
tribes. By I think that Bob wants deeper hierarchies. On moinmoin this
is done putting slashes in the article name :/
Its already possible, just define WIKI_MARKUP_CHOICES.
http://code.google.com/p/django-wikiapp/source/browse/trunk/docs/install.txt#17
> James
Bob, well good to know, but there's little design talk so it's not
very helpful. Sounds like we have some thinking to do.
--
Milan
That's a ReST error, the blog is parsing the text as ReStructuredText
(docutils) markup, it does not seem a problem with WYMEditor.
> So can WYMEditor handle copy-n-paste from Word? Can any of the
> candidate WYSIWYG editors? Reliably?
I don't know. It would seem likely, though.
--
Nicola Larosa - http://www.tekNico.net/
Tell me, and I will forget;
show me, and I may remember;
involve me, and I will understand.
- Confucius, 450 B.C.
Does anyone know what format the text is on the clip-board if you copy
from Word? I assume it's not full Word but something like RTF, and
then when you paste it, that's what's received by the control you
paste to.
I'd be surprised if javascript WYSIWYG editors could handle a paste
from a rich text format unless it's actually just HTML. Certainly
cutting and pasting styled HTML into WYMEditor works which was a small
victory :-)
/me goes to try Pages to WYMEditor
James
greg newman
http://20seven.org
Interesting. Pasting from Pages (with bold text, heading and list)
kept font and block information but lost everything else (list bullet,
heading semantics). Clicking on WYMEditor's show html button resulted
in:
<p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px
Helvetica">This is a <strong>bold</strong> demonstration:</span></p><p
style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica">alpha</
span></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px
Helvetica">beta</span></p><p style="margin: 0.0px 0.0px 0.0px 0.0px;
font: 12.0px Helvetica">Interesting</span></p><p style="margin: 0.0px
0.0px 0.0px 0.0px; font: 18.0px Helvetica"><strong>New Section</
strong></span></p></p>
Remember: WYSIAYG: What you see is ALL you get.
James
greg newman
http://20seven.org
On Oct 28, 2008, at 6:10 PM, James Tauber wrote:
Blog/Wiki needs a preview. I have talked about it with dougn on irc
sometime ago.
(And I'm bringing this up because, with a preview, we could catch this
errors before trying to save. But validating the markup when trying to
save would be nice too.)
Yes. Any more thoughts on breaking out the common "markup" pieces of
both as that might be the place to implement preview as well.
James
Word 2008 for Mac here, testing WYMeditor at http://
files.wymeditor.org/wymeditor/trunk/src/examples/01-basic.html
Pasting a simple document including a small table works ok as far as
I can tell. I didn't use the "paste from word" option but pasted
directly into a new paragraph. Basic formatting was pretty close to
the original Word file, though background colors and line styles on
the table were off. The generated markup (if that is what you get
when you hit the html icon) seems generally correct. No font-tags
etc., but some/many unneeded <p>s. Inside the table <td>s, everything
was contained in <p class="MsoNormalCxSpMiddle">. With the "paste
from word" option, all formatting is lost.
Pasting that same doc into the Dojo Editor looks even nicer (esp. for
the table), but some lines were pushed too much to the left and out
of the editor area. There is no way to see what markup is produced,
maybe I missed that option.
All in all, both look far more usable than TinyMCE (though I didn't
test that for a while).
hth
hubertus