The Palangi Files |
|
10.17.2003Today was a good day...
Whateva...
Well I got a lot done today, but I'm still waiting on my web host. I wish they would run through the 'create application' wizard on their site. nGallery is still the bomb. I'm mad impressed with its capabilities on my local server. I wish like hell that I knew some more C#. Hopefully I'll have more time to worry about it later. Anyways, the palangifiles.com webpage is coming along pretty well. The way its looking, I may have enough time to get the image gallery loaded and my blog all templated out. Should be very cool. I'm mad impressed with this blogging engine. The beauty of the application is in its simplicity. Sure it stinks that you have to write all the stuff that you want for yourself, but you can alter the entire blogging engine into whatever format you want. That's rich! Also, hands down, the best DHTML menu on the internet is over at Open Cube. I can't believe how small of a footprint the scripts are and how robust the feature set is. I highly recommend checking it out if your looking for a menu system for your site. I wanted to throw a "mad props" shoutout to this guy normally I try to stay away from .shtml stuff, but this was a quick and easy way to add commenting to the website. I did add a function to return the comment count using his engine. It's pasted below... 'function GetCommentCount(sBlogId) ' sBlogID = cStr(sBlogID) ' if not isNull(sBlogID) then ' 'ADO Objects ' Dim sSQL, oConn, oRs 'Set Them ' sSQL = "SELECT COUNT(volgnr) AS CommentCount FROM COMMENTS WHERE refernr = '" & sBlogID & "'" ' Set oConn = Server.CreateObject("ADODB.Connection") ' oConn.Open("INSERT YOUR CONNECTION STRING HERE (OR USE CONSTANT)") ' Set oRs = oConn.Execute(sSQL) ' 'Now Check ' if oRs(0) = 0 Then ' Response.Write("(0)") ' else ' Response.Write("(" & oRs(0) & ")") ' end if ' Else ' Response.Write("Error") ' End If ' ' If oConn.State <> adStateClosed Then oConn.Close ' If oRs.State <> adStateClosed Then oRs.Close 'End Function I can't support that or anything, but its a pretty quick and dirty way for smart people to get a comment count from their blog. I do still need to figure out a way to refresh the referring page to update the count. I think you can do this in javascript, but I didn't feel like searching the DOM at the moment. Oh yeah, in other news... How about last night for a kick ass sport night? Boston pulling out the win in the 9th inning last night followed by one of the best Monday Night Football games I've seen ever. I thought the call at the end of the game was nonsense, but what a game! 21 points in less than 4 minutes? Solid. Can't wait to teach some Tongan's about American Football! Oh yeah, one other thing, I got my staging kit today. I have to take a look. Looks like I'm heading out of L.A. on the 3rd of November. I'm looking forward to going. I've been having trouble sleeping the last few nights and I don't know why. I'm tired and I must be rolling. I'm gonna go pick up my snorkle/flippers combo sizzity sizzet... 14 days and counting... 0 comments - Post a Comment 10.07.200310.01.2003 |
E-mail Jim Jawn | Photos & Blog ©2003 Jim Jawn | Updated 02.01.04 |