
<script type="text/javascript">
yahooBuzzArticleHeadline = "www.<?php bloginfo('name'); ?>.com <?php wp_title(); ?>";
yahooBuzzArticleSummary = "www.<?php bloginfo('name'); ?>.com <?php wp_title(); ?>";
yahooBuzzArticleType = "text";
</script>
<script type="text/javascript" src="http://d.yimg.com/ds/badge2.js" badgetype="small"><?php the_permalink() ?></script>
If you are not using WordPress but you are using PHP there are a number of ways to grab urls and place page titles into your Buzz Buttons. Your use will depend on your website.
You should check with Yahoo's site for additional updates to their Buzz Buttons
Here are some other optional fields that you can put in your button code.
Optional Elements
To provide a story’s headline upon submission: yahooBuzzArticleHeadline = "Enter Story Headline Here"
To provide a story’s summary upon submission:
yahooBuzzArticleSummary = "Enter Story Summary Here"
To provide a story’s category upon submission:
yahooBuzzArticleCategory = "Enter Story Category Here"
where "Enter Story Category Here" must be one of the following: business, entertainment, health, images, lifestyle, politics, science, sports, travel, usnews, video, world-news
To provide a story’s media type upon submission:
yahooBuzzArticleType = "Enter Media Type Here"
where "Enter Media Type Here" must be one of the following: text, image, video
Finally, to automatically pull the URL associated with the page where the button lives upon submission: yahooBuzzArticleId = window.location.href