> From: Diana Shannon [mailto:[EMAIL PROTECTED]] > On Monday, July 1, 2002, at 04:46 AM, Piroumian Konstantin wrote: > > > This is already done for the scratchpad and would be fine > also for the > > samples. The only problem is that you'll need also some > additional info, > > e.g. a short description, for the sample. I've proposed to add a > > 'map:description' top-level element to sitemap, which can be used to > > generate that info. > -1 IMO this breaks SoC.
For using it in a page for samples list - yes, but generally, a 'description' element can be used also with sitemap authoring tools to provide some descriptive information to the user. And as a side effect it can be used in our case, until we invent something more appropriate. > > > Another idea is the have a sample.xml document in each > sample directory, > > that can be processed by the XPathDirectoryGenerator to get > the needed > > description from it. > +1 Then we can expand such a file in the future to include > more that a > short description. For simple samples (e.g. 'hello world', 'svg') this file can be the front-page, and then it's worth it. But the samples with their own layout and styles would like to have their own front-page (i18n, flow). So, I'd like to use a description from the sitemap for the page with the samples list and samples should provide a default matcher displaying the desired front-page. If you explain what else can be added to the sample.xml document except a short description then I'll change my opinion. Konstantin > > Diana > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]