September 20, 2003 11:43 PM

Bug Fix: Fixed Double Entry Bug

Nanoblogger uses a "for loop" to get the list of entries, unfortunately the for loop was too generalized and would pickup files that weren't entry files. I modified the for loop to only include the files that end with ".htm", eliminating the inconvience of processing backup files that end with ".htm~" and then displaying them as a double entry. It should be noted that some of the base plugins have the same bug, so they had to be changed as well. This bug is more evident when using an editor such as emacs, that creates backups of edited files by appending a "~" to the end of a file's name.


Posted by n1xt3r | Permanent link | File under: developer-notes | Comments: (0)

0 comments

Comments are closed

If you really, really want to comment, please mail n1xt3r@fastmail.fm