From: Dave L. <dl...@gm...> - 2009-03-16 14:28:15
|
I brought up a similar request on this list recently ("Semantic Drilldown questions / feature requests") and plan to give a shot at implementing it myself, and coincidentally this is the week I was planning to start my attempt. No promises on it succeeding, but I will try. I want to run my thoughts on the implementation by the group first, though. We already have a pattern for something similar in the formatting of results from an {{#ask}} query, namely in specifying the "format" and "template" arguments. Then of course you can display your results in any of the SRF formats, or as an ordered list or your own template or whatever, and optionally specify a template for the display of each individual result. So I'm thinking that in the category definition page, much like we have a [[has filter::MyFilter]] property specifier in the body text, we could add additional properties such as [[has format::]] and [[has template::]]. The result is that you could use any of the SRF formats, even a calendar or timeline, for output just like in the {{#ask}} query syntax. I've barely seen the code, although I did do some digging around SD the other week, and I imagine this could turn out to be extremely difficult depending on how tightly coupled the existing presentation code is with the rest of the SD implementation. So I have no idea where this is leading me. Probably good to at least start the discussion, regardless of whether I end up being the one to implement it. On Mon, Mar 16, 2009 at 8:30 AM, Dan Bolser <dan...@gm...> wrote: > 2009/3/15 Yaron Koren <ya...@gm...>: >> Semantic Drilldown doesn't support setting the display of results to >> anything but a category-style list of page names at the moment. > > This seems like a natural thing for the user to want to do, as the > data type and semantic of the properties guides the decision of how > best to display / navigate the data. When I asked about the display of > category pages in a category in MediaWiki, I got the impression that > the code to produce that output was too 'deep' to make adding a simple > magic word to tweak it very easy. > > >> -Yaron >> >> >> On Fri, Mar 13, 2009 at 11:35 PM, Dan Bolser <dan...@gm...> wrote: >>> >>> Hi, >>> >>> Sorry if this has come up before, but I was thinking it would be >>> really nice to change the 'results format' of Special:SearchByProperty >>> depending on the property type. >>> >>> Can I achieve this kind of behaviour using semantic drilldown? >>> >>> >>> This is something I always wanted for categories in MW in general, >>> i.e. how many pages should this category display? How many 'index >>> characters' should the category use in its sub-headings. In theory >>> these settings could be defined by magic words in the category page. >>> >>> Thanks for any info, >>> >>> Dan. >>> >>> >>> ------------------------------------------------------------------------------ >>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are >>> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and >>> easily build your RIAs with Flex Builder, the Eclipse(TM)based development >>> software that enables intelligent coding and step-through debugging. >>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com >>> _______________________________________________ >>> Semediawiki-user mailing list >>> Sem...@li... >>> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >> >> > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > |