Recent Topics

Atom skin trivial bug

Started by on Apr 19, 2007 – Contents updated: Apr 19, 2007

Apr 19, 2007 19:10    

just really trivial, coz it still works fine even with the slight quirk...

from skins/atom/_main.php
Change:


<link rel="self" type="text/html" href="<?php $Blog->disp( 'atom_url', 'xmlattr' ) ?>" />

to:


<link rel="self" type="application/atom+xml" href="<?php $Blog->disp( 'atom_url', 'xmlattr' ) ?>" />

Atom validation page tool shows a 'self' error (ie href is pointing to a 'non-Atom' page).

If changed to "type="application/atom+xml", it detects the page as an Atom feed, and clears the feed of errors.

Sample: [url=http://feedvalidator.org/check.cgi?url=http%3A//gameshogun.ws/allblogs%3Ftempskin%3D_atom]my feed[/url]

(not sure if this goes here or on the skins/templates sub-forums)

May 20, 2007 02:55

Thank you for reporting.

This is typically the kind of stuff we have fixed in the 2.0 branch a long time ago but forgot to backport to 1.10 :/

Will be fixed in 1.10.1


Form is loading...

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