[Scummvm-cvs-logs] SF.net SVN: scummvm:[42885] web/trunk/templates/feed_atom.tpl

fredrik_w at users.sourceforge.net fredrik_w at users.sourceforge.net
Wed Jul 29 11:12:20 CEST 2009


Revision: 42885
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42885&view=rev
Author:   fredrik_w
Date:     2009-07-29 09:12:20 +0000 (Wed, 29 Jul 2009)

Log Message:
-----------
Forgot to add the letter to the anchor.

Modified Paths:
--------------
    web/trunk/templates/feed_atom.tpl

Modified: web/trunk/templates/feed_atom.tpl
===================================================================
--- web/trunk/templates/feed_atom.tpl	2009-07-29 09:06:17 UTC (rev 42884)
+++ web/trunk/templates/feed_atom.tpl	2009-07-29 09:12:20 UTC (rev 42885)
@@ -20,7 +20,7 @@
 		{assign var='news_filename' value=$n->getFilename()|substr:'0':'-4'}
 
 		<entry xml:lang="en">
-			<id>{$baseurl}news/archive/#{$n->getDate()|date_f:'Y-m-d'}</id>
+			<id>{$baseurl}news/archive/#{$n->getDate()|date_f:'Y-m-d'}{if $news_filename|strlen == 9}{$news_filename|substr:'-1'}{/if}</id>
 			<link rel="alternate" href="{$baseurl}news/{$news_filename}/" />
 			<updated>{$updated|date_f:'Y-m-d\Th:i:s\Z'}</updated>
 			<published>{$updated|date_f:'Y-m-d\Th:i:s\Z'}</published>


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list