tags:

views:

15

answers:

0

I'm trying to load the body from one of my HTML pages with YQL. Problem is, YQL removes my HTML5 tags such as section and nav. Does anyone know how to prevent this behavior?

YQL statement I use:

select body from html where url='http://mechamoo.com' and xpath='*'

Corresponding YQL address:

http://query.yahooapis.com/v1/public/yql?q=select%20body%20from%20html%20where%20url%3D'http%3A%2F%2Fmechamoo.com'%20and%20xpath%3D'*'

Actual structure of HTML body I'm trying to load:

<section> 
    <h1>Mechamoo</h1> 
    <hr /> 
    <nav> 
        <a href="/chat">websocket chat demo</a> 
        <a href="/about">about mechamoo</a> 
        <a href="/blog">workblog</a> 
        <a href="/bio">bio</a> 
    </nav> 
</section>