2011年12月6日

ギークログプログラム追加

featuredstorytext.thtml、赤字の部分
<!-- featuredstorytext.thtml { >
<div class="featuredstorytext">
  <h2>{start_storylink_anchortag}{story_title}{end_storylink_anchortag}</h2>
  <div style="clear:both" class="topsy_widget_data" style="float:left; margin-left: 0.75em;">

<a href="http://twitter.com/share" class="twitter-share-button" data-url="{site_url}/article.php/{story_id}" data-text="[Geeklogjp]{story_title} #geeklogjp" data-count="horizontal" data-lang="ja">Tweet</a>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.geeklog.jp%2Farticle.php%2F{story_id}&amp;layout=button_count&amp;show_faces=1&amp;width=90&amp;action=like&amp;colorscheme=light&amp;height=80&amp;font=verdana&amp;locale=ja_JP.UTF-8" scrolling="no" frameborder="0" style="border: none; overflow:hidden;width:120px; height:20px; margin-top:-8px" allowTransparency="true"></iframe>
<g:plusone size="medium" href="{site_url}/article.php/{story_id}"></g:plusone>
  </div>
<ul class="icon">
  <li>{email_icon}</li>
  <li>{print_icon}</li>
  <li>{edit_icon}</li>
</ul>
<ul class="status">
  <li>{story_date}</li>
  <li>
    <dl>
      <dt>{lang_contributed_by}</dt>
      <dd>{start_contributedby_anchortag}{contributedby_author}{end_contributedby_anchortag}</dd>
    </dl>
  </li>
  <li>
   <dl>
      <dt>{lang_views}</dt>
      <dd>{story_hits}</dd>
    </dl>
  </li>
</ul>
<div class="ShareThis"> 
<span st_title='{story_title}' st_url='{site_url}/article.php?story={story_id}' class='st_sharethis_hcount' displayText='ShareThis'></span>
<span st_title='{story_title}' st_url='{site_url}/article.php?story={story_id}' class='st_twitter_hcount' displayText='Tweet'></span>
<span st_title='{story_title}' st_url='{site_url}/article.php?story={story_id}' class='st_facebook_hcount' displayText='Facebook'></span>
<span st_title='{story_title}' st_url='{site_url}/article.php?story={story_id}' class='st_evernote_hcount' displayText='Evernote'></span>
<span st_title='{story_title}' st_url='{site_url}/article.php?story={story_id}' class='st_stumbleupon_hcount' displayText='StumbleUpon'></span>
<span st_title='{story_title}' st_url='{site_url}/article.php?story={story_id}' class='st_myspace_hcount' displayText='MySpace'></span>
</div>

  <ul class="navi">
    <li>{page_selector}</li>
    <li>{readmore_link}</li>
    <li>{post_comment_link}</li>
  </ul>
  <ul class="feedback">
    <li>{plugin_itemdisplay}</li>
    <li>{comments_with_count}</li>
    <li>{trackbacks_with_count}</li>
  </ul>
</div> 
<!-- } featuredstorytext.thtml -->

free counters