質問

どこかにGoogleが公式ブロガーテンプレートの言語仕様を発表しましたか?私はこの質問とそれは多くの有用な情報を提供しましたしかし、私が探している特定のタグで私に助けを与えなかった(variableタグ)。

役に立ちましたか?

解決

While I haven't been able to find an official language specification, I have found a blog called bloggeD written by Bhavya Jain. Starting here:

http://thoughtsomething.blogspot.com/2009/01/understanding-blogger-template-1.html

Jain covers

  • Sections, widgets, includables, includes. b: namespace
  • Data access. data: namespace elements
  • How to use expr: namespace - customize links

These blog entries complement the blogger documentation -- Blogger › Help articles › Customize Your Blog › Layouts › Advanced Use, where the most relevant sections contain "Tags" in the title -- with more information (how "expr" works for examples) and more code samples.

The variable tag that you're referring to doesn't appear to be a tag as such. It's a string that you put within the CSS comment (inside your b:skin tag) so that you only have to define colors (and such) once:

<b:skin>
  <style type='text/css'>
  /*
   * Variable definitions:
   *  <Variable name='bgcolor' description='Page Background Color' 
       type='color' default='#fff'/>
   */
  body {
    background: $bgcolor;
    margin: 0;
    padding: 40px 20px;
  }
  </style>
</b:skin>

This sample is copied and pasted from Fonts and Colors Tags for Layouts. You can find it on the blogger help page I linked to above. I'd link to it again, but alas I am not cool enough.

他のヒント

I am a regular blogger and even i was wondering what kind of Language they are using and how the whole thing works?

I googled a lot to make changes in my Blogs and to understand how it works. I finally found this answer on Google's site only .. at http://code.google.com/apis/blogger/

The Blogger Data API allows client applications to view and update Blogger content in the form of Google Data API feeds. Your client application can use the Data API to create new blog posts, edit or delete existing posts, and query for posts that match particular criteria.

You can check Googles official Examples at

http://code.google.com/apis/gdata/docs/2.0/basics.html

I did not get variable thing you have asked.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top