« Google Romance? Find your soulmate. | Google AdWords推介广告 »

Google推出Related Links

之前提到的Google的相关性内容的服务已经正式推出,不需要Google账户,仅需要3个简单的设置就可以使用。

2006-4-4 19.54.39

颜色应该不必须使用Google提供的模板,自己可以修改成符合自己网页风格的。我在这个页面的底部放置了一个,不知道为什么没有显示出预想的效果,显示的是Related Searches,没有Related News&Web Pages

2006-4-4 20.14.33

有兴趣到Google Related Links获取代码试试。 : P

Google Related Links use the power of Google to automatically bring fresh, dynamic and interesting content links to any website. Webmasters can place these units on their site to provide visitors with links to useful information related to the site’s content, including relevant news, searches, and pages.
Learn more…

TrackBack

引用通告地址:
http://gfans.org/archives/89/trackback/

5 个评论

  1. 陈少举:

    嗯??不能赢利。。。 - +

  2. Cybersome:

    应该和Adsense效果差不多,只是我拿不到钱

  3. joshyupeng:

    我把show_rc.js翻译了一下
    //*************function m(), I name it PreParse()**************************************
    function PreParse()
    {
    f= document.referer ;
    b= document.location;

    window.onerror= OnError;

    window.google_rc[”format”]= “rc”;
    if(window.google_rc[”width”]&& window.google_rc[”height”])
    {
    window.google_rc[”format”]= window.google_rc[”width”]+ “x”+ window.google_rc[”height”]+”_”+window.google_rc[”format”];
    }
    if(window.google_rc[”url”]==null)
    {
    window.google_rc[”url”]=f;
    }
    if(window.top.location==document.location)
    {
    window.google_rc[”url”]=b;
    }
    }

    //*****************function h(), I name it parseURL()************************************
    function parseURL()
    {
    strURL=”http://www.googlesyndication.com/relcontent/content?”
    window.google_rc[”rand”]=new Date().getTime();

    strURL+= fetchParam(”format”, window.google_rc[”format”]);
    strURL+= fetchParam(”modules”, window.google_rc[”modules”]);
    strURL+= fetchParam(”r”, window.google_rc[”rand”]);
    strURL+= fetchParam(”c_line”, window.google_rc[”color_line”]);
    strURL+= fetchParam(”c_bg”, window.google_rc[”color_bg”]);
    strURL+= fetchParam(”c_footer”, window.google_rc[”color_footer”]);
    strURL+= fetchParam(”c_header”,window.google_rc[”color_header”]);
    strURL+= fetchParam(”c_text”, window.google_rc[”color_text”]);
    strURL+= fetchParam(”c_link”, window.google_rc[”color_link”]);
    strURL+= fetchParam(”c_source”, window.google_rc[”color_source”]);
    strURL+= fetchParam(”client”, window.google_rc[”client”]);
    strURL+= fetchParam(”url”, window.google_rc[”url”]);
    strURL+= fetchParam(”alt_url”, window.google_rc[”alt_url”]);
    strURL+= fetchParam(”cof”, window.google_rc[”cof”]);
    DrawFrame(window,document,strURL);
    clearVar(window); // the function can be replaced by:window.google_rc=null;
    }

    //*****************function g(),I name it makeStr()*****************
    function makeStr(obj)
    {
    return obj!= null? ‘”‘+obj+’”‘:’”"‘;
    }

    //*****************function n(),I name it clearVar()************************************
    function clearVar(win)
    {
    win.google_rc=null;
    }
    //*****************function j(),I name it DrawFrame()***************
    function DrawFrame(win,doc,strURL)
    {
    strURL= strURL.substring(0,1000); //the length can be 1000? Idont believe it.
    strURL= strURL.replace(/%\w?$/,”");
    strWrite= ‘’;
    doc.write(strWrite);
    }

    //*****************function l(), I name it OnError()********************
    function OnError()
    {
    parseURL();
    return true;
    }

    //**************** function d() ,I name it fetchParam()*****************
    function fetchParam(a,c)
    {
    if(c){
    switch(a){
    case “modules”:
    return fetchMod(c);
    default:
    return a+”=”+_enCode(c)+”&”;
    }
    }
    return”"
    }

    //*****************function i() ,I name it fetchMod()***********************************
    function fetchMod(arrObj)
    {
    if(typeof arrObj== “object”)
    {
    var str=”";
    for(var i=0;i’;
    doc.write(strWrite);
    }

    //*****************function l(), I name it OnError()********************
    function OnError()
    {
    parseURL();
    return true;
    }

    //**************** function d() ,I name it fetchParam()*****************
    function fetchParam(a,c)
    {
    if(c){
    switch(a){
    case “modules”:
    return fetchMod(c);
    default:
    return a+”=”+_enCode(c)+”&”;
    }
    }
    return”"
    }

    //*****************function i() ,I name it fetchMod()***********************************
    function fetchMod(arrObj)
    {
    if(typeof arrObj== “object”)
    {
    var str=”";
    for(var i=0;i

  4. Watson:

    不给钱的Adsense

  5. Netscaper:

    请问谁知道怎么让链接在新窗口打开吗?
    新闻页面覆盖了原本网站,人就走了,郁闷啊。。。

发表评论

这里

  这里没有 PageRank,没有 HillTop,没有 SEO。如果 Google 是龙井,我希望这里便是虎跑,去化开那馥郁如兰之香。观于沧海者难为水,搜于 Google 者难为言,Google 已不只是文化,他是我的信仰。

本站文章约法三章:

  • 不讨论 SEO 及相关;
  • 不得无聊转载;
  • 严禁侮辱百度。
  如果您认为有言论不合以上规则,请联系我们

贡献

最新评论

最新讨论

Loading......