Re: Markaby + HTML5

2011-11-18 Thread Anthony Durity
No, I guess not. The changes need tests and some more love. They work for
me.

On Sat, Nov 12, 2011 at 10:36 AM, Dave Everitt wrote:

> Anthony - that's great. I think I mentioned your fork in an earlier
> response - have those changes been been pulled into
> https://github.com/markaby/markaby/or
>  - if not - are they likely to be? - Dave
>
> Hi there,
>
> I have a Markaby fork that does HTML5
>
> https://github.com/igravious/markaby
>
> Use it like this:
>
> html_five do
>
> .
> .
> .
>
> end
>
> It recognizes header and footer and all the rest and sets the right
> incantations in DOCTYPE and the html and head tags. Patches welcome for
> bits I have missed out on. I've even removed tags that are deprecated, and
> added attributes that have been added. I've included URLs to a diff file
> between the HTML4 and 5 spec so it should be easy to build on what I have
> done. Hop you find it useful and hope it does what you need.
>
> Regards,
> Anthony
>
> On Sat, Nov 5, 2011 at 2:22 PM, Nokan Emiro  wrote:
>
>> Hi,
>>
>> this is not really a Camping question, but a Markaby one, so please don't
>> be angry, please!  :)
>>
>> How can I use HTML5 tags (for example ) and HTML5 compliant
>> attributes (for example data-content="xxx") in Markaby?
>> It throws an error when I try this.  I've workarounded it with text
>> ""   and  text ""  but this isn't the
>> nicest solution.  How would you do these?
>>
>> u.
>>
>> Camping-list mailing list
>> Camping-list@rubyforge.org
>> http://rubyforge.org/mailman/listinfo/camping-list
>>
>
>
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
>
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Re: Markaby + HTML5

2011-11-12 Thread Dave Everitt
Anthony - that's great. I think I mentioned your fork in an earlier  
response - have those changes been been pulled into https://github.com/markaby/markaby/ 
 or - if not - are they likely to be? - Dave



Hi there,

I have a Markaby fork that does HTML5

https://github.com/igravious/markaby

Use it like this:

html_five do

.
.
.

end

It recognizes header and footer and all the rest and sets the right  
incantations in DOCTYPE and the html and head tags. Patches welcome  
for bits I have missed out on. I've even removed tags that are  
deprecated, and added attributes that have been added. I've included  
URLs to a diff file between the HTML4 and 5 spec so it should be  
easy to build on what I have done. Hop you find it useful and hope  
it does what you need.


Regards,
Anthony

On Sat, Nov 5, 2011 at 2:22 PM, Nokan Emiro   
wrote:

Hi,

this is not really a Camping question, but a Markaby one, so please  
don't be angry, please!  :)


How can I use HTML5 tags (for example ) and HTML5 compliant  
attributes (for example data-content="xxx") in Markaby?
It throws an error when I try this.  I've workarounded it with text  
""   and  text ""  but this isn't  
the nicest solution.  How would you do these?


u.

Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Re: Markaby + HTML5

2011-11-08 Thread Anthony Durity
Hi there,

I have a Markaby fork that does HTML5

https://github.com/igravious/markaby

Use it like this:

html_five do

.
.
.

end

It recognizes header and footer and all the rest and sets the right
incantations in DOCTYPE and the html and head tags. Patches welcome for
bits I have missed out on. I've even removed tags that are deprecated, and
added attributes that have been added. I've included URLs to a diff file
between the HTML4 and 5 spec so it should be easy to build on what I have
done. Hop you find it useful and hope it does what you need.

Regards,
Anthony

On Sat, Nov 5, 2011 at 2:22 PM, Nokan Emiro  wrote:

> Hi,
>
> this is not really a Camping question, but a Markaby one, so
> please don't be angry, please!  :)
>
> How can I use HTML5 tags (for example ) and HTML5
> compliant attributes (for example data-content="xxx") in Markaby?
> It throws an error when I try this.  I've workarounded it with
> text ""   and  text ""  but this
> isn't the nicest solution.  How would you do these?
>
> u.
>
>
>
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
>
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Re: Markaby + HTML5

2011-11-05 Thread Bartosz Dziewoński
2011/11/5, Jenna Fox :
> If you add the line '@auto_validation = false' to the beginning of your
> layout, markaby aught to stop minding if you use things unspecified in
> xhtml. I'm not too sure if that will let you use unknown tags, or just
> unknown attributes.
>
> If you have any trouble getting unknown tags to work, try using the tag!
> method:
>
> tag! 'footer', arg, arg, arg…
>
> effectively is a more explicit and direct version of:
>
> footer arg, arg, arg…
>
> Hope that helps! Hopefully we'll have a html5-friendly markaby soon. :)
>
> —
> Jenna
>
>
> On 05/11/2011, at 11:22 PM, Nokan Emiro wrote:
>
>> Hi,
>>
>> this is not really a Camping question, but a Markaby one, so
>> please don't be angry, please!  :)
>>
>> How can I use HTML5 tags (for example ) and HTML5
>> compliant attributes (for example data-content="xxx") in Markaby?
>> It throws an error when I try this.  I've workarounded it with
>> text ""   and  text ""  but this
>> isn't the nicest solution.  How would you do these?
>>
>> u.
>>
>>
>> ___
>> Camping-list mailing list
>> Camping-list@rubyforge.org
>> http://rubyforge.org/mailman/listinfo/camping-list
>
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
>


-- 
-- Matma Rex
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Re: Markaby + HTML5

2011-11-05 Thread Jenna Fox
If you add the line '@auto_validation = false' to the beginning of your layout, 
markaby aught to stop minding if you use things unspecified in xhtml. I'm not 
too sure if that will let you use unknown tags, or just unknown attributes.

If you have any trouble getting unknown tags to work, try using the tag! method:

tag! 'footer', arg, arg, arg…

effectively is a more explicit and direct version of:

footer arg, arg, arg…

Hope that helps! Hopefully we'll have a html5-friendly markaby soon. :)

—
Jenna


On 05/11/2011, at 11:22 PM, Nokan Emiro wrote:

> Hi,
> 
> this is not really a Camping question, but a Markaby one, so
> please don't be angry, please!  :)
> 
> How can I use HTML5 tags (for example ) and HTML5
> compliant attributes (for example data-content="xxx") in Markaby?
> It throws an error when I try this.  I've workarounded it with
> text ""   and  text ""  but this
> isn't the nicest solution.  How would you do these?
> 
> u.
> 
> 
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list

___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Re: Markaby + HTML5

2011-11-05 Thread Dave Everitt

Hi Nokan

for current efforts in this direction, see here:
https://github.com/markaby/markaby/issues/18
and here:
https://github.com/markaby/markaby/pull/26

and note:
https://github.com/igravious/markaby/commit/8be76d138228a32500f96140afca79bf95751e40

Or even:
https://github.com/zimbatm/miniby
but note "Miniby is just a small experiment I did over my trip to  
london. Some ideas I wanted to try-out while implementing a Markaby  
clone. Don’t expect no support of future development :-)"


DaveE


this is not really a Camping question, but a Markaby one, so
please don't be angry, please!  :)

How can I use HTML5 tags (for example ) and HTML5
compliant attributes (for example data-content="xxx") in Markaby?
It throws an error when I try this.  I've workarounded it with
text ""   and  text ""  but this
isn't the nicest solution.  How would you do these?


___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list


Markaby + HTML5

2011-11-05 Thread Nokan Emiro
Hi,

this is not really a Camping question, but a Markaby one, so
please don't be angry, please!  :)

How can I use HTML5 tags (for example ) and HTML5
compliant attributes (for example data-content="xxx") in Markaby?
It throws an error when I try this.  I've workarounded it with
text ""   and  text ""  but this
isn't the nicest solution.  How would you do these?

u.
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list