[whatwg] WebStandrd for theme

narendra sisodiya narendra.sisodiya at gmail.com
Mon Nov 2 08:56:28 PST 2009


Many blogging site like posterous has theme editor for their
blog/website. It is a xml file looks more like html. Following file
was a long file which I have edited and deleted the unnecessary
content. I think this is a non-standard way to design theme. Do we
have any standard to such requirement ? OR we do not need any standard
at all for such requirement.

PS: I have searched on FBML too. Google says, It is a propri. standard
of facebook.


============== Sample Theme code =====
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
xmlns:fb="http://www.facebook.com/2008/fbml">
<head>

<body>
    <div id="centerbody">
        <div class="posterous_bar">
            {PosterousBar}
        </div>
        <div class="posterous_header">
            <a href="{PosterousURL}"><img
src="/images/posterous-header.png" width="75" height="35"/></a>
        </div>
        <div class="posterous_flash">
            {block:Flash/}
        </div>

        {block:HeaderImage}
            <div class="header_image">
                <a href="{SiteURL}"><img src="{HeaderImageURL-500}"
alt="{Title} - {Description}"/></a>
            </div>

        {Else}
            <div class="header">
                <h1><a href="{SiteURL}">{Title}</a></h1>
            </div>

            <div class="subhead">
            {block:Description}
                {Description} <h2><a
href="http://groups.google.com/group/iitdlug/">Join Mailing list </a>
OR  <a href="http://lug-iitd.org"> visit our website</a></h2>
            {/block:Description}
            </div>
        {/block:HeaderImage}

        {block:Show}
            <div class="back_to_blog">
                <a href="{SiteURL}">« Back to blog</a>
            </div>
        {/block:Show}


                    A   LOT OF CODE   DELETED ...


</body>
</html>


=================




-- 
┌─────────────────────────┐
│    Narendra Sisodiya ( नरेन्द्र सिसोदिया )
│    Web : http://narendra.techfandu.org
│    Twitter : http://tinyurl.com/dz7e4a
└─────────────────────────┘



More information about the whatwg mailing list