Hello Stephan, Lately I have been working on integrating Bootstrap (from Twitter) to modernize the look & feel and add a responsive design to my Fossil web interfaces. For that, I hacked the markup generated by fossil, mainly adding a few class attributes - these modifications could probably be written in javascript. The main thing I'm really missing is a way to inject raw html within the wiki markups, html that would not be parsed, because the parser is a bit to restrictive and may remove some markup/attributes considered armfuls or unknowns. A concrete example :
<div class="span12> <ol class="carousel-indicators"> <li data-target="#carousel" data-slide-to="0" class="active"></li> <li data-target="#carousel" data-slide-to="1"></li> <li data-target="#carousel" data-slide-to="2"></li> </ol> </div> With the current implementation the div markup and the data-target, data-slide-to attributes are stripped from the rendered output. Meanwhile, I have been following your dev of the JSON API as this is probably the right solution in the long term (to have fossil as library/web service). But in the short term is this kind of hack worth considering (I have a prototype implemented for Fossil Wiki markup) ? Regards, Samuel Le 30/08/2013 16:31, Stephan Beal a écrit : > On Fri, Aug 30, 2013 at 3:58 PM, Samuel Debionne > <samuel.debio...@ujf-grenoble.fr > <mailto:samuel.debio...@ujf-grenoble.fr>> wrote: > > Too bad. Would that mean that if I submit a patch that would make it an > extra option with an "extra warning" it has no chance to be accepted ? > > > That would be Richard's decision. i wouldn't be against it. My own use > of the wiki nowadays mostly uses the JSON API to store/fetch > GoogleCode-formatted wiki pages and render them on the client using > JavaScript. Example: > > http://fossil.wanderinghorse.net/wikis/cson/?page=cson > > That's a fossil repository who's sole purpose is to hold the wiki pages > for that project (the sources are another repo), and it's only rendered > using the custom (wiki-only) front-end. > > -- > ----- stephan beal > http://wanderinghorse.net/home/stephan/ > http://gplus.to/sgbeal > > > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >
<<attachment: samuel_debionne.vcf>>
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users