W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2009

[whatwg] WebStandrd for theme

From: narendra sisodiya <narendra.sisodiya@gmail.com>
Date: Mon, 2 Nov 2009 11:56:28 -0500
Message-ID: <e3fb97f30911020856m53691ef3w212abeeeab0761a3@mail.gmail.com>
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}&nbsp;<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}">&laquo; 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
???????????????????????????
Received on Monday, 2 November 2009 08:56:28 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:18 UTC