Features and fixes in the FeedLand system.
  • Every so often the Bookmarks file would get wiped out, and of course this is more than annoying. #
  • So today I reviewed the code, and quickly found a condition that would cause the file to get reinitialized.#
  • Sloppy coding, if there was an error reading the file, you would lose the bookmarks. #
  • The fix was to not reinitialize the file if there's an error if you had already initialized the file#
  • The reason this was happening a lot lately is that we were having issues with the server, and errors reading the file were probably more common.#
  • Here's what happens now. If there's an error:#
    • An error dialog appears saying there was an error reading the bookmarks file.#
    • The menu is not initialized and does not appear in the menubar.#
    • The bookmark icon below each news item is disabled, and the tooltip says so. #
    • It beeps if you click on the icon.#
  • The assumption is that the file actually exists, but we're not able to read it. The fix is to reload the page. If the problem occurs every time you load the page, over a period of hours, you should report it. My guess is that the error will generally clear when the server returns to normal if there is a problem with the server. #

© copyright 1994-2023 Dave Winer.

Last update: Wednesday August 30, 2023; 11:42 AM EDT.

You know those obnoxious sites that pop up dialogs when they think you're about to leave, asking you to subscribe to their email newsletter? Well that won't do for Scripting News readers who are a discerning lot, very loyal, but that wouldn't last long if I did rude stuff like that. So here I am at the bottom of the page quietly encouraging you to sign up for the nightly email. It's got everything from the previous day on Scripting, plus the contents of the linkblog and who knows what else we'll get in there. People really love it. I wish I had done it sooner. And every email has an unsub link so if you want to get out, you can, easily -- no questions asked, and no follow-ups. Go ahead and do it, you won't be sorry! :-)