Hello, on Friday 27 April 2012 at 23:39, Chris Drexler wrote: > @all > Back to the topic from below regarding integration: I wanted to be able > to identify > the *content* of a txt file independently of its extension. With that I > can write md > in .txt files. Normal fossil will render it as pre-formatted text. > MD-enhanced fossil > renders it as html. > Therefore pure mime-type based integration would not work.
If you cannot afford dedicated mime-type and extensions, then indeed your solution of detecting pandoc-like header is appropriate. Another alternative, which in my opinion is not worse but not better, though definitely more markdown-ish, is to detect a level-1 header and the beginning of the document, since wiki-style rendering has no use for metadata outside of document title. On the other hand, it can lead to false-positive, since shell-style comments look exactly like level-1 ATX-style markdown header. And you might actually want the extra metadata even though it's not actually displayed by fossil. Again, I'm just commenting on alternatives, in the open-source voluntary world, technical considerations of each alternative is of little weight when one of them is implemented (or at least has people willing to implement them) and the rest is still thin air. > And one more on the licensing issue: is sundown under the same license as > libupskirt or do the differ? From the license info in the source it > should both > be OK. Am I wrong here? They are indeed both under the same licence. However the important difference here is that I have the rights on libupskirt, while I have been ditched out of copyright notices in sundown. Whether or not the latter is legitimate is irrelevant to me (I've stopped caring long ago) and probably to you, but the important legal consequence is that I can fill out http://fossil-scm.org/index.html/doc/trunk/www/copyright-release.html for libupskirt and not for sundown. Now maybe you can get the author of sundown fill that out too, I genuinely have no idea. I suspect sundown having many credited contributors, and even more uncredited ones, might make the process a bit more difficult. Or maybe not, I don't know exactly how all this works. Or maybe it would just be swept under the rug. Anyway, that's a lot of uncertainty on sundown side, that will probably take efforts and time to solve. My involvement in fossil discussions and loneliness on the project make things much simpler for libupskirt. I just hope I'm not making this look I'm calling in FUD for destruction sake /o\ Hoping this helps, Natacha
pgpb1adJz4i8L.pgp
Description: PGP signature
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users