Recent Topics

Small correction for Atom skin

Started by on Feb 07, 2007 – Contents updated: Feb 07, 2007

Feb 07, 2007 15:01    

-			<link rel="alternate" type="text/html" href="<?php $Blog->disp( 'blogurl', 'xml' ) ?>" />
-			<link rel="self" type="text/html" href="<?php $Blog->disp( 'atom_url', 'xmlattr' ) ?>" />
-			<id><?php $Blog->disp( 'atom_url', 'xmlattr' ); /* TODO: may need a regenerate_url() */ ?></id>
+			<link rel="alternate" type="text/html" href="<?php $Blog->disp( 'blogurl', 'xmlattr' ) ?>" />
+			<link rel="self" type="<?php echo $debug? 'application/xml' : 'application/atom+xml' ?>" href="<?php $Blog->disp( 'atom_url', 'xmlattr' ) ?>" />
+			<id><?php $Blog->disp( 'atom_url', 'xml' ); /* TODO: may need a regenerate_url() */ ?></id>


Thie current one is valid as is, still.


Form is loading...

Build your own website! – This forum is powered by b2evolution CMS, a complete engine for your website.