<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.0.1.xsd">
  <header>
    <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
    <title lang="en">RSS News Center</title>
    <description lang="en">Adds a scrolling news ticker on the forum index displaying the latest headlines from a given RSS feed.</description>
    <author-notes lang="en">This Mod uses a modified version of lastRSS.php with some of its features disabled for faster loading and less memory use. You can download the full version at http://lastrss.oslab.net/ and use it in place of the provided file. This Mod also uses the Pausing up-down scroller by Dynamic Drive. Both files are freeware under GNU.</author-notes>
    <author-group>
      <author>
        <realname>Tony Drake</realname>
        <email>tdrake@drakeweb.net</email>
        <username>t27dcuk</username>
        <homepage>http://www.drakeweb.net</homepage>
        <contributions />
      </author>
    </author-group>
    <mod-version>
      <major>0</major>
      <minor>1</minor>
      <revision>1</revision>
    </mod-version>
    <installation>
      <level>easy</level>
      <time>318</time>
      <target-version>
        <target-primary>3.0.0 RC7</target-primary>
        <target-major allow="exact">3</target-major>
        <target-minor allow="exact">0</target-minor>
        <target-revision allow="exact">0</target-revision>
        <target-revision allow="exact" stage="release-candidate">7</target-revision>
      </target-version>
    </installation>
    <history>
      <entry>
        <date>2007-11-12T00:00:00-04:00</date>
        <rev-version>
          <major>0</major>
          <minor>1</minor>
          <revision>1</revision>
        </rev-version>
        <changelog lang="en">
          <change>Added switch to choose if clicking on links opens in a new window</change>
          <change>Set default re-encoding of RSS data to UTF-8</change>
        </changelog>
      </entry>
      <entry>
        <date>2007-11-08T00:00:00-04:00</date>
        <rev-version>
          <major>0</major>
          <minor>1</minor>
          <revision>0</revision>
        </rev-version>
        <changelog lang="en">
          <change>Initial Release</change>
        </changelog>
      </entry>
    </history>
    <meta name="generator" content="Phpbb.ModTeam.Tools (c#)" />
  </header>
  <action-group>
    <copy>
	<file from="root/newscenter/*" to="newscenter/*" />
	<file from="root/styles/prosilver/template/rss_news_center.html" to="styles/prosilver/template/rss_news_center.html" />
	<file from="root/styles/subsilver2/template/rss_news_center.html" to="styles/subsilver2/template/rss_news_center.html" />
    </copy>
    <open src="index.php">
      <edit>
        <find><![CDATA[// Output page]]></find>
        <action type="before-add"><![CDATA[include($phpbb_root_path . 'newscenter/rss.' . $phpEx);]]></action>
      </edit>
    </open>
    <open src="styles/prosilver/template/index_body.html">
              <edit>
                <find><![CDATA[<!-- INCLUDE forumlist_body.html -->]]></find>
                <action type="before-add"><![CDATA[<!-- INCLUDE rss_news_center.html -->]]></action>
              </edit>
        </open>
        <open src="styles/subsilver2/template/index_body.html">
              <edit>
                <find><![CDATA[<!-- INCLUDE forumlist_body.html -->]]></find>
                <action type="before-add"><![CDATA[<!-- INCLUDE rss_news_center.html -->]]></action>
              </edit>
    </open>
    
    <open src="styles/prosilver/theme/common.css">
              <edit>
                <find><![CDATA[/* Main blocks
---------------------------------------- */]]></find>
                <action type="before-add"><![CDATA[#pscroller1{
	width: 100%;
	height: 30px;
	padding: 0px;
	margin: 0px;
}]]></action>
              </edit>
        </open>
        <open src="styles/subsilver2/theme/stylesheet.css">
              <edit>
                <find><![CDATA[/*  Text
 --------------------- */]]></find>
                <action type="before-add"><![CDATA[#pscroller1{
	width: 100%;
	height: 30px;
	padding: 0px;
	margin: 0px;
}]]></action>
              </edit>
    </open>
    
    <diy-instructions lang="en"><![CDATA[To modify the settings of this Mod, open the newscenter/rss.php file and change the values accordingly. Also, chmod the newscenter/tmp folder to 777 if you are having issues with the cache feature. Enjoy!]]></diy-instructions>
  </action-group>
</mod>

