| 0 comments ]

Default behaviour of blogger widget once we add to blogger will be displayed in every blogger page.  We can display widget only in blogger post or blogger main page by add some code in blogger HTML template code.


To display widget in blogger post only, follow the steps below,

1.  Login to blogger
2.  Go to Layout --> Edit HTML.  Click on Expand Widget Template.  Find widget.  For example, adsense is placed with widget id HTML3.

 <b:widget id='HTML3' locked='false' title='' type='HTML'>

3.  Add code with bold text.

<b:widget id='HTML3' locked='false' title='' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.pageType == "item"'>
<div style='float: left;padding:20px 0px 40px 0'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != &quot;&quot;'>
<h2 class='title'><data:title/></h2>
</b:if>
<div class='widget-content'>
<data:content/>
</div>
<b:include name='quickedit'/>
</div>
</b:if>
</b:includable>
</b:widget>

4.  Save Template.

| 3 comments ]

Adsense can only display 3 adsenses in a page.  So, if we place adsense in sidebar, post, footer, or header, we must arrange it so that only 3 adsenses in a page.  Adsense can only display in single post, or in homepage.


To display adsense in blogger post only, follow the steps below,

1.  Login to blogger
2.  Go to Layout --> Edit HTML.  Click on Expand Widget Template.  Find adsense widget.  For example, adsense is placed with widget id HTML3.

<b:widget id='HTML3' locked='false' title='' type='HTML'>

3.  Add code with bold text.

<b:widget id='HTML3' locked='false' title='' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.pageType == "item"'>
<div style='float: left;padding:20px 0px 40px 0'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != &quot;&quot;'>
<h2 class='title'><data:title/></h2>
</b:if>
<div class='widget-content'>
<data:content/>
</div>
<b:include name='quickedit'/>
</div>
</b:if>
</b:includable>
</b:widget>

4.  Save Template.

| 0 comments ]

Magazine style wordpress theme, Branford magazine, suitable for journal, or article blog.  Tabbed menu, and multi column menu can be customized.
Download for free here.

| 0 comments ]

From Wordpress theme, Mystique is simple wordpress theme converted for blogger.  Two columns template, widget ready, sub menu at header, simple, and good for adsense placement.
Download here for free.

| 0 comments ]

Default behaviour of blogger widget once we add to blogger will be displayed in every blogger page.  We can display widget only in blogger posting or blogger main page by add some code in blogger HTML template code.

To display widget in homepage only (main page), follow the steps below,

1.  Login to blogger
2.  Go to Layout --> Edit HTML.  Click on Expand Widget Template.  Find adsense widget.  For example, adsense is placed with widget id HTML3.

<b:widget id='HTML3' locked='false' title='' type='HTML'>

3.  Add code with bold text.


<b:widget id='HTML3' locked='false' title='' type='HTML'>
<b:includable id='main'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<div style='float: left;padding:20px 0px 40px 0'>
<!-- only display title if it's non-empty -->
<b:if cond='data:title != &quot;&quot;'>
<h2 class='title'><data:title/></h2>
</b:if>
<div class='widget-content'>
<data:content/>
</div>
<b:include name='quickedit'/>
</div>
</b:if>
</b:includable>
</b:widget>

4.  Save Template.

| 0 comments ]

Today internet is rather different with few years ago.  Few years ago, internet is very dependent to Tier 1 ISP.  If you have many Tier 1 IP Transit, you can have better internet access, because more route can you reach with best path. 
Today internet is more distributed.  Global content providers have their own network, and locate their servers at many data center at many region or continent.  It give more balanced traffic, and break dependency to Tier 1 ISP.  Also, regional ISP locate their router, and have own to link to one or more global data center, to reach global content provider and give possibilty to direct peer with others.   This architecture give today internet more distributed traffic, and more better route.
The prerequisite if you want peer with regional ISP, global content delivery, or global content provider is to have colocation at global data center, like Equinix, LINX, and others.  Check the data center that have Internet Exchange, and who are there through PeeringDB.  Register first, it's free, then looks for internet exhange, their customer.  Many content provider, content dlivery, or regional ISP is better.
Global content provider like Google, Yahoo, Microsoft are open for peering.  It give you benefit by saving IP Transit bandwidth, that must you pay, and give shorter route.  For example, Google,about 30% of my internet traffic is coming from them.

| 0 comments ]

Many IP transit now have their own CDN, but it is likely not a free service.  Traditional CDN, like Akamai, are open for ISP to partner with them.
Partnering with CDN give benefits.  Because it's locally placed at your data center, it can give benefits.  The benefits are:
1.  Saving international IP Transit bandwidth
2.  Faster access

Akamai has program called Akamai Accelerated Partner Program for ISP.  It is for ISP that want to place Akamai CDN server at their data center.  Akamai has many customer from content provider to software company, like Microsoft, Adobe, and many.  One that's looks as a benefit is your Windows Update will be direct to your local data center, because Windows Update are hosted at Akamai server.
I have experience when apply for Akamai Accelerated Partner Program.  They looks my ISP AS Number, and they say, our traffic to Akamai content is about 30 Mbps average a day.  After they evaluate, and agree, they ask us to provide environment for their servers, like rack, gigabit port, and setup BGP session with them.
Akamai work based on DNS and IP address.  Akamai server client based on DNS request, and reply resolved address with nearest Akamai server.
Until now, I have no reference about others CDN that have partner program like Akamai.  It's best for your ISP to partner with Akamai.  It will saving your international IP Tansit bandwidth, and give faster internet access.  And the best thing, it's free at all.

| 7 comments ]

Adsense in blogger post is a such good placement.  Here the way to do that. First, parse your adsense code so it can be inserted in Blogger XML Code. Blogcrowds have tool for parsing Google adsense code to Blogger XML Code. Just put your adsense code into Parse HTML box, then click Parse. Save your adsense code that have been parsed.




Next step is place your result into blogger template code. Go to Layout section, then Edit HTML. Check Expand Widget Templates. Find in your blogger template code something like this:

<data:post.body/>

Place the code before that string if you want your adsense appear before post body.
You can also place your adsense after post body, just find code like this,

<div class='post-footer-line post-footer-line-1'>

and then place your code after that string.

You can display adsense only in single blogger posting.  See my another article in this blog about show adsense in blogger post or in home page only.

| 0 comments ]

Deleting Statement from JunOS Configuration
Here example for deleting a statement from JunOS Configuration.  I use BGP configuration for example.

[edit]
admin@dailyconfig# delete protocols bgp
[edit]
admin@dailyconfig# show
[edit]
admin@dailyconfig#
 
Using Regular Expression to Delete Related Items from JunOS Configuration.
Example: 
Deleting Interfaces from the Configuration
Delete multiple T1 interfaces in the range from t1-0/0/0:0 through t1-0/0/0:23:

admin@dailyconfig# wildcard delete interfaces t1-0/0/0:.*
matched: t1-0/0/0:0
matched: t1-0/0/0:1
matched: t1-0/0/0:2
Delete 3 objects? [yes,no] (no) no
Deleting Routes from the Configuration
Delete static routes in the range from 172.0.0.0 to 172.255.0.0:

admin@dailyconfig# wildcard delete routing-options static route 172.*
matched: 172.16.0.0/12
matched: 172.16.14.0/24
matched: 172.16.100.0/24
matched: 172.16.128.0/19
matched: 172.16.160.0/24
matched: 172.17.12.0/23
matched: 172.17.24.0/23
matched: 172.17.28.0/23
...
Delete 13 objects? [yes,no] (no) 
 
Completely remove configuration.
admin@dailyconfig#load factory-default

But, it's good before doing complete erase configuration, to have a rescue config.
admin@dailyconfig#request system configuration rescue