Mark Paschal has released version 1.2.0 of Kit, his excellent replacement for Radio UserLand's news aggregator. This version includes several important bug fixes and enhancements. My favorite new feature: "repairs broken HTML (unclosed tags and attributes) in news items."

Comments

I've actually had a little trouble with it. I noticed on a few items it gave me stray, like, / </p> at the ends of items. I haven't looked closely enough to tell if I should consider it my fault or not yet.

And it's really freaky code; it's the code I drew this sorry state machine for, so I had to implement a state machine in UserTalk. The one script has several subscripts, and keeps a handler variable with the address of a particular script; the loop that runs through the string sets the script-scoped character variable, then handler^()s. When a state needs to exit to a new state, the current state does handler = @newstate and returns, and the string consumer chugs along through all the characters. I haven't written a UserTalk script remotely resembling that one before.

I've actually had a little trouble with it. I noticed on a few items it gave me stray, like, / </p> at the ends of items. I haven't looked closely enough to tell if I should consider it my fault or not yet.

And it's really freaky code; it's the code I drew this sorry state machine for, so I had to implement a state machine in UserTalk. The one script has several subscripts, and keeps a handler variable with the address of a particular script; the loop that runs through the string sets the script-scoped character variable, then handler^()s. When a state needs to exit to a new state, the current state does handler = @newstate and returns, and the string consumer chugs along through all the characters. I haven't written a UserTalk script remotely resembling that one before.

Add a Comment

All comments are moderated before publication. These HTML tags are permitted: <p>, <b>, <i>, <a>, and <blockquote>. This site is protected by reCAPTCHA (for which the Google Privacy Policy and Terms of Service apply).