- File System: The quotes were stored in text files separated by a string (-fqt-). In this version I changed it to an XML like tree structure. This way the quote files will be structured better. Your old fqt files will be converted to new xml format when you run the program for the first time (or you can do it in the preferences window)
On the downside, I found out that XML parsers are picky. One non-standart character in the file is enough to make it completely unreadable. Therefore, all non-ASCII characters are removed while saving. If you have a file that doesn't work, just open it in the Quote Editor and save. It should be fixed. I hope to provide support for international characters in the future.
- Quote Editor: The previous editor had separate boxes for each quote in the file and therefore used to take a while to open large files. The new editor has one text box for the whole file. To make things easier quotes are separated with strings "-----Start of Quote-----" and "-----End of Quote-----". So you can still edit without thinking about the structure and the editor will save in xml format. If you want to remove a quote, just delete from the start to the end.
New quotes aren't directly added to the existing text (again for speed). They are stored in a separate text box and when you save changes, the two boxes are merged. Other than that it is pretty much the same (fast collection is still there!).
- Icon: The statusbar icon used to stick out with its white background. Now it is a .png, which means it is transparent. (not pretty I know, but transparent!)
And what to expect in the future?
- Move the Preferences and Quote Editor from Tools menu to right click on the icon (add "cool icon" to the list, while we are on it).
- RSS support (this actually was one of the main reasons for switching to xml format)
- International character support
Let me know what you think.
No comments:
Post a Comment