Monday 6 July 2009

How Post XML,HTML & Java Scripts As Same in Blogger Posts

How to post, XML,HTML,Java Script and such kind of material as a plain text in Blogger.
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.



Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

0 comments: on "How Post XML,HTML & Java Scripts As Same in Blogger Posts"

Post a Comment