Dave Tips

Tips for computers and the internet. How to, tips, tricks and resources for computers and the web.

Friday, November 7, 2008

Blogger Feeds as Sitemaps with FeedBurner (and Google Webmaster Tools)

...if you have a site whose original feed redirects traffic to FeedBurner (for example, if you use Blogger redirection, or you use our FeedSmith plugin for WordPress), you will need to give Webmaster Tools the address of a feed that does not get redirected as a sitemap source.
For Blogger users, the following general feed URL format should always work:

http://mybloggerblog.blogspot.com/feeds/posts/default?redirect=false
For WordPress FeedSmith plugin users, use this URL format:

http://www.mywpblog.com/?feed=rss2
For other platforms, other feed URL variations that are not redirected are what you need to provide.

(from FeedBurner Forums).

Labels: , , ,

Friday, May 30, 2008

Blogger 'Share on Facebook' Code

If you have a blogger blog, and want your visitors to easily share your posts with their facebook friends, 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='&quot;http://www.facebook.com/share.php?u=&quot; + 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>

and you'll also have a permalink before the 'share on facebook' link.

You can also add a link for sharing and saving for other social networking and social bookmarking sites too. If you'd like the code for that, please leave a comment.

Labels: , ,