As many bloggers still don't know why they are not able to post the javacodes in there blogger posts.As i had posts on it before but now i am going to tell you about a simple mozilla addon.
You can check on these posts too if you want same thing to be done in blogger posts,first one is the syntax highlighter and second one is the display script and css codes in blogger posts.This is one which i am using.
Now i will tell you on how to to do this in very simple way with an simple mozilla addon.
1. First You Have Firefox Browser and Then Install Greasemonkey script on your Firefox browser by gonig on below link.
https://addons.mozilla.org/en-US/firefox/addon/748
Click on add to firefox and then install.See Below Image for reference:--
NOW RESTART THE FIREFOX IF ADD-ONS WINDOWS OPEN SIMPLY CLOSE THE WINDOW
2. Now Click on the below link and install the User script 'Blogger - HTML encode on post edit' to blogger.
http://userscripts.org/scripts/source/42696.user.js
This Script will adds a new button at the bottom of your new post area.It encodes the selected text so that it can be posted as plain text in Blogger.It will look like the Below image.
When you want to encode some code select it and cick on 'HTML ENCODE SELECTION' button.Below Image for reference
Your code will look like below image after being encoded.Now you can publish your post and see the result.



12 comments:
good for bloggers but i cant install the greasemonkey ff add-on..
https://addons.mozilla.org/en-US/firefox/addon/748
Go to the above link :-
when you click install to firefox then a pop is open then hit install.
Greasemonkey is only install on mozilla Firefox.
when you install it then their is a monkey icon on right bottom corner of fire fox.
http://www.crystal-gift-award.com
world's finest crystal awards
We have more than 15 years experience in creating the world's finest crystal awards. We are a leading supplier of unique and exquisite crystal recognition awards to the promotional products industry. Consequently, we partner with our customers to create award programs that produce an elegant and unforgettable experience. Let us supply the perfect award for your next corporate event,employee recognition program, or employee incentive program.
well this would only work for the script posting u dnt get the outer effect means ouput effect of any script of this javascript scripts or any thml script or any other scripts, this i have tried a lot, but still unsuccesful only, the script comes tht too i encode it online, dnt get the output at all.
anshul, can u help us get this
http://www.makemyhost.com
http://www.adsplaza.com
yes,this script only work for the script posting u do not get the output effect
Thats very useful tip.. GreaseMonkey is really worth trying.. if you're on firefox!
Thanks for sharing..
hey anshul below ur website i saw a tool bar likle where share twtitter, recent posts is there, and also a search bar, how do we get this work on our blog and steps for it, do reply soon
@kejal get it from wibiya.com
i am not able to put XML code as plain text tell me how i can do that ??? which text editor i should use ,Updated or Old ???
Thats very useful tip..
your post is very useful for me. Thanks
hey i read your post.... i have installed greasemonkey and that script also....
bt problem is i m not getting that button in blogger window
i have restared firefox also
plz help me out
Post a Comment