Thursday, September 16, 2010

Average Cost For A Week At Vail

comment hidden code in the code

I found a way to make comments to the code:
1) \u0026lt;! - //--> .,.,.,.,.,.,

really I have also seen the closure simply so -> .

We test
If the Edit HTML tab I copy the following code (just to make the example codicetto! ...):

\u0026lt;! - Now I post a link //-->
\u0026lt;a href="http://cibo-medicina.blogspot.com/"> The Food Medicine \u0026lt;/ a>
\u0026lt;! - here //--> end my link

The RESULT in Table Writing is: The Food Medicine

rightly comments have been left out, and was interpreted the link!

seems a small thing, but it's very useful if you write code very quickly and there is need to identify what is the piece of code.
Simple examples: Here ends the header, here starts the wrapper, the wrapper ends here, here begins the sidebar, etc..
even more useful if we have added third-party code, not just Blogger, or are we trying to do experiments.

In truth I found a way to make the following comments in the code:

2) / * * .,.,.,., /

but this does not work. I do not know why, I think depends on different languages. Try. And if somebody explains it, thanks!
newbie;)

Thursday, September 9, 2010

When Are You Fertile After Dnc

42-most read posts

Now Blogger has made available a gadget for "the most popular post" . First we need to use of the script. Here's one made available by the site blue.
Go to your blog, log, create a new type of gadget HTML / Javascript. Invent a catchy title "read and loved," "the best", "unforgettable", etc.. to be included in the first entry box. Then, below, paste the following code:

\u0026lt;script type="text/javascript">
start_views_num = 1 ;
limit = 5 ;
\u0026lt;/ script>
\u0026lt; ; script src = "http://www.ilsitoblu.com/lacameradeiblog/script/piuvisti/piuvisti.js" type = "text / javascript"> \u0026lt;/ script>

This gadget can be changed by adjusting the numbers indicated. The first lets you choose the number of views that the post must have had to appear in the gadget. The second indicates how many posts will be listed in the gadget.

The script does not seem to work for some time, it is actually necessary for the post being read by someone before they appear in this gadget.
newbie;)

Thursday, September 2, 2010

Painful Pimples On Stomach

41-create their own "comments"

I found this code in the post on Thursday, May 31, 2007 welcometojackass.blogspot.com. The blog no longer exists ...
used to create your own "comments" in the footer of each post.

So: at the bottom of each post, next to the author, date and time of publication, there is a link to comments.

The word "comments" you seem neutral, tasteless? Well, the you can replace with another or with a phrase that gives a personal touch to your blog. For example: "Who says I", "Other views", "Add your opinion", etc..
In my blog Omeo Self Care are successful in this endeavor and to the side you can see a screen capture. How it works?
Go to your blog, login, click on the link at the top right NEW POST, the page that opens go to the Design tab, EDIT HTML sottotab and tries to break this code :
\u0026lt;span class='post-comment-link'>
\u0026lt;b:if cond='data:blog.pageType != "item"'>
\u0026lt; b: if cond = 'data: post.allowComments'> \u0026lt;a
class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'> \u0026lt;b:if cond='data:post.numComments == 1 1'> \u0026lt;data:top.commentLabel/> \u0026lt;b:else/> \u0026lt;data:post.numComments/> \u0026lt; Date: top.commentLabelPlural /> \u0026lt;/ b: if> \u0026lt;/ a>
\u0026lt;/ b: if>
\u0026lt;/ b: if>
\u0026lt;/ span>
I find about half of my html.
and replace it with the following :
\u0026lt;span class='post-comment-link'>
\u0026lt;b:if cond='data:blog.pageType != "item"'>
\u0026lt;b:if cond='data:post.allowComments'>
\u0026lt;a class = 'comment-link' expr: href = 'data: post.addCommentUrl' expr: onclick = 'data: post.addCommentOnclick '>
\u0026lt;b: if cond =' data: post.numComments == 1 '> POST THIS COMMENT, TELL ME WHAT YOU THINK! (\u0026lt;data:post.numComments/>) \u0026lt;b:else/> Comment on this post, TELL ME WHAT YOU THINK! (\u0026lt;data:post.numComments/>) \u0026lt;/ b: if> \u0026lt;/ a>
\u0026lt;/ b: if>
\u0026lt;/ b: if>
\u0026lt;/ span>
In the spaces highlighted in yellow
write what you want.
Save the template and publish. If you're lucky, you can now see the effect of your sentence instead dell'asettico "comments" and the number of entries is between parentheses to the right (not the left as before).
If you are not lucky , I plug my ears while you send me damn it. Did you remember to take a backup of model before changing the code?

PAY ATTENTION
From 2007 to 2010, perhaps something has changed ... I like that the code is not written by Jackass, mine is this:

\u0026lt;span class='post-comment-link'>
\u0026lt;b: if cond = 'data: blog.pageType! item = " " '>
\u0026lt;b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:post.allowComments'>
<a class='comment-link' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
<b:if cond='data:post.numComments == 1'>1 <data:top.commentLabel/><b:else/><data:post.numComments/> <data:top.commentLabelPlural/></b:if></a>
</b:if>
</b:if>
</b:if>
\u0026lt;/ span>
As you can see there is one more line (and closing more). But it was enough to copy from \u0026lt;a class to \u0026lt;/ a> leaving the rest unchanged. If you have a different code, ragionaci a bit 'before you act ...
way, do you like my sentence a little 'lollipop?
newbie;)