Re: [whatwg] WebStandrd for theme

2009-11-03 Thread narendra sisodiya
On Tue, Nov 3, 2009 at 2:25 PM, Markus Ernst  wrote:
> narendra sisodiya schrieb:
>>
>> On Mon, Nov 2, 2009 at 12:43 PM, Nikita Popov  wrote:
>>>
>>> narendra sisodiya schrieb:

 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.
>>>
>>> In the document you provided I couldn't find any tag using the
>>> fb-namespace.
>>
>> The deleted content was having fb markups, My concern was more on
>> {{something}} type of things. To me it looks highly non-standard.
>
> Yes. Re-read the next part of Nikitas Answer:
>
>>> All the other things, like {something}, are a typical method to mark up
>>> things to be inserted in Templates. They are processed by a templating
>>> engine. And I really do think that things like this don't belong to HTML,
>>> they are many templating systems, many PHP developers have their own (as
>>> I
>>> do) using markup that's convenient for them.
>
> This means that the {something} type of things are processed by a template
> application on the web server; they will typically be replaced by the
> appropriate HTML output, before the code is sent to the client (your
> browser). Check the source code in the browser to verify this. There is no
> standard for server-side template systems; HTML covers the client side.
Thanks , I got my answer.
Sorry for little noice.


Re: [whatwg] WebStandrd for theme

2009-11-03 Thread Markus Ernst

narendra sisodiya schrieb:

On Mon, Nov 2, 2009 at 12:43 PM, Nikita Popov  wrote:

narendra sisodiya schrieb:

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.

In the document you provided I couldn't find any tag using the fb-namespace.

The deleted content was having fb markups, My concern was more on
{{something}} type of things. To me it looks highly non-standard.


Yes. Re-read the next part of Nikitas Answer:


All the other things, like {something}, are a typical method to mark up
things to be inserted in Templates. They are processed by a templating
engine. And I really do think that things like this don't belong to HTML,
they are many templating systems, many PHP developers have their own (as I
do) using markup that's convenient for them.


This means that the {something} type of things are processed by a 
template application on the web server; they will typically be replaced 
by the appropriate HTML output, before the code is sent to the client 
(your browser). Check the source code in the browser to verify this. 
There is no standard for server-side template systems; HTML covers the 
client side.


Re: [whatwg] WebStandrd for theme

2009-11-02 Thread narendra sisodiya
On Mon, Nov 2, 2009 at 12:43 PM, Nikita Popov  wrote:
> narendra sisodiya schrieb:
>>
>> 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.
>
> In the document you provided I couldn't find any tag using the fb-namespace.
The deleted content was having fb markups, My concern was more on
{{something}} type of things. To me it looks highly non-standard.

> All the other things, like {something}, are a typical method to mark up
> things to be inserted in Templates. They are processed by a templating
> engine. And I really do think that things like this don't belong to HTML,
> they are many templating systems, many PHP developers have their own (as I
> do) using markup that's convenient for them.
>
> Nikita Popov
>



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


Re: [whatwg] WebStandrd for theme

2009-11-02 Thread Nikita Popov

narendra sisodiya schrieb:

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.
In the document you provided I couldn't find any tag using the 
fb-namespace. All the other things, like {something}, are a typical 
method to mark up things to be inserted in Templates. They are processed 
by a templating engine. And I really do think that things like this 
don't belong to HTML, they are many templating systems, many PHP 
developers have their own (as I do) using markup that's convenient for them.


Nikita Popov


[whatwg] WebStandrd for theme

2009-11-02 Thread narendra sisodiya
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 =

http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"
xmlns:fb="http://www.facebook.com/2008/fbml";>





{PosterousBar}





{block:Flash/}


{block:HeaderImage}




{Else}

{Title}



{block:Description}
{Description} http://groups.google.com/group/iitdlug/";>Join Mailing list 
OR  http://lug-iitd.org";> visit our website
{/block:Description}

{/block:HeaderImage}

{block:Show}

« Back to blog

{/block:Show}


A   LOT OF CODE   DELETED ...






=




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