demexp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Demexp-dev] tag classification and hierachy


From: David MENTRE
Subject: Re: [Demexp-dev] tag classification and hierachy
Date: Sun, 10 Sep 2006 13:28:37 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Hello Augustin,

Augustin <address@hidden> writes:

> I do not have anything like this in the data from the demo server. I guess it 
> was not done this way back then.

Yes, there is no such simple classification on the demo server.

I have setup a second proxy for the official server so you can test your
code. Its URL is:
  http://www.linux-france.org/cgi-bin/demexp-xmlrpc-official


> Here is a sample data I am getting:
>
>     [5] => Array
>         (
>             [a_tag_label] => 'financement'
>             [a_tag_timestamp] => 0
>             [a_tag_id] => 14
>         )
>
> Can you confirm that you are prepending the a_tag_label with your 
> classification code like this:
>             [a_tag_label] => 'afd: financement'
> ?

Yes, exactly like this.

> The only effect is in the alphabetical listing of all questions, isn't it?

In fact, if you want to do a proper display, you'd rather strip the
'xxx: ' part and display just the tag label.

For example, if we have tags:

 - #1: 'a: Tag1'
 - #2: 'aa: Tag2'
 - #3: 'b: Tag3'

And question #0: 'A good question' with tags #1 and #2, you can have
different displays:

 1. A tree of tags, following the alphabetical order of 'xxx:' parts:

   Tag1
    +-- Tag2
    |    +-- Question #0: 'A good question'
    +-- Tag3

 2. You can make a flat display of all the tags:

  Tag1
  Tag2
  Tag3

  Selecting/searching one or more of them would selection corresponding
  question (current hard client behaviour). E.g., selectiing Tag1 or
  Tag2 would display question #0.

 3. Whatever other classification you find interesting, with user
    preferences, etc.


As a main rule, the demexp classification is /flat/: there is no
hierachy of tags. The client is supposed to offer means to explore this
bag of tags. 

On this flat bag of tags, we have added a kind of /default/ hierarchy
which might be used but is not by any means mandatory.

> My concern is also one of display and organization of all the nodes and 
> forums 
> within the site.

Use what you feel interesting for you. Feel free to experiment! ;-)

Best wishes,
d.
-- 
GPG/PGP key: A3AD7A2A David MENTRE <address@hidden>
 5996 CC46 4612 9CA4 3562  D7AC 6C67 9E96 A3AD 7A2A




reply via email to

[Prev in Thread] Current Thread [Next in Thread]