One important area that I believe needs consideration is the tools for
adding text and images.
There are no real effective tools for editing content quite as many of
my clients expect. The scenario is that open a word document, add some
text, stick a photo in the middle of the page, get the text to wrap
around the photo, add a caption to the bottom of the photo, change the
colour and height of the caption, do some fancy stuff to one of the
words, press print and they are away.
Now I know that I need to re-educate in respect of some of this stuff,
but even the placing of an image is restrictive with all cms' I have
used. Any ideas on how we might be able to improve this.
Rich
Since nobody has responded to this post maybe you guys out there are
thinking this is a waste of time so let me fill in a bit.
Currently in an online text editor if I place an image or a piece of
text they get allocated a value of <img...> or <p>. This means to do
anything creative with that data I have to style the img or p tag with
css. But it stops there. Unless of course I apply a containing div to
my post. We also don't often have the chance of deciding which
elements to apply. For instance to create a post I could substitute
the img and p tags with dl tags.
Having read this you might be wondering what planet I am on! Well,
Wordpress and many cms' have been developed to encompass a wide range
of layouts through the use of plugins. A couple of things could be an
online shop and a gallery. If there was someway of hard coding markup
into the template that a developer could hang things onto we could
make it very easy to create a huge variety of plugins. I am not sure
how it would work or whether it is possible - I am not a developer,
but is it possible to create a php tag that allows images to be given
tags in certain post/categories. Similarly would it be possible to do
the same with p tags. You could then tell your template to allocate 5
tags to the category called shop. The tags could be title,
description, price, image, thumbnail. I don't know how you would
translate this to the post and category but I hope you guys are
beginning to pick up what I am thinking about. If this was possible,
we could create a piece of software that could be developed and
deployed very easily for a number of apps!
Any thoughts now please?
--
Rich
http://www.cregy.co.uk
Embracing what God does for you is the best thing you can do for him.
Romans 12 v 1
Are you talking about a WYSWIG editor?
> Since nobody has responded to this post maybe you guys out there are
> thinking this is a waste of time so let me fill in a bit.
No, we don't think this is a waste of time. We're all busy focusing on
other aspects of the Habari code that we feel are slightly more
important at this stage. Habari is not yet a complete system, and there
are lots of rough edges.
As of right now, the Habari project team has made the conscientious
decision to _not_ bundle a WYSIWYG editor with Habari. We've done this
for several reasons:
* some of the WYSIWYG editor libraries have incompatible licenses with
Habari's Apache license
* lots of people have strong opinions about which WYSIWYG editor is
better, so we don't want to force our opinions on all our users
* few of the project team members actually use a rich text editor. As
is often the case in open source development, we scratch our own itches
first. This isn't an itch we have.
We think that WYSIWYG editing should be handled by plugins. Plugins can
be made for all of the popular editing libraries. Plugins are not bound
to be compatible with our license. Plugins can extend the editing tools
in unique ways.
Consider two examples of prior art:
* WordPress bundled TinyMCE. They pre-configure it for you. It's nigh
impossible to replace with an alternate rich text editing environment.
The media tools included in WordPress and WP's TinyMCE, frankly, suck.
* Drupal bundles no rich text editor. Several plugins exist to fill
this void, providing TinyMCE, FCKEditor, and a few others. There exists
another plugin called IMCE, which provides _phenomenal_ media management
functionality atop the TinyMCE plugin.
We're choosing to follow the Drupal example. Plugin authors can focus
on the rich text editor of their choice, and make it as wonderful as
possible. If we made it a core component, then any rich text editor
would run the risk of languishing under-developed while other core
aspects were resolved. This way, asynchronous development can occur.
> Having read this you might be wondering what planet I am on! Well,
> Wordpress and many cms' have been developed to encompass a wide range
> of layouts through the use of plugins. A couple of things could be an
> online shop and a gallery. If there was someway of hard coding markup
> into the template that a developer could hang things onto we could
> make it very easy to create a huge variety of plugins. I am not sure
> how it would work or whether it is possible - I am not a developer,
> but is it possible to create a php tag that allows images to be given
> tags in certain post/categories. Similarly would it be possible to do
> the same with p tags. You could then tell your template to allocate 5
> tags to the category called shop. The tags could be title,
> description, price, image, thumbnail. I don't know how you would
> translate this to the post and category but I hope you guys are
> beginning to pick up what I am thinking about. If this was possible,
> we could create a piece of software that could be developed and
> deployed very easily for a number of apps!
>
> Any thoughts now please?
I'm not entirely sure what you're driving at here. Habari supports
plugins. There aren't many of them, yet, because Habari is still
incomplete.
As Habari matures, so too will the plugin landscape, and all the
additional functionality that you seek can be done in plugins. I think.
If I've clearly misunderstood your point, please try again.
Cheers,
Scott
--
GPG 9CFA4B35 | ski...@skippy.net | http://skippy.net/
Is something like this a possible feature?
--
Matthew Maber, UK
Les sources seront mises prochainement en téléchargement. Toutes les
remarques seront bienvenues !
Jean-Marie Griess, FR
On May 16, 5:29 pm, Matthew <sfoo...@gmail.com> wrote:
> this is maybe irrelevent, but i love the textmate shortcuts -
> cmd-shift-l to insert a link (puts the clipboard contents in as a
> link) and the various other ones.
>
> Is something like this a possible feature?
>
i did it simple in my habari testblog:
1. open system/admin/publish.php
2. find <h4>Content</h4> and after add:
<p>
<h1></h1> <h2></h2> <h3></
h3> <strong></strong> <em></em>
<blockquote></blockquote> <ul></ul>
<li></li> <ol></ol> <code></code>
<br /> <p></p> <a href="http://
"></a> <img src="http://"
alt="name" />
</p>
than you get this:
<h1></h1> <h2></h2> <h3></h3> <strong></strong> <em></em>
<blockquote></blockquote> <ul></ul> <li></li> <ol></ol> <code></code>
<br /> <p></p> <a href="http://"></a> <img src="http://" alt="name" />
thats it...
greetz stefan
Les sources sont disponibles : http://www.habariblog.fr
Bons tests et n'hésitez pas de poster vos questions et remarques.
Jean-Marie Griess, FR