Patrick Beard: TechnicalInteresting technical tidbits...(Untitled)- February 27, 2002 I think it would be more useful to have a counter that is implemented as a JavaScript variable. My idea would be to have something like this: <SCRIPT SRC="http:countersRus.comcounter.cgiid=foo"> And the result would be a JavaScript declaration that looks like this: var counter_foo = 1; Then, I am free to use the counter in the page in whatever way I choose. Has anybody else done it this way I found a free counter at www.HostedScripts.com that is also script based, but it simply...http://radio.weblogs.com/0102607/categories/technical/2002/02/27.html#a36 (Untitled)- February 27, 2002 Google is such an incredibly useful tool. I use it every day. This evening, I wondered if there were any free web page counter services out there, and yes there are. I created a new counter at www.digits.com. Their counter service is pretty simple, and I've only observed one glitch. I set the counter's initial value to 100, but for some reason, it reset itself back down to 7, and has been counting up from there since.http://radio.weblogs.com/0102607/categories/technical/2002/02/26.html#a35 (Untitled)- February 27, 2002 I'm using Radio to publish a web site on an iTools home page. The rub to doing this with Radio is that there's no direct ftp access to an iDisk, so I simply mount the iDisk using WebDav, which is built into Mac OS X, and then connect to 127.0.0.1 to upstream the files. Since Radio now supports fileSystem upstreaming, this can probably be made simpler, and faster using that, but as yet, I haven't quite figured out how to use it.http://radio.weblogs.com/0102607/categories/technical/2002/02/26.html#a34 (Untitled)- February 20, 2002 What if I want to archive my web sites in a CVS repository If I want to have more than one person work on a web site, this seems crucial. Radio needs to be taught that if there is a CVS directory in my www folder, then it shouldn't be upstreamed. Or, here's a novel idea, perhaps a CVS upstream mechanism should be provided, which adds new files, and commits changed files.http://radio.weblogs.com/0102607/categories/technical/2002/02/20.html#a33 (Untitled)- February 14, 2002 I figured out how to do styled text editing in Java with a swing JEditorPane. It's not terribly complicated, but it isn't necessarily how I would have imagined styled text support would be designed. The weirdest part is that you represent text style information using the interface AttributeSet. I had to dig through the javax.swing.text package to find out how to create an AttributeSet that has the right attribute values, and which concrete classes to use. These turned out to be...http://radio.weblogs.com/0102607/categories/technical/2002/02/14.html#a32 (Untitled)- February 9, 2002 I ran into one more snag when changing my category based web site's upstream.xml file. I changed both the path and url elements, but Radio only noticed to the change to the path, and all of the site links still pointed at the old url-based location. See my posting on the discussion list for more details.http://radio.weblogs.com/0102607/categories/technical/2002/02/09.html#a31 (Untitled)- February 9, 2002 Well, the new Led Airegin web site is now live, thanks to the power of the Radio content management system (CMS).http://radio.weblogs.com/0102607/categories/technical/2002/02/09.html#a30 (Untitled)- February 9, 2002 OK, using Radio to construct an independent web site is starting to gel in my brain. I've been using it to revamp my band's web site, same content, new look. The one snag I ran into was dealing with the <%siteName%> and <%description%> macros in template.txt. I posted this problem on the radio discussion board. Edward Shea posted the same problem. Pat Matheny on the radio right now, theme to "Falcon and the Snowman." I've always dug that song.http://radio.weblogs.com/0102607/categories/technical/2002/02/08.html#a29 (Untitled)- February 4, 2002 Messing with themes and the SoundWaves theme is pretty cool... Helpful hint, to rerender all pages in your radio site when you change your theme, choose Radio - Publish - Entire Website.http://radio.weblogs.com/0102607/categories/technical/2002/02/04.html#a21 (Untitled)- February 1, 2002 Occassionally, I will accidentally repost an older item... I don't know how exactly I keep doing it. But it was when this happened that I accidentally clobbered the "weblogData.root" before. So I may be triggering the same bug that caused this other problem.http://radio.weblogs.com/0102607/categories/technical/2002/02/01.html#a18 |