Jaldhar H. Vyas wrote:
> For example look at http://www.mimamsa.org/
>
> On e.g. /sources/index.html I use:
>
> [[map pages="sources/* and !sources/index and !*/Discussion" 
> key="description"]]
>
> /sources/mp.html contains:
>
> [[meta title="[MP]" description="\"Mimamsa Paribhasha of Krsna Yajvan\" 
> translated by Swami Madhavananda"]]
>
> exactly the way I mentioned above and it seems to work ok.

There are at least two reasons that setting and using a description like that
can't work:

1. meta takes only one key=value field. So you can't set a title and a 
   description in the same meta, like you do in your example. It will
   ignore the description= part.
2. As I mentioned, meta simply does not populate %pagestate with data
   from user-defined fields, such as "description". So the data is simply
   not there for the map plugin to use.

I've verified this by both reading the code, as well as by applying your
patch, copying your above examples into pages, and verifying that it
doesn't display the descriptions.

Finally, I checked http://www.mimamsa.org/sources/ , and it doesn't work
there either! Your map has:

    * sources/ak
    * sources/as
    * sources/cs
    * sources/mp
    * sources/ms
    * sources/ps
    * sources/tb

To make this work, meta would have to be changed to store description,
and any other relevant fields in %pagestate. And you'd have to not stack
multiple value settings in [[meta]] directives, since that doesn't work,
and isn't intended to..

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to