Web Translate
Label
Blog Archive
-
▼
2010
(27)
-
▼
Januari
(27)
- iFrame 2 iFrame
- Simple iFrame 3 respon
- Dropdown In Blogger
- Meta tag for blog
- SEO Optimization Title Page Blog
- Sitemap Manually creating
- SEO Submit Search Engine
- SEO Meta Code
- Best Link
- Share on Facebook' Code
- Secret Of Seo
- Best Of Ping services
- Easy Tips Trik Facebook
- ADMIN PAGE IN FACEBOOK
- Dynamic Persistent Menu step
- CSS-based menu
- Create Block for Specifik Page on Drupal
- Best Link
- Block Code Manual
- Table Sample Code
- CSS Poster and Drupal Template Customization
- TEMPLATE GENERATOR
- Drupal Dropdown menu
- drupal quick tab module
- Drupal Popup Menu
- Sticky Tooltip script
- Textarea and autoresize iFrame
-
▼
Januari
(27)
Step Web Design
Friend Connect
About Me
- Sharing Can Make Your Live Easier
Share on Facebook' Code
you can make blogger automatically place a 'share on facebook' link at the end of each post. Add this code after the body of the post:
for layouts
(in the "Edit HTML" pane with the "Expand Widget Templates"
check box checked): <b:if cond='data:post.url'>
<br/>share <a expr:href='data:post.url' title='permanent link'>this</a>: <a expr:href='"http://www.facebook.com/share.php?u=" + data:post.url'>facebook</a>
</b:if>
for classic templates: share <a href="<$BlogItemPermalinkURL$>" title="permanent link">this</a>: <a href="http://www.facebook.com/share.php?u=<$BlogItemPermalinkURL$>">facebook</a>
When someone shares a page on Facebook, the webmaster can specify the title, the description and the default thumbnail image.
The title doesn't have to be the same as the the page's title tag, and is specified with:
<meta name="title" content="different page title"/>
The description is taken from the standard description meta tag:
<meta name="description" content="page description"/>
The thumbnail used for Facebook sharing, and other places too, can be specified with:
<link rel="image_src" href="[your thumbnail's web address]"/>
Place the code in the head section of the web page replacing "[your thumbnail's web address]" with the URL to your thumbnail image, and both the title and description with what you want to have appear when the item is shared on Facebook.
0 komentar:
Posting Komentar