[TYPO3] add title, description and keywords to print page
jeblaser at hotmail.com
jeblaser at hotmail.com
Mon May 28 13:37:01 CEST 2007
Hello Cray
First of all I don't think it helps for SEO because Searchengines index your
normal page were all the infos in.
Anyway you can setup your print-page as you like as you do with a normal
page. See here wher I set up my print-page:
###Printfriendly
printversion = PAGE
printversion {
typeNum = 98
# include Meta-Data
headerData.10 = <plugin.meta
meta <
bodyTag = <body class="BODY"; style="margin:0px; padding:5px;"
onLoad="window.resizeTo(800, screen.availHeight-20); window.moveTo(0,20)">
stylesheet = {$basePath}/templates/incony.css
#Kopfzeile
10 = IMAGE
10.file= {$basePath}/images/head_700_x_125.jpg
20 = CONTENT
20 {
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
select.languageField = sys_language_uid
wrap = |<br>
}
#Fusszeile
30 = TEXT
30 {
value = <b>name</B>, address, <nobr>Mail: <a class="white"
href=mailto:info at XXX.de>info at XXX.de, <nobr>Tel: +49 0000 000
000</nobr>
wrap = <div class="blue" style="height:20; font:bold 12pt Tahoma"
align="center" valign="middle"> | </div>
}
#enter the name (,alias or id if blank) and current date
40 = COA
40 {
10 = TEXT
#10.value = TITLE
#10.field = header
#10.data = leveltitle : 2
#10.data = page : title
10.data = field:header // field:title // field:alias // field:uid
10.wrap = <span>|, </span>
20 = TEXT
20.data = date:U
20.strftime = %d.%m.%Y
wrap = <div style="height:20; font:bold 8pt Tahoma" align="right"
valign="middle">|</div>
}
}
Hope it helps you.
juerg
Cray Flatline wrote:
> I'm using Make Print Link extension to make print version of each
> page. And print page generated such way:
>
> print_page = PAGE
> print_page {
> typeNum = 98
> 10 = TEXT
> 10.value = <h1><a href="http://broker-ua.com/">Homepage</h1></a>
> 20 = CONTENT
> 20 < styles.content.get
> }
>
>
> How I can add title, description and keywords to it? I need it for
> SEO. And one more question: can i add same title, description and
> keywords to print page as it adds to original page (i'm using Meta
> Tags Auto Maker extension)?
>
> ==
> W BR, Cray
More information about the TYPO3-english
mailing list