Showing posts with label blogger hack. Show all posts
Showing posts with label blogger hack. Show all posts

Blogger Automatic Read more Scripts

Wednesday, November 4, 2009

As we know that now Blogger has supported the function to cut off the article or known as Read more function. But recently, the automatic Read more is more popular because the automatic Read more will cut off the posts automatically without doing anything.
automatic-Read-more

If you want your blog has the automatic Read more function, you can follow the easy steps below. Even Kang Rohman has discussed it previously in another blog, at blogtemplate4u.
The following are the steps:

  1. Login to blogger with your ID.
  2. Click Layout
  3. Click Edit HTML
  4. Click Download Full Template and backup your template to anticipate if error occurs.
  5. Tick the small box beside the words Expand Widget Templates.
    expand-widget-templates

  6. Copy and paste the JavaScript below exactly above the code </head>


    <script type='text/javascript'> var thumbnail_mode = &quot;no-float&quot; ; summary_noimg = 430; summary_img = 340; img_thumb_height = 100; img_thumb_width = 120; </script>
    <script type='text/javascript'>
    //<![CDATA[
    function removeHtmlTag(strx,chop){
    if(strx.indexOf("<")!=-1)
    {
    var s = strx.split("<");
    for(var i=0;i<s.length;i++){
    if(s[i].indexOf(">")!=-1){
    s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
    }
    }
    strx = s.join("");
    }
    chop = (chop < strx.length-1) ? chop : strx.length-2;
    while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++;
    strx = strx.substring(0,chop-1);
    return strx+'...';
    }
    function createSummaryAndThumb(pID){
    var div = document.getElementById(pID);
    var imgtag = "";
    var img = div.getElementsByTagName("img");
    var summ = summary_noimg;
    if(img.length>=1) {
    imgtag = '<span style="float:left; padding:0px 10px 5px 0px;"><img src="'+img[0].src+'" width="'+img_thumb_width+'px" height="'+img_thumb_height+'px"/></span>';
    summ = summary_img;
    }
    var summary = imgtag + '<div>' + removeHtmlTag(div.innerHTML,summ) + '</div>';
    div.innerHTML = summary;
    }
    //]]>
    </script> 



    Or you can download this script: download



  7. Find the code <data:post.body/> on your template (tips: press Ctrl + F on your keyboard then write <data:post.body/> and hit Enter).
  8. Remove the code and change with the code below:







    <b:if cond='data:blog.pageType != &quot;item&quot;'>
    <div expr:id='&quot;summary&quot; + data:post.id'><data:post.body/></div>
    <script type='text/javascript'>createSummaryAndThumb(&quot;summary<data:post.id/>&quot;);
    </script>
    <span class='rmlink' style='float:right;padding-top:20px;'>
    <a expr:href='data:post.url'>&#187;&#187;&#160;&#160;read more</a></span>
    </b:if>
    <b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/>
    </b:if>


  9. Click SAVE TEMPLATE.
  10. Done


By installing the script, your posts will be cut off automatically by the Read more function. Something interesting from this script is that it will create a thumbnail from the image that you include in your post.


In additional, you can adjust the value of the code below to fit your posts height.


summary noimg= 430 – the height of article’s cutting without image

summary img=340 – the height of article’s cutting with image




Enjoy!

Forex Signals

Monday, November 2, 2009

You may realize so much that this life is full of challenges and risks, but you have to run your life whatever you will face and experience. You have to continue your life although you feel it is very hard to go on. Especially, at this era, many people get difficulty in earning a living, so they try to find the additional incomes in order to survive. You may be like those people so you have to be clever in determining the right choice for your life. If you have heard the term of forex trading, you can involve in this kind of trade to gain the additional income, or maybe your main income. Forex trading is a kind of investment by buying and selling the currency to get the profits. If you know the trick and strategy very well, you can have the big profits.

I am not one of forex traders, but my boss is. I often hear from him that he can gain a large amount of money by trading the forex. I think if you are interested in this kind of trade, you have to involve in it although there is always a risk. Before doing that, you can learn first by reading the forex signals provided by the experts, which you can get from internet. I think I can say that it is the Forex Investment Advisory so you will really get advantages. Then you will be very capable in trading the forex. Check out this website: SandsTurtlefx.com.

You also should consider reading the ETF trading signals if you invest in stock options, future options, or currency options. ETF (stands for Exchange Traded Fund) is an investment vehicle traded on stock exchanges. Visit Chuckhughesadvisory.com to know more about ETF and ETF trading signals. For maximizing your investments in future options, you can use the futures trading signals, and for this goal, check out Sandsturtlefutures.com.

Labels:

How to display the date of post in the same day

Thursday, October 15, 2009

blogger When you post more than one articles in one day, you will have only one post with its date. It is your last post. That’s not a problem because by default, it will be like that. Blogger cannot display the date of post in the same day.

Anyway, if you are interested in displaying the date of post in all posts, there is a simple hack to display the date of post.

 

Below are the steps:

 

  1. Please log in to blogger with your ID
  2. Click Layout
  3. Click Edit HTML tab
  4. Check the small box next to the text “Expand Widget Template"

    expand-template-widget

  5. Find this code :

    <b:if cond='data:post.dateHeader'>
            <h2 class='date-header'><data:post.dateHeader/></h2>
          </b:if>

  6. Remove the code and replace with this one:

        

    <b:if cond='data:post.dateHeader'>
    <script>var ultimaFecha = &#39;<data:post.dateHeader/>&#39;;</script>
    <h2 class='date-header'><data:post.dateHeader/></h2>
    <b:else/>
    <h2 class='date-header'>
    <script>document.write(ultimaFecha);</script>
    </h2>
    </b:if>

  7. Click "SAVE TEMPLATE".
  8. Done

Now, all of your posts in the same day will include the date. It’s easy, isn’t it?

 

Credit: template novo blogger

250 search engines for free

Friday, October 2, 2009

I have found this website when searching in the internet.Zubmit.org.uk is a FREE Search Engine Submission website aimed at helping you get your site off the ground and onto the web.

Zubmit.org.uk is aimed at helping new starters to the web development or hosting industry getting there site listed on the web.

You have a great web site, but no one knows it even exists? You have come to the right place. This service lets you do a web site submission to over 250 search engines for free. All we ask is that you join our forum and help promote this site by word of mouth or on your website, we do not enforce this thought.

Submit your site: Submit 250 search engines for free

Submit to the Main Search Engines

Thursday, April 23, 2009

There are hundreds or perhaps even thousands of search engines out there on the web, but the reality is 90 to 95% of web surfers only use a handful of them.

Google, Live, Yahoo, AOL and Ask (formerly Ask Jeeves) are the most popular right now, and they are all you really need to be concerned with at the moment.

Once you get listed with the main ones, you'll eventually show up in some of the other "less important" engines since many of them are just
portals of the more popular ones.

For example, Netscape.com has a search engine, but they pull their results in from Google. So if you're ranked #1 in Google for "blue widgets" then you'll have the same ranking in Netscape for that keyword phrase.

There are many engines that feed from the popular ones so there is no need to go and submit to these portal engines since you're covered under the main ones.

Where to Submit

Once your site has at least 15 pages, submit your URL to the big three:

Google:
http://www.google.com/addurl/?continue=/addurl

Yahoo:
http://submit.search.yahoo.com/free/request

Live (Formerly MSN):
http://search.msn.co.in/docs/submit.aspx

Please be patient. It may take weeks, or even months for your site to appear, especially with Google.

Live usually adds your site pretty quickly.

To check to see if your site has been indexed, simply type your full URL into the search box.

Don't Keep Submitting

Many people get anxious while waiting for the search engines to add their site, and they keep submitting.

You run the risk of getting your site banned if you do this.I know it's tempting, but rest assured that your site was received the first time.

The Engines Love Content

If you find that your site is not showing up in the major engines, it may be time to take a look at your content.

How many pages are on your site, for example? You should have at least 15 to 20 pages, as the engines love meaty sites -- especially Google. The more content, the better.

What About The Other Engines?

You may be wondering about Ask, AOL, etc. As, I mentioned earlier, a lot of those other engines are just portals. So once you show up in the big three, you'll eventually begin seeing traffic from the other engines. Just be patient.