Re-design update 29 Apr 2003
By jiminy, this new template is so much cleaner… I'm even getting Domino to do more of the HTML gruntwork. Er, within reason. At this early stage, much of the stuff I've coded thus far is solely in the back-end. I needed to re-jig how the site works in terms of things like blogrolls and including resources in weblog entries. Why? Because I'm doing more and more stuff from the Mac client, and as we all know, there ain't no Designer for the Mac. So, I'm having to stop my laziness ("Ah, I'll just edit the design one more time") and really think about day-to-day requirements. So that's good. I'll also sort out the sorry state of my commenting code. What a hack that all is…
Moving on, there are a few things I'm glad I finally coded into the referrer routines:
- I parse out the common search engine referrers, and trap the requests they're slinging my way
- I now have configurable IP address and referrer blocking (this used to be hard-coded)
- I've optimised the referrer logging code — it's a wee bit faster now, even though it's doing a little more
I suppose I'd better beef up the web interface when I come to polish off the user interface, but 'blogging from the Notes client means I can do all sorts of things so much more easily than on the web. A couple of examples: (1) I can link to other sites with one click and; (2) I can attach images and parse out their dimensions for programmatic URL generation. Not to mention ad hoc agent creation and general document tweaking. Now, much of the fancy UI stuff can be done with enough time and hacking on my DHTML. But I don't want to spend too much time on that to be honest.
It's probably just as well that my 'blog templates don't become public property eh!
I may well change the implementation to a Java version at some stage, I dunno.Ben Poole#
Phil: thanks for the link, great stuff. I looked in my Java bookmarks, and sure enough, ImageInfo was in there — I knew I'd searched for code like that before!Ben Poole#
No probs. Again, you're spot on. The code is limited in that really big JPEGs may fail. The buffer size is limited to 32KB (Lotusscript's memory limit) which is why you had that problem.
I suspect you may be able to up the buffer in Notes 6 though… can't remember if the Lotusscript memory limit has been raised or not. Either way, as you say, for simple galleries and web content management, small files are key anyway! The article will be up in a couple of ticks.
Ben Poole#Geting off image size and onto another design feature I'm afraid.
I'm just developing something quick and dirty to attach "write and forget" actions to a project description doc. You know the sort of thing, Date, Name, Action etc.
It struck me that what I want to do is similar to how your/codestore's blog comments work. ie you can see all existing comments with the main doc AND enter a new one at the bottom.
I downloaded Jake's blog template and discovered he uses a HTML form to create the input form. Does your site do the same? If so what is the advantage of this method over just sticking a Notes subform at the bottom of the main form? Just trying to get things clear before getting my head down and doing it.Declan Smith#
The main question holds true though. How have you implemented this "add a comment" feature, with pure HTML creating a Notes document or with a Notes subform at the bottom of the view template.
I'm being nosey really since I'm half way down the subform route now anyway.Declan Smith#
For example, this $$ViewTemplate contains an HTML form that posts its content to my comments form… does that make sense?Ben Poole#
Thanks for the reply, talking these things over often sorts my head out.Declan Smith#