ADS

News!! Post.Snippet Together Amongst Post.Thumbnail: Tools For Summarizing Your Blog

The snippet together with thumbnail attributes correct away appear to final available for all Blogger posts, even out though they're non documented inward Blogger's official list.  This article shows documents what I've industrial industrial plant life life out almost them.

"Fields" inward Blogger

test blog    (by altering the template to explicity exhibit these things, together with thus making posts alongside exceptional possible values.    And this is what I've found.


Post.Snippet

If a ship has a jump-break before grapheme 140, then the snippet is all the text before the jump-break.

But if the ship does non send hold a jump-break, or it is subsequently on grapheme 140, thus the snippet is the starting fourth dimension 140 or thus characters.   (Line breaks are shown when the snippet is displayed, inward Blogger, but they are non included inward the grapheme count).

Currently, the entirely means to command what is inward the snippet is to pose the contents at the starting fourth dimension of the post.  There is no other means to edit it.    (You may notice that all the posts inward starting fourth dimension alongside a paragraph or ii inward bold.   This is how I flag the "snippet" code to myself.)


Post.thumbnail

I haven't been able to operate out the rules for this item past testing options.   So far I know that:
  • Not every ship has one, sometimes it's blank even out if there's an image inward the post
  • It's non automatically the starting fourth dimension image inward the post
  • It's not automatically the halt image inward the post.
  • It's non the automatically the biggest image inward the post.

I correct away strongly suspect that it's the starting fourth dimension image inward a ship that is both hosted inward Picasa-web-albums together with  over a sure enough size (possibly almost 18kb).

And an English coffee-drinker has worked out that it
creat[es] a 72 pixel foursquare thumbnail [by scaling] the image thus that the brusk edge is 72 pixels long together with thus crops the other dimension to retain the nub of the image

He as expert suggests controlling the thumbnail pick past putting the image that you wish at the rattling starting fourth dimension of the ship together with putting  style="display:none;"   into the <img    >   statement.    I don't like this idea, though, inward illustration Google sees it as "hiding" content from their spider.

NB   or thus people may refer to the post-thumbnail item as the "cover picture" for a blog-post.   This is a valid idea, although the icon exhibit cannot final manipulated inward the same was that other systems allow cover-picture editing.


What your readers see

Unless you edit your weblog template to operate these values inward a visible way, thus your readers testament non run across anything unlike almost your thumbnail together with snippet - they simply gibe off like regular parts of the post.

But at that topographic signal are or thus specific ways that you powerfulness to operate them, including:
  • Setting the post-description meta-tag to the value of post.snippet
  • Editing the template to entirely exhibit the snippet or thumbnail on sure enough types of pages.

And if you allow your visitors to run across your weblog using Dynamic templates, thus I'm 99.9% sure enough that the post.snippet is the icon exhibit used to stand upward upward for your weblog inward or thus of the to a greater extent than graphical formats.


Using the post.thumbnail together with post.snippet tags

If you are happy to send hold the disadvantages of edit your blog's template, thus you tin forcefulness out exhibit the snippet together with thumbnail anywhere inside the weblog ship area.

The code to operate to display them is:
<data:post.snippet/> - for the snippet, and
<img expr:src='data:post.thumbnailUrl'/>  - for the thumbnail

You postulate to pose the thumbnail into an image tag because, of course, it is an image.



Do you send hold whatever to a greater extent than information?

In this article, I've shared what I send hold industrial industrial plant life life out almost these ii fields past doing or thus testing.   But it's in all probability that I've missed or thus things out.

Have you been able to find, or operate out, whatever to a greater extent than detailed rules almost what post.thumbnail shows?

What else send hold you industrial industrial plant life life out almost these tags - or whatever other tags that are available inward our blog-templates but non inward the official list?




Related Articles

Installing code into your blog

Centering gadgets inward your blog.

What are dynamic templates

Advantages together with disadvantages of editing your blog's template

Putting text together with pictures side-by-side

Subscribe to receive free email updates:

ADS