On 10/26/2011 04:50 PM, Stephan Beal wrote:
On Wed, Oct 26, 2011 at 11:37 PM, Nolan Darilek <no...@thewordnerd.info <mailto:no...@thewordnerd.info>> wrote:

    like to see: hooks, and the ability to query the internal database
    and output the results into a page.

The JSON API provides a "query" command[1] which allows you to run arbitrary queries and get the results as JSON, but it requires admin access (because it allows one to do anything with the db).



Right, I understand that. I was hoping for an extension of TH1 that would allow for something like selecting the most X Y (where Y == commits, events, tickets, etc.) and displaying properties of those objects, such that the default generated page automatically included the most recent news items or whatever. This would eliminate the need for client-side rendering, and would make those pages searchable via Google, etc. I know that I've mentioned this before, and there has seemed to be some interest, but not enough to take it up and I unfortunately lack the skill/time. So it isn't a complaint, more a "here's something I wish I could have."


The topic of "real" hooks has come up many times, and the main reason it hasn't been added so far is platform portability. (Sorry, i don't mean to start another dead-horse-beating thread.)



No worries. I've been on-list for those discussions and understand the issues involved. I just mentioned them for the sake of completeness.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to