[Top][All Lists]

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

[help-texinfo] [SPAM] Re: adding <link rel="canonical" ...>

From: Patrice Dumas
Subject: [help-texinfo] [SPAM] Re: adding <link rel="canonical" ...>
Date: Sun, 12 Feb 2012 23:33:51 +0100
User-agent: Mutt/

On Thu, Jan 19, 2012 at 12:07:46AM +0100, Marc Glisse wrote:
> Hello,
> I am looking for a way to add <link rel="canonical" href="somewhere/$file" 
> /> to the headers of the generated html pages. With makeinfo, it doesn't 
> seem possible :-(
> So I looked at texi2html (with --node-files to get a similar result), 
> there is $EXTRA_HEAD, but I couldn't see how to reference the file name 
> from there (I am not a perl guru).

I don't really understand your quastion here.  With texi2html you can
use an init files with content:

$EXTRA_HEAD = '<link rel="canonical" href="somewhere/$file"/>';

With texi2any, it could be along
./ --set EXTRA_HEAD='<link rel="canonical" href="somewhere/$file"/>' 
--html c.texi

or in an init file
set_from_init_file('EXTRA_HEAD', '<link rel="canonical" 


reply via email to

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