I should note that this is using the ‘old blogger’ and I haven’t updated to the new blogger. I believe it should work with new blogger as well. Anyone who tries it should let me know.
The three values that I retrieved from blogger are the URL, the Title and the Author. They are <$BlogItemPermalinkURL$>, <$BlogItemTitle$>, and <$BlogItemAuthor$>. I did not use the date variables, <$BlogDateHeaderDate$> or <$BlogItemDateTime$> since they would need to be formatted properly for NewsTrust and it may conflict with the way dates are used in the blog. I also did not use <$BlogItemBody$> which is probably the best way to set the story_quote parameter. In my case, I too often bury my lead, so using the beginning of the BlogItemBody wouldn’t make a great quote.
function newstrust(url,title, author)
You will note that I hard coded that it was a Blog Post, from a Blog that is not in the set of listed blogs, and that it’s name is Aldons blog. You will want to change these according to your own needs.
Then, in the Blogger section, immediately before the ItemPage section, I added the following line:
So, with this, I now have a Rate on NewsTrust link. Test it out. Let me know how it works, provide any feedback you can, and let me know if you use it on your blog.
Update 11/12/2007: NewsTrust has updated their site, and I've updated this message to reflect the changes. Most importantly, you should now use http://www.newstrust.net instead of http://beta.newstrust.net
newstrust_icon = 'http://www.newstrust.net/Images/newstrust.gif';
However, I could not get it to work in Blogspot. In addition, on other platforms, this is good for when the visitor has the specific story open, but isn't good for pages that list multiple stories on it.