cotonti.com : HTML parsing vs BBCODE https://www.cotonti.com Последние сообщения в теме Cotonti en Wed, 22 Oct 2025 02:08:37 -0000 urlkiller
i also have no time but its also no.1 on my lists...]]>
чт, 05 авг 2010 08:51:53 -0000
ez
PFS is on my most wanted list too...
The current one is OLD and really ugly and it should have been replaced years ago.

I have made an uploader plugin ezpfs... and that was a start for changing all off this.
I have integrated it into the editor, but it is not (by far) a pfs replacement yet !!!
see the screenshot: ezpfs-integration_494.jpg

I wanted a tree view
better UI
MUCH better way to select files when needed in a page (this one is really bad)

HELL, maybe I will make a start at this pfs thing... nobody else seems to want to develop it.
(My time is limited however, BUT the pfs is one of the things that really needs to be replaced)

ez

By the way this is off topic... (the topic is about an editor, not pfs)]]>
чт, 05 авг 2010 03:50:57 -0000
urlkiller

maybe ill give it a try...]]>
чт, 05 авг 2010 01:10:52 -0000
donP
I think PFS will never change in Cotonti... plenty of people answered for this but (after Koradhil left the project of a new PFS) this isn't a priority... and it will never be, I'm sure... unfortunately :(]]>
вт, 03 авг 2010 18:03:29 -0000
urlkiller
but i was thinking about a more cotonti integrated solution... the filemanager packed in his release is a simple upload module and isnt directly connected with the pfs system...]]>
вт, 03 авг 2010 17:26:44 -0000
donP CkEditor, look here:

http://www.cotonti.com/downloads/plugins/pages-lists/CKEditor?highlight=CKEDITOR

I think this would be my choice, I think ckeditor is actually the best, most complete, fastest WYSIWYG free editor around. And, with Alex300 plugin is easy to integrate in Cotonti.]]>
вт, 03 авг 2010 17:12:32 -0000
urlkiller
isnt it better to think first about the pfs solution. as i understand it most of the WYS.. Editors have the option to search for files on the server.

this is one of the feastures that makes the difference for users to edit and change fast their contents.

so it maybe better to make a up-to-date version of the pfs that we could integrate in the new WYS.. Editor?

or didt i get it completly wrong and the file manager thing is integrated in the tinyMCE ?]]>
пн, 02 авг 2010 06:57:50 -0000
ven7ura # ez : This is an old discussion, But have a look at :

http://plugins.jquery.com/project/CLEditor

I saw the impressive demo :))

Anyway I hope that BBCODE stays in too, I just like it it gives great control over the output.
And I know.. supporting 2 systems is a nightmare.

WoW!

I sure hope this would be implemented for simplicity.]]>
вс, 01 авг 2010 07:48:02 -0000
ez
http://plugins.jquery.com/project/CLEditor

I saw the impressive demo :))

Anyway I hope that BBCODE stays in too, I just like it it gives great control over the output.
And I know.. supporting 2 systems is a nightmare.]]>
пт, 30 июл 2010 15:24:26 -0000
foxhound # Trustmaster : Personally, I'd love to drop BBcode and muliparser support and stick with HTML, because it would make coder's life much easier. But I think we need to make at least a global poll, considering the point of view of existing site owners.
I hope bbcode support will stay in, we are just almost done moving our website to Cotonti and now I read this :(
Months (over a year) of work and I sure am not going to change over 10k pages to html, not to mention the increase of workload only html support would give me.

Anyway, I hope bbcode support stays in.]]>
пн, 19 апр 2010 01:12:58 -0000
donP the last is a bit outdated).
And we can contestually ask wich WYSIWYG editor we want by default in Cotonti (CKeditor or tinyMCE I think they are the best at this moment).]]>
вт, 13 апр 2010 02:56:49 -0000
Trustmaster
Thanks for linking to the comparison. I think we can get permissions of shipping HTMLPurifier with Cotonti. But even the Lite version will add 180kb to Cotonti's 7-zip.]]>
вт, 13 апр 2010 00:48:02 -0000
donP It would't be such a radical transition.
If you enable HTML cache in admin panel (almost every users has got it enabled) you can have the html version of your entire website and then create a simple query to copy/paste the page_html content to page_text and change the page_type from 0 to 1.
I've done like that in my local-test-website to have all pages converted to html.

For HTMLPurifier, as I said before, That library is the best effective XSS protection solution (compared with others)... and it has got some speed-up the process and have a ligther code (se here: http://htmlpurifier.org/docs/enduser-slow.html ).]]>
пн, 12 апр 2010 22:07:53 -0000
Trustmaster
And we cannot just abandon BBcode because there are many Cotonti sites with thousands of pages using BBcode markup.]]>
пн, 12 апр 2010 21:28:56 -0000
donP # Koradhil :In my opinion, we should have ditched BBcode long ago, in favor of a decent editor like TinyMCE (my editor of choice). I agree ;) Have you already tried to implement TinyMCE in Cotonti?

For HTMLPurifier, a plugin is the faster solution, but I think we can project to include it like a module, if Cotonti is going in that (modules) direction...

Added 1 day later:

Sometimes I feel like asking useless questions to Cotonti Community... :/ :(]]>
вс, 11 апр 2010 01:57:10 -0000
GHengeveld
In my opinion, we should have ditched BBcode long ago, in favor of a decent editor like TinyMCE (my editor of choice).]]>
вс, 11 апр 2010 01:43:40 -0000
donP http://htmlpurifier.org/download:
This library is open-source, licensed under the LGPL v2.1+.
...So I think it can be included in Cotonti... at least as a plugin...

Actually other famous CMS use that library:
http://htmlpurifier.org/:
# Phorum (in use at our very own forums!)
# MODx
# Drupal by Bart Jansens
# Wordpress and bbPress by John Godley
# Joomla by Double D
# CodeIgniter by Andy Mathijs
# Symfony by Alexandre Mogère
# CakePHP by Jose Diaz-Gonzalez

That library is the best effective XSS protection solution (compared with others)... and it has got some speed-up the process and have a ligther code (se here: http://htmlpurifier.org/docs/enduser-slow.html).]]>
вс, 11 апр 2010 01:18:28 -0000
Trustmaster
The HTML purifier is way too heavy (~1MB of code) and it's GPL, so it cannot be included in Cotonti. We need a lightweight BSD/MIT solution.]]>
пт, 09 апр 2010 23:42:06 -0000
donP CKeditor or TinyMCE, more usable from beginners webbers.
The advantages are not only facility for beginners, but very best interface (mostly in filling links and images attributes for regulare W3C markup rules), most control in page layout for web administrators (tables, divs, spans etc).
Other advantage is less database consumption (no need to have page_text and page_html tables).
But I'm aftraid of security related issues...
How much Cotonti system is sucured from malicious HTML contents inserted by potential hackers if HTML parsing enabled instead of BBCODE parsing?

Added 1 day later:

No opinions here? :/

Added 15 minutes later:

An what about http://htmlpurifier.org for security issues?
Some CMS/CMF are using that library...]]>
ср, 07 апр 2010 19:51:30 -0000