糖醋排骨
msgbartop
    msgbarbottom

    13 Dec 06 Blogger中添加版权声明的方法

    版权问题是目前一个比较热门的话题。hhalloyy在他的Blog中提供了一个供Wordpress用户方便使用的添加版权声明的办法,很不错,虽然这样并不能很实际的解决抄袭成风的问题,但至少是一个态度的表明。代码如下:

    1. 作者: <?php if ($count_users > 1) { ?><?php the_author_posts_link(); }  else { the_author()} ?>  发表于<?php the_time('F j, Y') ?> <?php _e('at'); ?> <?php the_time() ?><br><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/deed.zh">版权信息</a>: 可以任意转载, 转载时请务必以超链接形式标明文章<a href="<?php the_permalink() ?>">原始出处</a>和<a href="<?php bloginfo('url'); ?>">作者信息</a>及此声明<br>

    直接添加到帖子页或者其他你认为合适的页面就行了,无需改动什么,我这里想出一个专为Blogger的用户设计的代码,仅适用于Classic模式:

    1. <ItemPage>
    2. ...
    3. 作者: <$BlogItemAuthorNickname$>  发表于<$BlogItemDateTime$>
    4. <br>
    5. <a href="http://creativecommons.org/licenses/by-nc-sa/2.5/deed.zh">版权信息</a>: 可以任意转载, 转载时请务必以超链接形式标明文章<a href="<$BlogItemPermalinkUrl$> ">原始出处</a><a href="<$BlogURL$>">作者信息</a>及此声明<br> 
    6. ...
    7. </ItemPage>

    将这段代码放在帖子页中你认为合适的地方即可。

    相关日志

    Tags: , , , , , ,

    可以任意转载, 转载时请务必以超链接形式标明文章原始出处及此声明
    本文地址:http://interjc.net/archives/2006/12/13/creative-commons-code-for-blogger.html




    Reader's Comments

    1. |

      好文………………….154

      [回复]



    Leave a Comment