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

fredrik_w at users.sourceforge.net fredrik_w at users.sourceforge.net
Sun May 24 10:39:14 CEST 2009


Revision: 40853
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40853&view=rev
Author:   fredrik_w
Date:     2009-05-24 08:39:14 +0000 (Sun, 24 May 2009)

Log Message:
-----------
Fix feed templates so we don't have double slashes (scummvm.org//news/...).

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

Modified: web/trunk/templates/feed_atom.tpl
===================================================================
--- web/trunk/templates/feed_atom.tpl	2009-05-24 08:27:33 UTC (rev 40852)
+++ web/trunk/templates/feed_atom.tpl	2009-05-24 08:39:14 UTC (rev 40853)
@@ -17,8 +17,8 @@
 		{assign var='timezone_offset' value=$n->getDate()|date_f:'Z'}
 		{assign var='updated' value=$n->getDate()-$timezone_offset}
 		<entry xml:lang="en">
-			<id>{$baseurl}/news/archive/#{$n->getDate()|date_f:'Y-m-d'}</id>
-			<link rel="alternate" href="{$baseurl}/news/#{$n->getDate()|date_f:'Y-m-d'}" />
+			<id>{$baseurl}news/archive/#{$n->getDate()|date_f:'Y-m-d'}</id>
+			<link rel="alternate" href="{$baseurl}news/#{$n->getDate()|date_f:'Y-m-d'}" />
 			<updated>{$updated|date_f:'Y-m-d\Th:i:s\Z'}</updated>
 			<published>{$updated|date_f:'Y-m-d\Th:i:s\Z'}</published>
 			<title type="html">{$n->getTitle()}</title>

Modified: web/trunk/templates/feed_rss.tpl
===================================================================
--- web/trunk/templates/feed_rss.tpl	2009-05-24 08:27:33 UTC (rev 40852)
+++ web/trunk/templates/feed_rss.tpl	2009-05-24 08:39:14 UTC (rev 40853)
@@ -13,8 +13,8 @@
 			{if $n->getAuthor() != ''}
 			<author>nospam at scummvm.org ({$n->getAuthor()})</author>
 			{/if}
-			<guid isPermaLink='true'>{$baseurl}/news/archive/#{$n->getDate()|date_f:'Y-m-d'}</guid>
-			<link>{$baseurl}/news/#{$n->getDate()|date_f:'Y-m-d'}</link>
+			<guid isPermaLink='true'>{$baseurl}news/archive/#{$n->getDate()|date_f:'Y-m-d'}</guid>
+			<link>{$baseurl}news/#{$n->getDate()|date_f:'Y-m-d'}</link>
 		</item>
 		{/foreach}
 	</channel>


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