Skip to content
Snippets Groups Projects
Commit 4f2e0004 authored by Tim Weber's avatar Tim Weber
Browse files

export_html instead of _xhtml in template.php FS#728

darcs-hash:20060228203550-565ca-39181e82452bd13cd490dd9eba722cdfca7087c1.gz
parent 24a33b42
No related branches found
No related tags found
No related merge requests found
...@@ -177,12 +177,12 @@ function tpl_metaheaders($alt=true){ ...@@ -177,12 +177,12 @@ function tpl_metaheaders($alt=true){
if($alt){ if($alt){
ptln('<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="'.DOKU_BASE.'feed.php" />',$it); ptln('<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="'.DOKU_BASE.'feed.php" />',$it);
ptln('<link rel="alternate" type="application/rss+xml" title="Current Namespace" href="'.DOKU_BASE.'feed.php?mode=list&amp;ns='.$INFO['namespace'].'" />',$it); ptln('<link rel="alternate" type="application/rss+xml" title="Current Namespace" href="'.DOKU_BASE.'feed.php?mode=list&amp;ns='.$INFO['namespace'].'" />',$it);
ptln('<link rel="alternate" type="text/html" title="Plain HTML" href="'.wl($ID,'do=export_html').'" />',$it); ptln('<link rel="alternate" type="text/html" title="Plain HTML" href="'.wl($ID,'do=export_xhtml').'" />',$it);
ptln('<link rel="alternate" type="text/plain" title="Wiki Markup" href="'.wl($ID, 'do=export_raw').'" />',$it); ptln('<link rel="alternate" type="text/plain" title="Wiki Markup" href="'.wl($ID, 'do=export_raw').'" />',$it);
} }
// setup robot tags apropriate for different modes // setup robot tags apropriate for different modes
if( ($ACT=='show' || $ACT=='export_html') && !$REV){ if( ($ACT=='show' || $ACT=='export_xhtml') && !$REV){
if($INFO['exists']){ if($INFO['exists']){
ptln('<meta name="date" content="'.date('Y-m-d\TH:i:sO',$INFO['lastmod']).'" />',$it); ptln('<meta name="date" content="'.date('Y-m-d\TH:i:sO',$INFO['lastmod']).'" />',$it);
//delay indexing: //delay indexing:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment