New html5 extension. What do you think about it?

30 views
Skip to first unread message

qutic development

unread,
Mar 28, 2011, 3:37:43 AM3/28/11
to radiant...@googlegroups.com
Hi,

just added a new extension to github: https://github.com/jfqd/radiant-html5-extension

It adds html5 support by adding radius tags to radiant. A sample:

<r:html5:article class="first" data-id="34">

h1. Article Headline

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

</r:html5:article>

Do we need these radius tags? Are they helpful? Or do you think we can just write html elements like we normally do with divs (which confuses clients too...)? I think it is easier to understand with these radius tags for clients using radiant cms.

I´m curious to read what you think about it ;-)

Regards
Stefan

john

unread,
Mar 29, 2011, 9:29:24 PM3/29/11
to radiant...@googlegroups.com
what do you gain by using the radius tags over html elements? seems like unnecessary indirection to me.

qutic development

unread,
Apr 5, 2011, 7:10:30 AM4/5/11
to radiant...@googlegroups.com
It´s a proof of concept and maybe totally unnecessary ;-)

I thought that it might be easier for clients who are not familiar with html at all. And radius tags look different than html elements - and documentation for them are build in.

Jim Gay

unread,
Apr 5, 2011, 10:39:37 AM4/5/11
to radiant...@googlegroups.com, qutic development
On Tue, Apr 5, 2011 at 7:10 AM, qutic development
<mailin...@qutic.com> wrote:
> It´s a proof of concept and maybe totally unnecessary ;-)
>
> I thought that it might be easier for clients who are not familiar with html at all. And radius tags look different than html elements - and documentation for them are build in.

That's not a bad idea, to provide some documentation like that. And
you can provide some sensible defaults where needed.
But you should make it a bit more generic. It doesn't matter that it
comes from HTML5, and what will you do when you need HTML6 support?

If you want to just hook into the tag docs you should just use
<r:html:article> so that they could just search for "html" and skip
the need to know about what version it is.

When I first saw this I thought it wasn't needed either, but this
definitely has me thinking about how to provide better help for
non-html-savvy users. To any end user, what's the difference between
radius tags and HTML? I think it's just that those things with "r:" do
special stuff, and those without have no documentation. Bridging that
gap would be a good thing for users that want to advance their
understanding.

Perhaps we can find a nice way to provide some docs about HTML and
toggle that on/off in the tag reference.

>
> On 30.03.2011, at 03:29, john wrote:
>
>> what do you gain by using the radius tags over html elements? seems like unnecessary indirection to me.
>

--
Jim Gay
Saturn Flyer LLC
http://www.saturnflyer.com
571-403-0338

Reply all
Reply to author
Forward
0 new messages