How can I add a field to a view description I'm running into a quite simple problem : I would add fields to a view description, in order to list my views by this field.

Example : add a taxonomy field to the views, let's say "View color". Then, I would create a view of views, only for the views having a color, ordered by their colors and letting me see a XML containing the color and a link to the view's page :

&lt;...&gt;
    &lt;view&gt;
        &lt;color&gt;red&lt;/color&gt;
        &lt;link&gt;http://example.com/path-to-red-view&lt;/link&gt;
        &lt;color&gt;blue&lt;/color&gt;
        &lt;link&gt;http://example.com/path-to-blue-view&lt;/link&gt;
    &lt;....&gt;
&lt;/...&gt;


I don't want to generate the links by rewriting (I know how to do that), but really add a field to the views.

The question is a bit wobbly, but I don't figure out how to write it. I found nothing on the web describing what I want to do, maybe due to that.

Thereby, all help is welcome !

Thanks
I don't know that it will provide all the functionality you are looking for, but you could look into Views Field View:


  This module allows you to embed a view as a field in a view. A new
  field handler is made available, so this can also be used in area
  (header/footer/empty) handlers as well as rows.
  
  This view handler can accept arguments from fields of the parent view
  using tokens and pass them into the child view for each row. Raw or
  rendered token values can be used, as well as static values.