I was reading Do you need all those revisions? post from Nice2All blog. In the post, i found piece of SQL and PHP code.
Below is the Sample 1, how the code looked in that post:
<script type="text/javascript">
<!--
document.write("<i>Hello World!");
//-->
</script>
As you can see that the coloring, formatting is making the code stand out and there are also options like view plain, copy to clipboard, print.
I think i have around 5 posts that show code samples in the posts and here is how it looks.
Below is the Sample 2:
<script type="text/javascript">
<!–
document.write("<i>Hello World!");
//–>
</script>
I know every one would prefer the Sample 1 rather than the Sample 2.
As soon as i read the above mentioned post, i left a comment asking the author about the code format and found out that it can be done by just installing a wordpress plugin called SyntaxHighlighter Plus.
How to beautify code sample in your post using Syntax Highlighter Plus:
(more…)
Moderate blog comments from your Desktop!!
Friday, October 31st, 2008Two comments awaiting for moderation on my blog!
To moderate blog comments, Most of us login to wordpress admin and check for any new comments awaiting to be moderated.
I discovered couple of days back that now there is no need to check wordpress admin every hour to see whether there are any new comments or not.
All it takes is a wordpress plugin and an application. The application sits in your Desktop – System tray and notifies whenever there is a new comment made on your blog, something similar to yahoo messenger or Gtalk.
Isn’t great?
The Wordpress plugin is Moderator. and is written by Daniel Dura
Moderator is a combination of a WordPress plugin and an Adobe Air Application.
Adobe AIR application will sit on your desktop in system tray:
Install and activate the plugin, then download and install the Adobe Air application. Once the installation goes smoothly, you will see a black colored window appearing. Just enter wordpress username and password. Its Done!!
(more…)
31.10.2008 Blogging, Wordpress 17 Comments