Completed my next dasBlog macro (LastFm Recent Tracks) and just uploaded a new page dedicated to dasBlog macro. Here are the list of dasblog macros that I have developed so far -

List of Last.Fm Recent Tracks

This macro will show a list of recent tracks that was listened by you and scrobbled by Last.fm. This macro is for only who have signed up at last.fm.

List of Last.Fm Top Artist

This macro will show the list of Top Artist that you listened to this week. Again, this macro is for only who have signed up at last.fm.

Show a Shoutbox

This macro will add a shoutbox to dasBlog. Features included-
XML Database - (All entries are stored in XML File. It can be kept under the content directory of blog)
Ajax Enabled – No Iframe or refreshing of whole page. Update shoutbox silently and regularly after specified interval.
Customizable CSS – I tried to make it very customizable. It can gel with any theme perfectly.

Visit http://www.aakashjain.com/stuff/dasblog+macros.aspx for full description with installation instructions.

Posted on Saturday, February 09, 2008
comment Comments [0]

SPAM. Every one hate it and Why not? No one wish to waste his/her time in searching through all messages for a few legitimate messages. I have been receiving lot of SPAM comments before I find an effective way to stop it. (God knows why they were trying to sell Viagra and what not on my blog) To fight it, I have had enabled CAPTCHA for comments on my blog. Enabling the CAPTCHA discouraged SPAM and amount of SPAM goes down significantly, but the genuine posts were also reduced. I believe that visitors don’t want to bear the pain of entering the security words while posting comments. I can understand this because even I feel discouraged leaving comment where someone has enabled CAPTCHA on their blogs. I really wanted to stop SPAM but not at the cost of comments of my dear readers. Other possible way to spam is to blacklist IPs responsible for SPAM messages. However, you just can’t create a list of black listed IPs and keep adding as you encounter the new one. They are very clever and keep changing their IPs frequently.

Finally, I found Akismet is one other good (may be best) service which is helping the bloggers to fight SPAM. "Akismet is an automated spam blocking service which blocks Spam as it learns from its users/community marking SPAM Comments as "SPAM". Luckily, dasBlog (my blog runs on dasBlog engine.) have implemented the Akismet service and can be enabled by entering the API Key under “Configuration” of dasBlog. Anyone, using dasBlog can enable this service as shown in picture below.

(You need to enter the API Key box – How to get Akismet API Key)

It's been two months I am using their service and I am very happy with it. I like them so much (possibly I'm so confident now) that, now I am deleting any SPAM straightaway without moderation. I found Akismet most effective than CAPTCHA and Blacklist IPs. What are you people using?

Posted on Wednesday, January 30, 2008
comment Comments [1]

I have just finished modifications in my first dasBlog macro. This macro will add a shout-box to the dasBlog (see it on the right side of this blog). I have tested it successfully with Firefox and IE 5.5+. This macro is written for new version of dasBlog (version 2.0 - supports .Net framework 2.0). If you want to add this custom macro to your dasBlog, make sure you are using new version dasBlog 2.0.

On the best part, this macro uses Ajax to update the entries. It can refresh itself after a specified interval using Ajax calls. You can disable this behavior if you don’t want to update it silently. I have used XML to store the entires in a file on the webserver. So there is no need to bother about database. To make the look and feel for more controlled and customizable, I have added CSS support to shoutbox.

Here are few steps that will help you to add this macro to your blog. But before download macro and extract the zip file on your hard-drive.

1. After extracting, copy aakashjain.dll into the bin directory of your blog.

2. Now, edit the web.config file of your dasBlog application to make the following changes.

    a) Uncomment or Add the following code in the <configuration>/<configSections> of web.config file.

<section name="newtelligence.DasBlog.Macros" type="newtelligence.DasBlog.Web.Core.MacroSectionHandler, newtelligence.DasBlog.Web.Core" />

   
    b) Add or uncomment the following lines under the <configuration>.

<newtelligence.DasBlog.Macros>
    <add macro="AJmacros" type="AakashJain.AakashJainMacros,AakashJain"/>
</newtelligence.DasBlog.Macros>

    c) Add  the following line under the <httpHandlers> section of web.config.

    

<add verb="*" path="aakashjain/shoutBoxHandler.aspx" type="AakashJain.ShoutBoxHandler,AakashJain"/>


   d) One more setting is to be done. We need to tell dasBlog about the XML file where our entries will be stored. For this you have to create a key under <configuration>

<appSettings>
    <add key="AakashJainShouts" value="~/content/aakashjainshouts.xml"/>
</appSettings>

The above piece of code add a key "AakashJainShouts" to specify the location of XML file in which all entries of shoutbox will be saved. I have chosen content directory to save the xml file in the code above. You can specify any directory on the webserver but make sure it should have write permission.

Now add the following line in your homeTemplate.blogtemplate file at a suitable place where you want shout-box to appear. (You can find this file in the current theme folder of your blog.)

<%AjShoutBox(max char,refresh interval,max entries)|AJmacros%>

Here is the description of each parameter,

max char (int) – Maximum number of characters allowed to enter in the message textbox of shoutbox. For name this is fixed to 30 characters.

refresh interval (int) – Enter the number of seconds when the shoutbox will update from new server. If you want to disable this feature enter anything less than 5.

max entries (int) – Maximum number of entries shown at a time in shout-box.

For instance - <%AjShoutBox(150,50,30)|AJmacros%>
(In this example shoutbox will be refreshed in 50 seconds, upto last 30 entries will be shown and only upto 150 characters can be entered in the message.)

Now lets move to style part of shoutbox. After the above settings you would like to apply some styles and colors to shoutbox to match with your blog theme. For this matter I have kept all style related code in a separate style-sheet (ajshoutbox.css). You can find this stylesheet in the download package. To attach this stylesheet to your blog enter the following lines with in the <head> section of your homeTemplate.blogtemplate file.

<link media="all" rel="stylesheet" type="text/css" href="images/shoutbox.css"></link>

(You can keep the stylesheet file in any directory on your web server but I'd recommend the image directory of dasBlog. Attribute "href" specified the path of CSS file.)

Ok, now this shoutBox is ready to run on your blog. If you have any comments or suggestions please feel free to post them here.

 

Posted on Sunday, December 23, 2007
comment Comments [0]

I’ve finished my first dasblog macro that was created by me. It’s an Ajax enabled Shout-box. Still it is under testing and enhancement. Let me tell you it took me two full weekends to get this done. It was quite a good work behind this. But I am happy that I am seeing it running and working perfectly. Initially, I have added it on my blog (see the right navigation) for testing purpose only. Some of the main features are:-

a) XML Database (All entries are stored in XML File. It can be kept under the content directory of blog)
b) Ajax Enabled – No Iframe or refreshing of whole page. Update shoutbox silently and regularly after specified interval.
c) Customizable CSS – I tried to make it very customizable. It can gel with any theme perfectly.
d) Support New dasBlog version 2.0 (with Asp.net 2.0)

I’d appreciate any feedback, comments or error from you. It will be available for download, once I make necessary changes on the basis of feedback received.

Posted on Sunday, November 18, 2007
comment Comments [2]

I have created my first dasblog theme. I am using the same at the time of writing this post.

Theme: Geeks

This theme contains single style-sheet. You can download it here. Apart, I am creating some macros for dasBlog. Few of them are listed below.

LastFm Recent Tracks List - This macro will display the last n tracks played by you.

LastFm Top Artist - This macro will display a list of top artists played by you in last few days.

dasBlog Shoutbox - A AJAX enabled shout-box for dasblog. This will allow the visitors of your web-blog to directly chat with you.

Posted on Friday, November 16, 2007
comment Comments [0]

Finally, much awaited dasBlog v2.0 is released.  I have been waiting this for a long time. The new version can now be hosted on ASP.Net 2.0 with Medium Trust. (download dasblog v2.0)

In the past, dasBlog can be hosted on Asp.Net 2.0 but only with Full Trust. This limitation of dasBlog create hosting issues as most of hosting companies doesn’t allowed .Net applications to run with Full Trust for security sake. Those who have faced this trust problem know what this new version mean (figured out in my previous post.) This release completely supports Asp.Net 2.0.  Now I can integrate those application which I wanted to but couldn’t due to the version incompatibility.

Umm, I got some work this weekend. :-)
Posted on Thursday, August 16, 2007
comment Comments [0]

Ben Scheirman is hosting a dasBlog Theme Contest(http://www.flux88.com/dasBlogThemeContest.aspx). Theme should be original and should be created/developed using valid XHTML and CSS. Winner of contest will get A $100 (US) Amazon Gift Card !

I wanted to update the theme of this blog with a better one. I believe this contest would bring up some original creative work of participants. I hope I would be having best theme for this blog.

Posted on Monday, July 23, 2007
comment Comments [0]

Here is a step by step walkthrough to setup dasBlog on Godaddy. But before let me tell you that dasBlog is a ASP.Net weblog application. It runs on .Net1.1 framework and maintains all its data and settings in XML files stored in a folder on the server. So there is no need of any database tool. dasBlog adds lots of additional features like Trackback, Pingback, Mail notifications. It’s a true weblog engine with lots of features and themes to use.

Setting up dasBlog is really very easy task, you will know it shortly. You can go through these generic notes provided by dasBlog (http://www.dasblog.info/SetupInstall.aspx )

Now once you have been through with the notes above, let’s go further with these steps to setup your dasBlog on Godaddy.

Upload all the files in dasblogce folder to your web server. You should keep the same structure of file and images. Any change in that may cause your web application not run properly.

[Note: Before uploading your files, make sure you have made the necessary changes the site.config file (as instructed in turorial). You need to change the <Root> value to your Blog root directory.]

You can upload the files in a new folder or in your root folder. Ex – If suppose you want to add your blog to this path (http://www.yoursite.com/blog) then you need to create a blog directory in the root and upload all contents of dasblogce in the blog directory.


After you finished uploading, open the hosting manager given by Godaddy and click on the “Directory Management”. This will brings up a new screen where you can create new directory and set the permission to the directories.

You need to set the write permission to the following directories:

  • Content
  • SiteConfig
  • Logs 

To create and set permission to the directory click on the “Create Directory” Button, it will bring up the new screen given below

 
 
Enter the directory name and check on the “read” and “write” checkboxes.

Your screen should look like this:

Click on the “Continue” button. Confirm your changes by clicking on “Add” button in the next screen.

Repeat the same steps SiteConfig and logs directory

[Note: You may also need to set the permission on content\binary directory. For this you can create a sub directory under content and set the permission as we have done above. Binary directory is used to store the images and files attached with your post.]

Now don't jump in hurry, allow sometime so that changes get applied. This is require by godaddy. 

Once all above is done your application is ready to run online.

Here one thing I like to mention is that you need to set your hosting account to use ASP.Net1.1. You cannot run this weblog with ASP.Net2.0 on Godaddy. This is due to some security reasons. dasBlog require Full level of trust to run under ASP.Net2.0 but Godaddy doesn't allow applications to run on the high/full level trust on shared hosting.
[Update: Now there is a newer version available that supported on Asp.Net 2.0 with medium trust.]
Posted on Wednesday, January 24, 2007
comment Comments [6]


Navigation


Calendar Archives

<August 2008>
SunMonTueWedThuFriSat
272829303112
3456789
10111213141516
17181920212223
24252627282930
31123456

Post Timeline
Calendar with Post


Tags Cloud of Tags

.Net (10) dasBlog (8) Geek Stuff (6) Google (2) Microsoft (10) Misc (11) Musings (21) News (15) Office Open XML (2) Personal (30) Technical (8) Tweaking (2) Windows (1)

External Favorites Blogroll

Last.Fm Recent Tracks

  1. Neil Young - Rockin' in the Free World
  2. Neil Young - After the Gold Rush
  3. Neil Young & Crazy Horse - Down By The River
  4. Neil Young - Harvest Moon
  5. Neil Young - Rockin' in the Free World
  6. Neil Young & Crazy Horse - Hey Hey, My My (Into the Black)
  7. Neil Young & Crazy Horse - Cinnamon Girl

Aakash's Last.Fm Profile Powered by Audioscrobbler

Last.Fm Shoutbox

  1. SINTU: hi
  2. GOOD: good
  3. GOOG: goof
  4. JAYANT @: hii,when i connect internet in my compaq presario c700 my orkut site and youtube.com are hacked a msg is open with laughing sound and say u are hacked. pls... give me an solution for remove it.
  5. LLLAAAQ: i am using the A933tu presario lap. my problem is when i am connecting internet through my lap the data receiving is so slow.but when i connecting internet thru my pc its on its best speed.what is my problem?is there any solution? reply pls...
  6. SHAFI @: i want to install xp on comapq prsario a933tu . please tell me where i can find the audio drivers for the same
  7. VICKY: help me plz?
  8. VICKY: I have installed XP in Compaq Presario 707TU Laptop. I have configured audio as below. Install Microsoft UAA sp31994, then install High-definition audio driver sp33443. But I get the error message "Driver Installation Failed: Could not find the MEDIA device for this driver."
  9. VICKY: help me?
  10. VICKY: I have installed XP in Compaq Presario 707TU Laptop. I have configured audio as below. Install Microsoft UAA sp31994, then install High-definition audio driver sp33443. But I get the error message "Driver Installation Failed: Could not find the MEDIA device for this driver."
  11. TEST: Hi! Testing
  12. PIYUSH: how did you develop this?
  13. PSC_25: gr8....solved my problems in jiffy....thanx
  14. CHUCK NORRIS: This is a great plugin!
  15. PETER: Who are you?
  16. AAKASH: hi
  17. HARSH: very helpful...link 4 video driver hs expired..cud u pls giv a new link
  18. SURAJIT: You are realy intelegent person.
  19. DINESH @: thank you for your support
  20. HAHA: shits!
  21. ERIC REYES @: i bought compaq c733tu, do you have audio driver?
  22. ROHITASH @: pls send Compaq presario C700 sound and modem drivers
  23. SUMESH @: pls send compaq nx5000 al drivers
  24. S P JAIN: hi
  25. SHADAB @: hi hi hi hi
  26. FARAZ: hi..........
  27. BRZA: Hi
  28. HAMID: hi lee
  29. HAMID: hi..
  30. LEE: hi

View Aakash Jain's profile on LinkedIn
Follow me
My Bookmarks


Powered by

newtelligence dasBlog 2.0.7226.0



Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Sign In