On 4 Feb 2009 at 8:36, Emmanuel Godard wrote:

> Hi everybody,
> 
> is there an easy way to customize headers (actually, headers and top of
> the body). There is the --no-headers option so it is possible to
> concatenate with a customized header afterwards. But doing so, txt2tags
> cannot conveniently set the content for the title tag (eg <title> in
> (x)html).

I use postproc lines to change the headers where necessary:

add text to the title:
%!postproc(xhtml): '</title>' ' - friendly matches, Sunday cricket, 
Surrey &amp; Hants</title>'

add meta tags:
%!postproc(xhtml): '<meta' '<meta name="description" content="Cricket 
friendlies" />\n<meta'

I think something similar is used in the t2t website too.

paul


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
txt2tags-list mailing list
https://lists.sourceforge.net/lists/listinfo/txt2tags-list

Reply via email to