Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#31 2008-02-22 05:05:55
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: [wiki] Textbook redesign 2
Another Example:
.
Last edited by marios (2008-02-22 05:07:36)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#32 2008-02-22 05:49:58
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [wiki] Textbook redesign 2
Pretty, though I’d find working on black very hard on my eyes after a while.
Offline
#33 2008-02-22 16:46:48
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: [wiki] Textbook redesign 2
Mary wrote:
Pretty, though I’d find working on black very hard on my eyes after a while.
Mary, absolutely no problem. Prefer another Theme ? I change it on the Fly, with just a couple of stylerules.
Tell me your Taste, and I’ll whip up another Theme for you.
regards, marios
Last edited by marios (2008-02-22 16:47:21)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#34 2008-02-23 02:34:56
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [wiki] Textbook redesign 2
Thanks for the offer, but there’d be no point: I don’t even have a Mac, let alone TextMate. :)
Offline
#35 2008-02-23 07:28:26
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: [wiki] Textbook redesign 2
Mary wrote:
Thanks for the offer, but there’d be no point: I don’t even have a Mac, let alone TextMate. :)
Mary: What you are looking at, isn’t TextMate. What you are looking at is a screenshot of an entity encoded HTML pre code block, that has been syntax hilighted using Javascript and CSS. It looks like TextMate, … but it isn’t.
( The Idea was, that we could use this to go around the Geshi Syntax hilighter in DocuWicki. )
My next Idea is, to also have Folding start and stop markers ( Using a Toggler )
Now , lets say we also implement a code style switcher ( on the wiki ), you could just click on it, and look at the txp code examples in what ever style/theme you prefer.
regards, marios
Last edited by marios (2008-02-23 07:36:35)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#36 2008-02-23 08:54:02
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [wiki] Textbook redesign 2
I see.
In that instance, I definitely prefer a white background, though it doesn’t have to be stark white (#fff). (Then you’d have to swap to darker versions of some colors, of course.)
Offline
#37 2008-02-23 09:24:54
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: [wiki] Textbook redesign 2
Mary wrote:
I see.
In that instance, I definitely prefer a white background, though it doesn’t have to be stark white (#fff). (Then you’d have to swap to darker versions of some colors, of course.)
Sure, I’m working on a new Theme now.
regards, marios
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#38 2008-02-23 11:32:45
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: [wiki] Textbook redesign 2
With some Pastels:
.
Last edited by marios (2008-02-23 11:33:06)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#39 2008-02-25 01:34:41
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: [wiki] Textbook redesign 2
Ah, much better. :)
Offline
Re: [wiki] Textbook redesign 2
My only quibble is that I wish the <txp: /> tags were a more distinct color so they were easier to spot.
Out of curiosity, are you implementing your own code highlighting scheme? What’s wrong with Genshi? (I’ve never used it)
Shoving is the answer – pusher robot
Offline
#41 2008-02-25 16:15:17
- marios
- Archived Plugin Author

- Registered: 2005-03-12
- Posts: 1,253
Re: [wiki] Textbook redesign 2
hakjoon wrote:
My only quibble is that I wish the <txp: /> tags were a more distinct color so they were easier to spot.
That would be easy.
Out of curiosity, are you implementing your own code highlighting scheme? What’s wrong with Genshi? (I’ve never used it)
Not really. I’m now experimenting with two different solutions that are clientside based .
- Solution A is mootools based on some piece of code, that was already written by Chris van Pelt
( A more general matching and speedier ) - Solution B is based on Alex Gorbatchev’s Library.
( In this case, then you just create a new Brush Library file for the Language you desire )
Now since Geshi is a Server Side thing, it is a different Approach. Both do have Advantages and disadvantages.
Personaly I’d go for a Clientside Approach. However, as in the B approach due to a heavy use of RE, which is not that an Ideal thing to do I think ,in Javascript, it can be slower depending on how the Brush was written.
I’ve modifed Gorbatchev’s Library to my taste as well ( which was a little more work ), and try to test stuff out, until I make up my mind .
regards, marios
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
Re: [wiki] Textbook redesign 2
hakjoon wrote:
Everything that has been said here can easily be done with MediaWiki, somehow no one has done it.
The truth of it all.
I’m glad to turn over the keys to Textbook to anyone with interest in it. I only ended up with it because everyone else who was involved dissapeared. Send me an email and the keys are yours.
I feel your pain, Patrick, I truly do.
@all:
I’m somewhat amused by this thread. What’s old is new again about TextBook. I don’t want the keys back, Patrick (sorry), but since 2004 when I initiated the launch of TextBook, and especially in the last couple of years working on other wiki projects, I have learned a lot about wikis (used several), collaborative writing, and making it all just work. Ultimately it relies on individual initiative — bottom line! However, there is a LOT that can be done to make it conducive for users to give that initiative.
I’ve honestly been open-minded about options since day one, as Patrick certainly is currently, but I’m telling you people (take it or leave it), MediaWiki is still the right system for the job. Why?
- MediaWiki is far and away the leading wiki system when it comes to community support and extendability. I’ve not seen any argument given by anyone in four years why MW should be scrapped for something else. This reasoning that using Txp “just seems right” for collaborative docs is “just plain wrong” (my words). If you don’t understand that, then you don’t understand collaborative writing, and there’s nothing else to say. But here’s a tip: Txp is great for versioned writing, which is not the same thing at all.
- You (we) have established an international community in TextBook. Any decision making about it’s future should be moot without the input from those language communities. I don’t see that happening here, except for a few wise people pointing out the value of those international contributions. I know English is the dominant language in Txp brainstorming, I see it complained about in the French forum, but don’t forget there are other languages, and those people are your marketing ambassadors in other worlds (marketing being another big issue for Txp right now). For example, we don’t know what’s being said in a Chinese blog, unless you read Chinese, but we can assume playpiggy, being the Chinese LTR, is saying good things in those circles…and that’s a BIG part of the world. One world of many. Don’t forget that.
- Migration to anything else could be a bigger headache at this point than leaving things alone, and in any case you don’t jeopardize #2.
A couple more things then I’ll shut up:
Presentation: I’ve done quite a few custom MW skins in the last year. Most of them are internal to companies (used for product documentation, drafting user manuals, etc.), but here’s one online: STC Wiki, which was largely inspired by a skin formerly used at the MozillaDev Wiki (also MW). Truth is, once you understand MW’s presentation layer (and admittedly it’s a fucking mess by default), it easy to clean house and make MW behave real nice in the aesthetics department. (A future feature of my own site — or a mutual project — will be offering up custom MW layouts/skins I (others?) have put together…maybe. Don’t have time for that now though.)
Functionality: Poor TextBook has been abused since the beginning; largely out of people doing things without understanding how they were intended to be done by MediaWiki (I’m guilty too, but the light has parted my dark skies). In principle, this is bad, because there is actually a lot of good reason and thought behind why MW functions like it does. Furthermore, if the wiki and it’s functionality is used in the way it was meant to be, it’s easier to add extensions (think Txp plugins) to it, which will open up many new doors for collaboration. Adding Textile? There’s an extension (and mod for Textile2). Turn a discussion page into a threaded forum? There’s an extension. Making an article page behave like a blog page with a comment form? There’s an extension. Add semantic structure to content? There’s an extension. And so many, many, more that you might not believe, and certainly not find with any other wiki system. (Of course you don’t want to add extensions for the sake of it, because just like Txp plugins, they must be supported over time.)
Collaboration: I’ve found there are two types of documentation in any successful wiki environment. That which focuses on the subject (in this case Textpattern), and that which focuses on using the wiki system itself. TextBook has largely failed in the latter, but that can easily be turned around. (It has somewhat failed in the former too, but that can also be turned around, though perhaps not as easily since it requires good authoring contributions.) A key thing to improving TextBook, besides better information structure and presentation, is to make use of namespaces (e.g., help:, category:, template: …), and use them correctly. That’s the first kind of “help” documentation that needs written. Next is to create custom collaborative aides (via templates) that can be easily reused to communicate the status of any pages content and how it should be handled/used (e.g., “Work-in-progress”, “Warning! Content outdated,” “Stop! Page terminated.” etc…). In each case a custom div is created for the template that includes nice styling and a icon to help jazz it up. Wikipedia uses this technique a lot and it’s extremely effective at “offline” communication.
Content: Sometimes, and this seems to prove true for Txp, you just need to have writing professionals in the ranks who are dedicated to authoring/editing content or nothing gets done, or done very well. An online friend of mine, Tom Johnson at I’d Rather Be Writing, is one of many such kinds of trained people working on the WordPress Codex, and look how much better it is for it. It works like this: A plugin dev writes-up a piece about his next big thing, or whatever, but since he has no skill with words or clarity of meaning, somebody like Tom who has the knack jumps on it and makes it all nice and consumable. The key here is the dev doesn’t cry about someone editing his Hemingway prose. Everyone understands Tom is the Editor in Chief and that’s the end of it. That’s collaborative writing at it’s best, and it does not exist in this community. It needs to be found and implemented.
In summary…don’t create more work with a pointless system change. Simply improve the good platform you have. It CAN BE DONE!
Last edited by Destry (2008-06-25 14:59:30)
Offline
Re: [wiki] Textbook redesign 2
Patrick: …send me an email and the keys are yours.
Destry: …I don’t want the keys back, Patrick (sorry)
Q: Who wants them, and has the capacity to drive the site?
Offline
Re: [wiki] Textbook redesign 2
What I meant by that is I don’t want to be “leader” per se, and I think that’s all Patrick means too. Personally speaking, I think Patrick and I did pretty good together when we were co-managing the site. No real leader, but watching each others’ backs and keeping each other honest when dealing with the rest of you. That’s what’s needed. Three people even would be nice…
- Systems Admin (backup database, does version upgrades, adds extensions as considered worthwhile…)
- Interface (skin detail, styling for callaborative tool requests…)
- Editor (content architecture, copy clean up, … )
I’ve proposed doing the interface, and after that I’m willing to get back in the swing as wiki Editor, but I hope Patrick will stick around for the Systems stuff.
Last edited by Destry (2008-06-26 09:53:30)
Offline
Re: [wiki] Textbook redesign 2
That’ll be great!
Offline