Wednesday, December 9, 2009

Starting Garment Manufacturing Business

Hide blog on Blogger Test Post

expandable post to Blogger last native
Posted by Tenebrae
few days ago announced the possibility of using native also expandable posts in Blogger: Blog main page displays only a portion of 'article and the link "Read more ..." we will read the rest. Nothing new for those who are already using this feature after you manually change the template as I suggest in this post, or perhaps using the automatic version. image From my tests also show that in fact some additional benefit that the new port: the non-visible part of the articles is loaded (in the same way as they do Wordpress or other CMS), making it much more streamlined loading the main page blog.
Let's see how it operates in the default Blogger templates and custom ones made by various authors.
Warning: Some of you who have tried this change had problems with the template. Although I propose a solution, I recommend you backup your Blogger template before you edit it and maybe do a blog in the first test. Activate expandable post for templates Default
The possibility of using the expandable post is linked to the new editor updated Blogger, which is activated under Settings-> General, select Select Post Editor updated editor: image
Save the settings and at this point when writing Blogger post editor to see the new features. What interests us in particular is the last button: image In the body of the post, the point where we want to stop the preview just click on the button to insert a dividing line of text in the selected point: image The part above the gray line will preview that will appear only in the main blog page, while the part below will be displayed with the link "Read more ..." The link text that appears in reality to be customized by the Layout-> Page Elements, click on " Change "in Blog Post:
And 'final effect will be the same as what you see in this blog. Activate expandable post for templates Custom
If instead of using a default Blogger template you have chosen to download an unofficial, after following the above steps you will need to make minor changes to the template to display the link to the full post. From Layout-> Edit HTML, select "Expand Widget Templates" and look for this line of code:
Next, paste this:



Save the template and write a new post using the new feature to see it work.
If the first line of code is present in several places in the template, you insert new rows in the section that appears on the main page (if you followed this guide, go after the second anniversary of the Code). When in doubt, you can paste it after each line that you will find no side effects. If you already use the expandable post with the technique of inserting special HTML tag in the body of the article, you can bring together the two systems without any problems (obviously, if you use the new system will not have to continue fullpost to enter the code inside the post, otherwise you will see twice the link that refers to the full article). If instead use the automatic version, you should delete the old changes (deleting the rows inserted by the template) and make new ones, because the two can not coexist. problems with other widgets as automatic positioning LinkWithin
If you use widgets or how LinkWithin Outbrain in predefined templates, you may find that the link "Read more ..." will end under these widgets. To resolve this problem, go to Layout-> Edit HTML and look for these lines of code:














after removing and follow the instructions that I gave to the custom templates. Basically, lines of code will be moved above.
problems with other elements of the template (new)

Several readers have reported that after doing this modification, the sidebar has fallen below the area of \u200b\u200bthe post. The cause of the problem and how to fix it I talk about it here.
expandable post to Blogger with Windows Live Writer

If you use Windows Live Writer to write your post to be published on the blog, unfortunately you will not find the button to the inclusion of separation, then the code must be placed by hand in the post. Select "Source" editor to see the HTML source of the item you're writing, and the point where you want it to end the preview insert this:






like I did here:

image

A little 'more complicated, but as long as Microsoft will not include this feature in Windows Live Writer there are other ways. You can also save your post as a draft on the blog and put there the separation, but personally I avoid always to mix the two.
Advantage of expandable post

As I said at the beginning of the post, apart from the convenience of a consultation to allow faster players to the latest articles published from the main blog page, there is the great advantage that the non-visible part of the post does not load, making it faster loading the blog and probably more attractive to search engines.

To test the loading time of blog you can use the tool made available by Pingdom, Page or Speed \u200b\u200bprovided by Google.


0 comments:

Post a Comment