1
PopUp Wisdom / Re: Parsing of Fortune Files
« on: July 22, 2008, 01:16 PM »you have a couple of choices for forcing newlines in these files. you can manually put a \n where you want a newline
if i were willing to do this, i would have used popupwisdom's own format
or you can start lines which should start on a new line with a space or you can put 2 newlines (or more) to indicate a break.
meh. none of this is wysiwyg. wouldn't it be nice to have a wysiwyg file format, that would be pleasant to read and work with, as well as being used as a data format?
i do appreciate the work you've put into compliance with the cookie-jar format, and i understand why it needs to work the way it does, but perhaps you can appreciate the feature request i defined above.
maybe you can define a new format, unique to popupwisdom, that is similar to the cookie-jar format but is wysiwyg. you get newlines and spaces and tabs if you put them, where you put them, and nowhere else, (except whitespace between content and delimiter is ignored, like you currently do with cookie-jar format). in this new and original file format, you would probably want to define a new delimiter different from % or %%. you could call it popup wisdom wysiwyg file format. it shouldn't be too much work on top of work you've already done, but i feel like it would be a useful and worthy addition.
what do people think about this?