Blogger HTML encode with Grease Monkey

Posted: 8/26/2009 by Floyd in Labels:

Script adds a HTML encode selection at the bottom of the posting window in blogger, so let's try it out. First I installed the firefox add-on here Grease Monkey Add-On.
Then I went ahead and installed the script here, Grease Monkey Script.
The code you want to show you simply paste it in the posting window and highlight it and click the extra button you see on the right and it should work, like this;

<p class='comment-footer'>
<b:if cond='data:post.embedCommentForm'>
<b:if cond='data:post.allowNewComments'>
<b:include data='post' name='comment-form'>
<b:if cond='data:post.allowComments'>
<a href='data:post.addCommentUrl' onclick='data:post.addCommentOnclick'><data:postcommentmsg></data:postcommentmsg></a>

And we see how it works, and if the code shows up in our post if it does show up we now have an easy way to do it, so click the links and try this one out very useful tool when posting code. One other thing when you highlight your code make sure you are in the Edit Html section in your blogger post and not Compose section. Still had to clean it up a bit because it inserted this " instead of this ' but all and all a useful tool none the less.