[Scummvm-git-logs] scummvm-web master -> 1f0ead5edc7cc3dcfd1e32ca61be10312d5ae9d4

Thunderforge wjherrmann at gmail.com
Sun Apr 5 00:03:47 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .

Summary:
1f0ead5edc DATA: Converting Articles data from XML to YAML


Commit: 1f0ead5edc7cc3dcfd1e32ca61be10312d5ae9d4
    https://github.com/scummvm/scummvm-web/commit/1f0ead5edc7cc3dcfd1e32ca61be10312d5ae9d4
Author: Thunderforge (wjherrmann at gmail.com)
Date: 2020-04-04T19:03:44-05:00

Commit Message:
DATA: Converting Articles data from XML to YAML

Changed paths:
  A data/press_articles.yaml
  R data/press_articles.xml
    include/Models/ArticleModel.php
    include/Objects/Article.php
    templates/pages/press.tpl


diff --git a/data/press_articles.xml b/data/press_articles.xml
deleted file mode 100644
index bd8f33a2..00000000
--- a/data/press_articles.xml
+++ /dev/null
@@ -1,222 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<articles>
-	<article>
-		<url>https://levvvel.com/scummvm/</url>
-		<name>ScummVM is a Magic Box That Runs Classic Adventures</name>
-		<posted>Levvvel, 18 March 2020</posted>
-	</article>
-	<article>
-		<url>https://www.youtube.com/watch?v=BcMIWBfM8z8</url>
-		<name>Retro Tea Break: Eugene Sandulenko SCUMMVM Team Leader</name>
-		<posted>Interviewed by Neil Thomas, RetroManCave Youtube Channel, 20 January 2020</posted>
-	</article>
-	<article>
-		<url>https://boingboing.net/2019/12/18/a-legendary-point-and-click-ad.html</url>
-		<name>A legendary point-and-click adventure game has found a new life online</name>
-		<posted>Boing Boing blog, 18 December 2019</posted>
-	</article>
-	<article>
-		<url>https://www.vice.com/en_us/article/xwnmjq/dedicated-fans-spent-8-years-making-the-1997-blade-runner-game-run-on-a-modern-pc</url>
-		<name>Dedicated Fans Spent 8 Years Making the 1997 'Blade Runner' Game Run on a Modern PC</name>
-		<posted>VICE, 17 June 2019</posted>
-	</article>
-	<article>
-		<url>https://blog.github.com/2018-06-25-preserving-and-playing-classic-point-and-click-adventure-games-with-scummvm</url>
-		<name>Preserving and playing classic point-and-click adventure games with ScummVM</name>
-		<posted>Github Blog, 25 June 2018</posted>
-	</article>
-	<article>
-		<url>https://www.pcgamer.com/uk/how-scummvm-is-keeping-adventure-games-alive-one-old-game-at-a-time/</url>
-		<name>How ScummVM is keeping adventure games alive, one old game at a time</name>
-		<posted>PCGamer, 22 December 2017</posted>
-	</article>
-	<article>
-		<url>https://www.youtube.com/watch?v=QihSN7VCrB0</url>
-		<name>ScummVM Retrospective - Lessons learnt, from games preserved.</name>
-		<posted>linux.conf.au Youtube Channel, 27 January 2017 (Recorded on January 16)</posted>
-	</article>
-	<article>
-		<url>http://www.kotaku.co.uk/2014/11/06/crazy-journey-save-grim-fandango</url>
-		<name>The Crazy Journey to Save Grim Fandango</name>
-		<posted>Kotaku, 6 November 2014</posted>
-	</article>
-	<article>
-		<url>http://www.gamer.no/artikler/feature-historien-om-scummvm/163037?key=pFZ7tmY6</url>
-		<name>ScummVM har gitt nytt liv til mer enn 200 klassiske eventyrspill</name>
-		<language>Norwegian</language>
-		<posted>Gamer.no, 31 October 2014</posted>
-	</article>
-	<article>
-		<url>http://www.reddit.com/r/gamedev/comments/25q40t/lucasarts_scumm_amaa_from_david_fox_a_lead/chjrbuk</url>
-		<name>Lucasarts / SCUMM - AMAA from David Fox, a lead designer & programmer on Zak McKracken, Indiana Jones & the last crusade, Maniac Mansion</name>
-		<posted>Reddit r/gamedev AMAA, 17 May 2014</posted>
-	</article>
-	<article>
-		<url>http://www.youtube.com/watch?v=WE0Cf1JWsAg</url>
-		<name>Tim Schafer Plays "Full Throttle" Part 1 (Using ScummVM!)</name>
-		<posted>Double Fine Productions Youtube Channel, 16 May 2014 (Recorded in 2012)</posted>
-	</article>
-	<article>
-		<url>http://www.youtube.com/watch?v=qumYnE2wYhA</url>
-		<name>Tim Schafer Plays "Day of the Tentacle" Part 1 (Using ScummVM!)</name>
-		<posted>Double Fine Productions Youtube Channel, 9 May 2014 (Recorded in 2012)</posted>
-	</article>
-	<article>
-		<url>http://arstechnica.com/gaming/news/2012/01/maniac-tentacle-mindbenders-of-atlantis-how-scummvm-kept-adventure-gaming-alive.ars</url>
-		<name>Maniac Tentacle Mindbenders: How ScummVM's unpaid coders kept adventure gaming alive</name>
-		<posted>ars technica, January 2012</posted>
-	</article>
-	<article>
-		<url>http://www.guardian.co.uk/technology/gamesblog/2009/mar/22/games</url>
-		<name>Charles Cecil talks Broken Sword Directors Cut and why point and click adventures are back</name>
-		<posted>The Guardian (Games Blog), March 2009</posted>
-	</article>
-	<article>
-		<url>http://grumpygamer.com/6868065</url>
-		<name>The One Wish</name>
-		<posted>Ron Gilbert's Grumpy Gamer blog, 26th November 2007</posted>
-	</article>
-	<article>
-		<url>http://grumpygamer.com/4172170</url>
-		<name>SCUMMVMDSMI</name>
-		<posted>Ron Gilbert's Grumpy Gamer blog, 1st August 2005</posted>
-	</article>
-	<article>
-		<url>http://www.micromart.co.uk/features/article/default.aspx?id=21746</url>
-		<name>Retro-Mart</name>
-		<posted>www.micromart.co.uk, 2004</posted>
-	</article>
-	<article>
-		<url>http://web.archive.org/web/20041010095443/http://www.pcplus.co.uk/tutorials/default.asp?pagetypeid=2&articleid=29821&subsectionid=376&subsubsectionid=749</url>
-		<name>Back to the Source</name>
-		<posted>PC Plus issue 215, May 2004</posted>
-	</article>
-	<article>
-		<url>http://www.mac-emu.net/article.php3?id_article=780</url>
-		<name>Dossier ScummVM</name>
-		<language>French</language>
-		<posted>mac-emu, April 2004</posted>
-	</article>
-	<article>
-		<url>http://www.g4tv.com/callforhelparchive/features/44047/Free_File_ScummVM.html</url>
-		<name>Call for Help show</name>
-		<posted>TechTV, March 19th 2004</posted>
-	</article>
-	<article>
-		<url>http://games.slashdot.org/article.pl?sid=04/03/16/1749211</url>
-		<name>ScummVM 0.6.0 Released With Freeware Bonus</name>
-		<posted>Slashdot, March 17, 2004</posted>
-	</article>
-	<article>
-		<url>http://arisme.free.fr/PocketScumm/press/</url>
-		<name>Adventure games on PDAs</name>
-		<language>French</language>
-		<posted>PDA Magazine issue 9, Mars/April 2004</posted>
-	</article>
-	<article>
-		<url>http://www.justadventure.com/articles/PortableGaming/PortableGaming.shtm</url>
-		<name>Adventure Gaming on the Go</name>
-		<posted>Just Adventure, February 26, 2004</posted>
-	</article>
-	<article>
-		<url>http://www.newsforge.com/article.pl?sid=03/10/07/1527227&mode=thread&tid=22</url>
-		<name>Bringing old adventure games back to life</name>
-		<posted>NewsForge, October 8, 2003</posted>
-	</article>
-	<article>
-		<url>http://www.totalamiga.org/issue16.html</url>
-		<name>ScummVM review</name>
-		<posted>Total Amiga Magazine 16, October 6, 2003</posted>
-	</article>
-	<article>
-		<url>http://www.aventurepc.com/dossiers/scummvm1.html</url>
-		<name>Dossier ScummVM - première partie</name>
-		<language>French</language>
-		<posted>Aventure PC, October 1, 2003</posted>
-	</article>
-	<article>
-		<url>http://obligement.free.fr/articles/scummvm.php</url>
-		<name>Labo : ScummVM</name>
-		<language>French</language>
-		<posted>Obligement, October 2003</posted>
-	</article>
-	<article>
-		<url>http://207.44.176.77/~admin28/zodiacgamer/articles/scummvm.htm</url>
-		<name>Chrilith's ScummVM Zodiac Port WIP</name>
-		<posted>Zodiac Gamer, September 20, 2003</posted>
-	</article>
-	<article>
-		<url>http://www.linuxdevcenter.com/pub/a/linux/2003/08/21/scummvm.html</url>
-		<name>Inside ScummVM: Classic Adventure Engine Overhaul</name>
-		<posted>Oreilly Network, August 21, 2003</posted>
-	</article>
-	<article>
-		<url>http://www.aftonbladet.se/vss/spela/story/0,2789,341129,00.html</url>
-		<name>Spelklassiker - alldeles gratis</name>
-		<language>Swedish</language>
-		<posted>Aftonbladet, August 6, 2003</posted>
-	</article>
-	<article>
-		<url>http://www.pcwelt.de/news/spiele/32970/</url>
-		<name>Gratis: Amüsanter Adventure-Klassiker zum Download</name>
-		<language>German</language>
-		<posted>PC WELT, August 4, 2003</posted>
-	</article>
-	<article>
-		<url>http://games.slashdot.org/article.pl?sid=03/08/02/1235259</url>
-		<name>ScummVM 0.5.0 Out, With Some Official Game Support</name>
-		<posted>Slashdot, August 2, 2003</posted>
-	</article>
-	<article>
-		<url>http://web.archive.org/web/20040619081358/http://www.gamer-nation.co.uk/features/scummvm/index.shtml</url>
-		<name>A Deafening Silence</name>
-		<posted>Gamer Nation UK, June 30, 2003</posted>
-	</article>
-	<article>
-		<url>http://slashdot.org/article.pl?sid=03/04/03/1530224</url>
-		<name>Gameboy Advance Clone Superemulator</name>
-		<posted>Slashdot, April 3, 2003</posted>
-	</article>
-	<article>
-		<url>http://www.scummbar.com/resources/articles/index.php?newssniffer=readarticle&article=22</url>
-		<name>Get those old games working again</name>
-		<posted>Scumm Bar, March 7, 2003</posted>
-	</article>
-	<article>
-		<url>http://happypenguin.org/forums/viewtopic.php?t=549</url>
-		<name>And the winners are...</name>
-		<posted>Game Tome, Jan 28, 2003</posted>
-	</article>
-	<article>
-		<url>/data/news/pczone.jpg</url>
-		<name>Reference to PocketSCUMM in an iPAQ blurb</name>
-		<posted>PC-Zone issue 123, December 2002</posted>
-	</article>
-	<article>
-		<url>http://freshmeat.net/articles/view/543/</url>
-		<name>Linux Games, Category Review</name>
-		<posted>Freshmeat.net, August 31, 2002</posted>
-	</article>
-	<article>
-		<url>http://slashdot.org/article.pl?sid=02/06/26/1312251</url>
-		<name>Lucas Confuses ScummVM With Abandonware</name>
-		<posted>Slashdot, June 26, 2002</posted>
-	</article>
-	<article>
-		<url>http://www.amigafuture.de/forum/kb.php?mode=article&k=145</url>
-		<name>Interview mit Rüdiger Hanke</name>
-		<language>German</language>
-		<posted>Amiga Future #36, May 2002</posted>
-	</article>
-	<article>
-		<url>http://www.pcdemano.com/sections.php?op=viewarticle&artid=151</url>
-		<name>Revisión de PocketScumm Build 0.2.0</name>
-		<language>Spanish</language>
-		<posted>PC demano, March 2002</posted>
-	</article>
-	<article>
-		<url>http://slashdot.org/article.pl?sid=01/11/03/1429247</url>
-		<name>Linux SCUMM Interpreter</name>
-		<posted>Slashdot, November 3, 2001</posted>
-	</article>
-</articles>
diff --git a/data/press_articles.yaml b/data/press_articles.yaml
new file mode 100644
index 00000000..4fb2161a
--- /dev/null
+++ b/data/press_articles.yaml
@@ -0,0 +1,180 @@
+# Press articles and other media featuring the project
+articles:
+  - url: "https://levvvel.com/scummvm/"
+    name: "ScummVM is a Magic Box That Runs Classic Adventures"
+    source: "Levvvel"
+    date: "18 March 2020"
+  - url: "https://www.youtube.com/watch?v=BcMIWBfM8z8"
+    name: "Retro Tea Break: Eugene Sandulenko SCUMMVM Team Leader"
+    source: "Interviewed by Neil Thomas, RetroManCave Youtube Channel"
+    date: "20 January 2020"
+  - url: "https://boingboing.net/2019/12/18/a-legendary-point-and-click-ad.html"
+    name: "A legendary point-and-click adventure game has found a new life online"
+    source: "Boing Boing blog"
+    date: "18 December 2019"
+  - url: "https://www.vice.com/en_us/article/xwnmjq/dedicated-fans-spent-8-years-making-the-1997-blade-runner-game-run-on-a-modern-pc"
+    name: "Dedicated Fans Spent 8 Years Making the 1997 'Blade Runner' Game Run on a Modern PC"
+    source: "VICE"
+    date: "17 June 2019"
+  - url: "https://blog.github.com/2018-06-25-preserving-and-playing-classic-point-and-click-adventure-games-with-scummvm"
+    name: "Preserving and playing classic point-and-click adventure games with ScummVM"
+    source: "Github Blog"
+    date: "25 June 2018"
+  - url: "https://www.pcgamer.com/uk/how-scummvm-is-keeping-adventure-games-alive-one-old-game-at-a-time/"
+    name: "How ScummVM is keeping adventure games alive, one old game at a time"
+    source: "PCGamer"
+    date: "22 December 2017"
+  - url: "https://www.youtube.com/watch?v=QihSN7VCrB0"
+    name: "ScummVM Retrospective - Lessons learnt, from games preserved."
+    source: "linux.conf.au Youtube Channel"
+    date: "27 January 2017 (Recorded on January 16)"
+  - url: "http://www.kotaku.co.uk/2014/11/06/crazy-journey-save-grim-fandango"
+    name: "The Crazy Journey to Save Grim Fandango"
+    source: "Kotaku"
+    date: "6 November 2014"
+  - url: "http://www.gamer.no/artikler/feature-historien-om-scummvm/163037?key=pFZ7tmY6"
+    name: "ScummVM har gitt nytt liv til mer enn 200 klassiske eventyrspill"
+    language: "Norwegian"
+    source: "Gamer.no"
+    date: "31 October 2014"
+  - url: "http://www.reddit.com/r/gamedev/comments/25q40t/lucasarts_scumm_amaa_from_david_fox_a_lead/chjrbuk"
+    name: "Lucasarts / SCUMM - AMAA from David Fox, a lead designer & programmer on Zak McKracken, Indiana Jones & the last crusade, Maniac Mansion"
+    source: "Reddit r/gamedev AMAA"
+    date: "17 May 2014"
+  - url: "http://www.youtube.com/watch?v=WE0Cf1JWsAg"
+    name: "Tim Schafer Plays \"Full Throttle\" Part 1 (Using ScummVM!)"
+    source: "Double Fine Productions Youtube Channel"
+    date: "16 May 2014 (Recorded in 2012)"
+  - url: "http://www.youtube.com/watch?v=qumYnE2wYhA"
+    name: "Tim Schafer Plays \"Day of the Tentacle\" Part 1 (Using ScummVM!)"
+    source: "Double Fine Productions Youtube Channel"
+    date: "9 May 2014 (Recorded in 2012)"
+  - url: "http://arstechnica.com/gaming/news/2012/01/maniac-tentacle-mindbenders-of-atlantis-how-scummvm-kept-adventure-gaming-alive.ars"
+    name: "Maniac Tentacle Mindbenders: How ScummVM's unpaid coders kept adventure gaming alive"
+    source: "ars technica"
+    date: "January 2012"
+  - url: "http://www.guardian.co.uk/technology/gamesblog/2009/mar/22/games"
+    name: "Charles Cecil talks Broken Sword Directors Cut and why point and click adventures are back"
+    source: "The Guardian (Games Blog)"
+    date: "March 2009"
+  - url: "http://grumpygamer.com/6868065"
+    name: "The One Wish"
+    source: "Ron Gilbert's Grumpy Gamer blog"
+    date: "26th November 2007"
+  - url: "http://grumpygamer.com/4172170"
+    name: "SCUMMVMDSMI"
+    source: "Ron Gilbert's Grumpy Gamer blog"
+    date: "1st August 2005"
+  - url: "http://www.micromart.co.uk/features/article/default.aspx?id=21746"
+    name: "Retro-Mart"
+    source: "www.micromart.co.uk"
+    date: "2004"
+  - url: "http://web.archive.org/web/20041010095443/http://www.pcplus.co.uk/tutorials/default.asp?pagetypeid=2&articleid=29821&subsectionid=376&subsubsectionid=749"
+    name: "Back to the Source"
+    source: "PC Plus issue 215"
+    date: "May 2004"
+  - url: "http://www.mac-emu.net/article.php3?id_article=780"
+    name: "Dossier ScummVM"
+    language: "French"
+    source: "mac-emu"
+    date: "April 2004"
+  - url: "http://www.g4tv.com/callforhelparchive/features/44047/Free_File_ScummVM.html"
+    name: "Call for Help show"
+    source: "TechTV"
+    date: "19 March 2004"
+  - url: "http://games.slashdot.org/article.pl?sid=04/03/16/1749211"
+    name: "ScummVM 0.6.0 Released With Freeware Bonus"
+    source: "Slashdot"
+    date: "17 March 2004"
+  - url: "http://arisme.free.fr/PocketScumm/press/"
+    name: "Adventure games on PDAs"
+    language: "French"
+    source: "PDA Magazine issue 9"
+    date: "Mars/April 2004"
+  - url: "http://www.justadventure.com/articles/PortableGaming/PortableGaming.shtm"
+    name: "Adventure Gaming on the Go"
+    source: "Just Adventure"
+    date: "26 February 2004"
+  - url: "http://www.newsforge.com/article.pl?sid=03/10/07/1527227&mode=thread&tid=22"
+    name: "Bringing old adventure games back to life"
+    source: "NewsForge"
+    date: "8 October 2003"
+  - url: "http://www.totalamiga.org/issue16.html"
+    name: "ScummVM review"
+    source: "Total Amiga Magazine 16"
+    date: "6 October 2003"
+  - url: "http://www.aventurepc.com/dossiers/scummvm1.html"
+    name: "Dossier ScummVM - première partie"
+    language: "French"
+    source: "Aventure PC"
+    date: "1 October 2003"
+  - url: "http://obligement.free.fr/articles/scummvm.php"
+    name: "Labo : ScummVM"
+    language: "French"
+    source: "Obligement"
+    date: "October 2003"
+  - url: "http://207.44.176.77/~admin28/zodiacgamer/articles/scummvm.htm"
+    name: "Chrilith's ScummVM Zodiac Port WIP"
+    source: "Zodiac Gamer"
+    date: "20 September 2003"
+  - url: "http://www.linuxdevcenter.com/pub/a/linux/2003/08/21/scummvm.html"
+    name: "Inside ScummVM: Classic Adventure Engine Overhaul"
+    source: "Oreilly Network"
+    date: "21 August 2003"
+  - url: "http://www.aftonbladet.se/vss/spela/story/0,2789,341129,00.html"
+    name: "Spelklassiker - alldeles gratis"
+    language: "Swedish"
+    source: "Aftonbladet"
+    date: "6 August 2003"
+  - url: "http://www.pcwelt.de/news/spiele/32970/"
+    name: "Gratis: Amüsanter Adventure-Klassiker zum Download"
+    language: "German"
+    source: "PC WELT"
+    date: "4 August 2003"
+  - url: "http://games.slashdot.org/article.pl?sid=03/08/02/1235259"
+    name: "ScummVM 0.5.0 Out, With Some Official Game Support"
+    source: "Slashdot"
+    date: "2 August 2003"
+  - url: "http://web.archive.org/web/20040619081358/http://www.gamer-nation.co.uk/features/scummvm/index.shtml"
+    name: "A Deafening Silence"
+    source: "Gamer Nation UK"
+    date: "30 June 2003"
+  - url: "http://slashdot.org/article.pl?sid=03/04/03/1530224"
+    name: "Gameboy Advance Clone Superemulator"
+    source: "Slashdot"
+    date: "3 April 2003"
+  - url: "http://www.scummbar.com/resources/articles/index.php?newssniffer=readarticle&article=22"
+    name: "Get those old games working again"
+    source: "Scumm Bar"
+    date: "7 March 2003"
+  - url: "http://happypenguin.org/forums/viewtopic.php?t=549"
+    name: "And the winners are..."
+    source: "Game Tome"
+    date: "28 January 2003"
+  - url: "/data/news/pczone.jpg"
+    name: "Reference to PocketSCUMM in an iPAQ blurb"
+    source: "PC-Zone issue 123"
+    date: "December 2002"
+  - url: "http://freshmeat.net/articles/view/543/"
+    name: "Linux Games, Category Review"
+    source: "Freshmeat.net"
+    date: "31 August 2002"
+  - url: "http://slashdot.org/article.pl?sid=02/06/26/1312251"
+    name: "Lucas Confuses ScummVM With Abandonware"
+    source: "Slashdot"
+    date: "26 June 2002"
+  - url: "http://www.amigafuture.de/forum/kb.php?mode=article&k=145"
+    name: "Interview mit Rüdiger Hanke"
+    language: "German"
+    source: "Amiga Future #36"
+    date: "May 2002"
+  - url: "http://www.pcdemano.com/sections.php?op=viewarticle&artid=151"
+    name: "Revisión de PocketScumm Build 0.2.0"
+    language: "Spanish"
+    source: "PC demano"
+    date: "March 2002"
+  - url: "http://slashdot.org/article.pl?sid=01/11/03/1429247"
+    name: "Linux SCUMM Interpreter"
+    source: "Slashdot"
+    date: "3 November 3"
+    DATE: "2001"
diff --git a/include/Models/ArticleModel.php b/include/Models/ArticleModel.php
index 22b096e1..2551f646 100644
--- a/include/Models/ArticleModel.php
+++ b/include/Models/ArticleModel.php
@@ -2,7 +2,6 @@
 namespace ScummVM\Models;
 
 use ScummVM\Objects\Article;
-use ScummVM\XMLParser;
 
 /**
  * The ArticleModel class will generate Article objects.
@@ -12,17 +11,17 @@ abstract class ArticleModel extends BasicModel
     /* Get all articles. */
     public static function getAllArticles()
     {
-        $fname = DIR_DATA . '/press_articles.xml';
-        $parser = new XMLParser();
-        $parsedData = $parser->parseByFilename($fname);
+        $fname = DIR_DATA . '/press_articles.yaml';
+        $parsedData = \yaml_parse_file($fname);
         $entries = array();
-        foreach (array_values($parsedData['articles']['article']) as $value) {
+        foreach (array_values($parsedData['articles']) as $value) {
             $entries[] = new Article(
                 array(
                 'name' => $value['name'],
                 'url' => $value['url'],
                 'language' => $value['language'],
-                'posted' => $value['posted'],
+                'source' => $value['source'],
+                'date' => $value['date'],
                 )
             );
         }
diff --git a/include/Objects/Article.php b/include/Objects/Article.php
index beeec142..534d2eb0 100644
--- a/include/Objects/Article.php
+++ b/include/Objects/Article.php
@@ -9,7 +9,8 @@ class Article extends BasicObject
 {
     private $url;
     private $language;
-    private $posted;
+    private $source;
+    private $date;
 
     /* Article object constructor. */
     public function __construct($data)
@@ -17,7 +18,8 @@ class Article extends BasicObject
         parent::__construct($data);
         $this->url = $data['url'];
         $this->language = $data['language'];
-        $this->posted = $data['posted'];
+        $this->source = $data['source'];
+        $this->date = $data['date'];
     }
 
     /* Get the URL. */
@@ -32,9 +34,15 @@ class Article extends BasicObject
         return $this->language;
     }
 
+    /* Get the source that published it. */
+    public function getSource()
+    {
+        return $this->source;
+    }
+
     /* Get the date it was posted. */
-    public function getPosted()
+    public function getDate()
     {
-        return $this->posted;
+        return $this->date;
     }
 }
diff --git a/templates/pages/press.tpl b/templates/pages/press.tpl
index 828f4be0..69ea9826 100644
--- a/templates/pages/press.tpl
+++ b/templates/pages/press.tpl
@@ -6,9 +6,9 @@
   {foreach from=$articles item=article}
   <p>
     {if $article->getLanguage() != null}
-      <a href="{$article->getURL()}"><b>{$article->getName()}</b></a> ({$article->getLanguage()}), {$article->getPosted()}
+      <a href="{$article->getURL()}"><b>{$article->getName()}</b></a> ({$article->getLanguage()}), {$article->getSource()}, {$article->getDate()}
     {else}
-      <a href="{$article->getURL()}"><b>{$article->getName()}</b></a>, {$article->getPosted()}
+      <a href="{$article->getURL()}"><b>{$article->getName()}</b></a>, {$article->getSource()}, {$article->getDate()}
     {/if}
   </p>
   {/foreach}




More information about the Scummvm-git-logs mailing list