perl-docs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Per Einar Ellefsen <per.ei...@skynet.be>
Subject Re: [PATCH] Implement <head> elements moving in DocSet
Date Wed, 12 Jun 2002 08:15:25 GMT
At 10:03 12.06.2002, Stas Bekman wrote:
 > so just to make sure that we are on the same line, currently we will 
handle only <meta> and <base> tags, right? These should be deparsed into 
key/value pairs which will be then reconsructed by the templates.
>meta:
>metaname => metavalue

It can't be exactly like that, because there is meta http-equiv too. I'll 
construct it like:
meta => [
  { name => '...',
    content => '...',
},
  { 'http-equiv' => 'Content-type',
    content => 'text/html',
} ]

But the idea is the same.

>base:
>"href" => http:/...

yes.

>so in the template we first convert the hardcoded headers into a 
>datastructure:
>[% default =
>    meta => {
>       author => "docs-dev (at) perl.apache.org",
>       description => "Manuals, Hints, Guidelines, Scenarios...",
>       ...
>    },
>
>%]

So that'd be:
[% default =
    meta => [ { name => 'author', content => 'docs-...' }, { name => 
'description', ....... etc. Same basic idea.

Anyway, we're along the same lines...I'll make it work soon :)

-- 
Per Einar Ellefsen
per.einar@skynet.be



---------------------------------------------------------------------
To unsubscribe, e-mail: docs-dev-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-dev-help@perl.apache.org


Mime
View raw message