2007年2月9日

利用Blogger的API為你安裝widget

關於如何利用Blogger新釋出的API,先前在輕鬆的將Google Reader訂閱加入你的Blogger快速的在Blog加入「最新文章」已經有介紹過。

如果你曾經安裝過阿土伯的blogger_ext2.js,相信一定知道這個程式的方便性,如果你還沒有安裝,那我在這告訴你,你有福了,今天我利用Blogger新釋出的API做了這麼一個安裝程式,相信你按下按鈕之後,就會知道這個API有多麼神奇了。



快速的在Blogger加入「最新文章」

Blogger釋出新的API後,馬上有高手應用這個API。

Beautiful Beta中就利用這個API製作出簡單的將“最新文章”加入你的Blogger的方法,原文請參閱文章下方的「消息來源」。

我在這稍做簡短的解釋。

首先在範本的修改Html中,將下列程式加入在</head>之前。
<script src='http://home.planet.nl/~hansoosting/downloads/beautifulbeta.js' type='text/javascript'/>
接著在Widget Installation and Downloads Page這裡,選擇你想加入你Blog的widget,目前有提供下列幾種的widget:
  • Recent posts widget
    –最新文章
  • Recent comments widget
    –最新意見
  • Search widget
    –搜尋引擎
  • Recent Posts Widget for FTP Blogs
    –如果你的blogger是存在自己的空間,那最新文章就用這一個
  • Weather Report Widget
    –天氣報告
這裡我以最新文章為例:
按下Recent posts widget下方的按紐,會出現如下的視窗:

將一些基本的條件設定完成後按下,或重新設定,之後按下,會再出現下面的視窗:

選擇你的Blog和Widget的名稱,按下“新增迷你組件“,之後再選個好位置放置,這樣你的Blog就擁有最新文章在你的Sidebar了。

之後如果要更動一些基本的參數,只要進入這個Widget的畫面,修改下列的參數就可以了。
  • numposts = 5(顯示文章數量)
  • showpostdate = true(是否顯示日期,是為true,否為false)
  • showpostsummary = true(是否顯示文章內容,是為true,否為false)
  • numchars = 100(顯示文章內容的長度)
  • standardstyling = true(是否使用內定的CSS樣式,是為true,否為false)
如果你想自行定義CSS,只要將上面的standardstyling改為false,再自行加下入下列幾個參數到你的CSS之中即可:
  • .bbrecpost
  • .bbrecpostsum
  • .bbwidgetfooter

輕鬆的將Google Reader訂閱加入你的Blogger

Blogger的自由度太強,也許會讓很多新手感到複雜而不知從何下手,幾天前,Blogger Buzz釋出新的API– adding a custom widget to a blog,現在Blogger的使用者可以經由簡單的Form就能將widget加入自己的Blog之內。

Blogger Buzz還提供了幾個例子:

Google Reader:

之前在利用Google reader加入最新文章和最新意見之中曾提過如何加入Google Reader的訂閱,現在更容易,只要在Setting頁面的Tags之中,點選add a clip to your site時,你會發現新增加一個圖示,之前的做法是將他所提供的Java Script程式碼貼到你新增的Widgets之中,現在只要按下這個圖示會出現如下圖:

你只要選擇你所要加入的Blog,並且取好你的Tilte名稱,按下“新增迷你組件”,就會在你的範本中增加一個新的Widgets,設定好你所要放置的位置,就完成了,是不是很容易。

另外Blogger Buzz還提供另外二個例子:
LaLa.com
Feed Burner相關說明

相信以後要讓你的Blogger內容更豐富會變得更容易了。

Google AdSense競爭性廣告篩選器

這幾天有一件事一直困擾我,明明我的網站是中文網站,但是AdSense for Content常常顯示英文廣告,明明我是設定五則廣告內容,卻常常被一家虛擬主機的廣告一次佔用5格,而且一天的點擊次數很多,但每次卻只有那0.01元,後來在Adsense繁體中文觀測站看到Adsense網站黑名單(Made for Adsense Black List)之後,情況已經改善,如果你有申請Google AdSense一定要做這樣的設定。

  1. 登入Google AdSense
  2. 選擇AdSense 設定
  3. 選擇競爭性廣告篩選器
  4. 在畫面下方的「AdSense for Content 篩選器」輸入以下內容
10-bestsites.com
10-top-sites.com
101soho.com
12-bestsites.com
1click.com
1homeshopping.info
1s.md
1st-free-articles.com
1st-home-business.net
1st-lingerie.net
1st-portal.net
1step1.info
2020ok.com
25-topsites.com
5-top-sites.com
7-topsites.com
8-TopWebSites.com
8-topsites.com
8bestsites.com
8topsites.com
8topsitespro.com
9topsites.com
SearchTorpedo.com
Top-10Sites.com
acne.com
advancedwebsearch.info
all-free-info.com
allinformationabout.com
alltheautomotive.com
alltheindustrials.com
answerstoday.com
aprido.com
aptmicro.com
articlescafe.com
best-healthcare.info
best3websites.com
best4sites.net
best4solutions.com
best5online.com
best7sites.com
best8sites.org
bestautosites.net
bestcomputingsites.com
bestcraftsites.net
besthomegardensites.com
bestpictures.org
bestringtonesoffer.com
bestsportingsites.com
bestwebdiscounts.com
bestwebpix.com
bestwebpix.net
business-wiz.com
buymp3music.info
chasingstuff.com
chosenresult.com
commerce-database.com
compare-to-choose.com
compendianet.com
coolringtones.com
cv2006.biz
dbmoz.biz
dbmoz.com
dbmoz.net
dbmoz.org
dealsandoffers4u.com
digg4it.com
dirkw.com
discussit.biz
download-hub.com
downloadrings.com
downtown-internet.com
drift-kings.com
dry-skin-care-guide.com
e-isn.com
e-nternet.com
eanimationschools.com
eantispyware.info
ecomputerwallpaper.com
edigitalphoto.info
edigitalphotoalbum.com
educational-online.com
emotivationalvideos.com
ephotoalbum.net
eretirementjokes.com
eroyaltyfreeimages.net
everyclick.com
everyrule.com
ewossnewsbar.com
expert-expert.com
extreme-rides.com
ez4search.com
factguide.org
faqsdirect.com
fastcoolrides.com
faster-results.com
fasterinfo.com
faxingsoftware.info
filtersspam.info
findexia.com
findinfotoday.com
finditonline.ws
findmonk.com
finest4.com
free2select.com
freedigg.com
freeusefulinfo.com
gd-invest.com
get-free-reports-tips-and.info
getinfoon.info
globalinfoexchange.com
go-2-shop.co.uk
goodplace-on.net
gooyeep.com
gr8info.net
greatinfo.biz
gubaara.com
guide2biz.com
guideya.com
haohao99.com
hot4sites.com
idesktopwallpaper.net
imedicalanimation.com
info-on.biz
infobeagle.com
infoforyourhealth.com
infoscouts.com
infosearch4u.com
inhunt.com
internet-downloads.net
ivue.com
links-4-you.com
linxbest.com
mediataskmaster.com
medicalhelpers.com
medkuz.com
megasearch.biz
mozsite.com
mylot.info
myluxuryyacht.com
myluxuryyachtcharter.com
mywebgold.com
oceleb.com
oneinvestment.co.uk
oninformation.com
otelevision.info
picturetoplist.com
pimpmyride.com
popularq.com
purebusiness.com
puredirectory.com
purityplanet.com
quotematch.com
rapvideos.info
ratedsolutions.com
resourcemecca.com
reviewsbykrystal.com
richesse-succes-sante.com
ringtonemusic.info
romingerlegal.com
ru2006.com
rw2006.com
savvygate.com
scholarshipnet.info
searchemu.com
searchguide.biz
searchignite.com
searchscribe.com
searchwisp.com
seek4me.org
sureresult.com
teachandtravel.net
thebabydepartment.com
thextremehosting.com
thinktarget.com
tipace.com
tools4myspace.com
top-3-sites.com
top-articles-house.com
top10websites.net
top4search.com
top4search.net
top4sites.net
top8sites.com
topbeautysites.com
topbestsites.org
toptensites.org
toseeka.com
tunu.com
u-i-x.com
usefulfaqs.com
usnom.com
videosstreaming.info
webfinder360.com
website-savvy.com
webzsearch.com
wilddreams.org
world-click.com
xdope.com
xtraone.co.uk
zimply.com

這些網站就是所謂的MFA– Made for AdSense(專為為AdSense制作的網站),MFA 網站是一種以AdSense做為賺錢工具的空殼網站,MFA網站本身沒有什麼內容,大概除了標題註腳其它的內容部分都是AdSense廣告,它們賺錢的方 式就是在Adwords投放低價廣告導來訪客,而它們的網站都是一些單價較高的AdSense廣告,只要在它們的網站有點擊,那就可以賺到中間的價差。這 類型的網站通常在AdSense廣告中的關鍵字廣告詞不外乎是”We have found 4 best products for …”, “Best resources on net for …”, “Top X websites”…等等。

這些名單是將這些名單http://www.adsblacklist.com/所提供的,目前Google AdSense只允許設定200網址,將名單輸入篩選器,按下, 過幾天再來看看結果吧!相信你一定會滿意的。

2007年2月7日

Google大神變財神–Google AdSense新政策

今天在Google AdSense的官方網站看到這則訊息。但是中文官方網站還沒更新。以下摘錄一小段:

AdSense Referrals:
  • When a publisher who signed up for Google AdSense through your referral earns their first $5 within 180 days of sign-up, you will be credited with $5.
    當一個publisher經由你的介紹註冊,而這位publisher在註冊後180天賺到5美元,你將會得到5美元的獎金
  • When that same publisher earns $100 within 180 days of sign-up and is eligible for payment, you will be credited with an additional $250.
    如果這個publisher在註冊180天內賺進100美元而且申請支付,你將獲得250美元獎金)
  • If, in any 180-day period, you refer 25 publishers who each earn more than $100 within 180 days of their respective sign-ups and are all eligible for payout, you will be awarded a $2,000 bonus (bonus payouts are limited to 1 per year).
    在任何的180天內,經由你的介紹註冊的publisher中有25位各自在180天賺進100美元且申請支付,你將會得到2000美元的獎金,一年只有一次

AdWords Referrals:

  • When an advertiser you refer spends $5 within 90 days of sign-up (in addition to the $5 sign-up fee) you will be credited with $5.
    當一位廣告主經你的介紹,在註冊90天內花5美元買廣告,你將獲得5美元獎金
  • When that same advertiser spends $100 within 90 days of sign-up, you will be credited with an additional $40.
    當這位廣告主花了100美元買廣告在90天內,你將會獲得40美元獎金
  • If, in any 180 day period, you refer 20 advertisers who each spend more than $100 within 90 days of their respective sign-ups, you will be awarded a $600 bonus (bonus payments are limited to 1 per year).
    在任何180天內,經你介紹的廣告主有20位在90天花100美元買廣告,你將獲得600美元獎金,一年一次
這次政策對於Google AdSense申請者真的是大利多,之前的政策是當你介紹註冊並在180天內賺進100美元時,你才會獲得100美元,這次門檻下修到5美元,而且原先的100美元獎金更提高到250美元,而且還有一個2000美元的特別獎金。

對於繁體中文的網站來說,除非你的網站流量很高,不然要在180天內累積到100美元是很不簡單的事,但是以現在的新政策,正是加入的時機。

各位…趕快加入Google AdSense賺錢的行列吧。

2007年2月5日

Blogger Template :Gadget 1.0 大版面版本

Gadget 1.0是從羊男那拿到的,有興趣使用原本版本的可以去他那下載。
而我這個版本有稍做修改一下。
  1. 原來版面寬度由785 px改為930 px
  2. 把原先Read More的功能拿掉,改用阿土伯的擴充 Blogger 功能: jQuery way!內多合一程式
  3. sidebar原先只有一寬二窄,再增加一個寬欄位
  4. 原本Gadget 1.0所加入的功除Read More外全部保留(Peek-A-Boo Nav Bar、Peek-A-Boo Archive & Label Post、 Via Links、Labels as breadcrumb)
  5. 下載請按這裡(右鍵、另存新檔)
  6. Without jQuery版本,下載請按這裡(右鍵、另存新檔)–2/9新增

UPDATA 2/9
另外再提供另一版本,去掉去阿土伯的多合一jQuery,改用HackosphereExpandable posts with Peekaboo view
使用方法:將想隱藏的段落放於<span id="fullpost">和</span>之間
奇摩購物中心-1111