DW_Reader - Version 1.0.0

Version Notes

Recommended for every Magento Installation

Download this release

Release Info

Developer DecryptWeb Solutions
Extension DW_Reader
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

app/code/community/DW/Reader/Block/Reader.php ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * DecryptWeb Reader Extension
4
+ *
5
+ * This version may have been modified pursuant
6
+ * to the GNU General Public License, and as distributed it includes or
7
+ * is derivative of works licensed under the GNU General Public License or
8
+ * other free or open source software licenses.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * @category DW
15
+ * @package DW_Reader
16
+ * @copyright Copyright (c) 2014 DecryptWeb (http://www.decryptweb.com) All Rights Reserved.
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
18
+ */
19
+
20
+ class DW_Reader_Block_Reader extends Mage_Core_Block_Template
21
+ {
22
+ public $active;
23
+ public $show_links;
24
+ public $show_dt;
25
+ public $show_desc;
26
+ public $dtformat;
27
+
28
+ /**
29
+ * Constructor.
30
+ */
31
+ public function _construct()
32
+ {
33
+ parent::_construct();
34
+ $this->setTemplate('dwreader/feed.phtml');
35
+ $this->active = Mage::getStoreConfig('dw_reader/default/active');
36
+ $this->show_links = Mage::getStoreConfig('dw_reader/default/show_links');
37
+ $this->show_dt = Mage::getStoreConfig('dw_reader/default/show_date');
38
+ $this->show_desc = Mage::getStoreConfig('dw_reader/default/show_desc');
39
+ $this->dtformat = Mage::getStoreConfig('dw_reader/default/dateformat');
40
+ }
41
+
42
+ public function _prepareLayout()
43
+ {
44
+ /*$breadcrumbs = $this->getLayout()->getBlock('breadcrumbs');
45
+ if ($breadcrumbs)
46
+ {
47
+ $breadcrumbs->addCrumb('home', array('label'=>Mage::helper('cms')->__('Home'), 'title'=>Mage::helper('cms')->__('Home Page'), 'link'=>Mage::getBaseUrl()));
48
+ $breadcrumbs->addCrumb('dwreader', array('label'=>'DW Feeds', 'title'=>'DW Feeds', 'link'=>Mage::getUrl("dwreader")));
49
+ }*/
50
+ return parent::_prepareLayout();
51
+ }
52
+
53
+ public function getFeeds($feed_url)
54
+ {
55
+
56
+ $article_num = Mage::getStoreConfig('dw_reader/default/article_number');
57
+ //$feed_url = Mage::getStoreConfig('dw_reader/default/feed_url');
58
+ if($this->active == 1)
59
+ {
60
+ if(isset($feed_url) && !empty($feed_url))
61
+ {
62
+ try
63
+ {
64
+ $channel = new Zend_Feed_Rss($feed_url);
65
+ $f = 1;
66
+ } catch (Exception $e)
67
+ {
68
+ $e->getMessage();
69
+ $f =2;
70
+ }
71
+
72
+ if($f == 1):
73
+ $i=0;
74
+ $items = array();
75
+ foreach ($channel as $item):
76
+ if($item->pubDate()):
77
+ $items[$i]['dt'] = strtotime($item->pubDate);
78
+ else:
79
+ $items[$i]['dt'] = '';
80
+ endif;
81
+ if($item->link()):
82
+ $items[$i]['link'] = $item->link();
83
+ else:
84
+ $items[$i]['link'] = '';
85
+ endif;
86
+ if($item->title()):
87
+ $items[$i]['title'] = $item->title();
88
+ else:
89
+ $items[$i]['title'] = '';
90
+ endif;
91
+ if($item->description()):
92
+ $items[$i]['desc'] = $item->description();
93
+ else:
94
+ $items[$i]['desc'] = '';
95
+ endif;
96
+ $i++;
97
+ if(isset($article_num) && !empty($article_num))
98
+ {
99
+ if($i == $article_num) break;
100
+ }
101
+ endforeach;
102
+ if(!empty($items)):
103
+ return $items;
104
+ endif;
105
+ else:
106
+ return false;
107
+ endif;
108
+ }
109
+ }
110
+ }
111
+
112
+
113
+ }
app/code/community/DW/Reader/Helper/Data.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category DW
16
+ * @package DW_Reader
17
+ * @copyright Copyright (c) 2012 DecryptWeb (http://www.decryptweb.com)
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ /**
22
+ * Contacts base helper
23
+ *
24
+ * @category DW
25
+ * @package DW_Reader
26
+ * @author DW <contact@decryptweb.com>
27
+ */
28
+ class DW_Reader_Helper_Data extends Mage_Core_Helper_Abstract
29
+ {
30
+
31
+
32
+ }
app/code/community/DW/Reader/Model/System/Config/Source/Dateformat.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * @category DW
16
+ * @package Dw_Reader
17
+ * @copyright Copyright (c) 2012 DecryptWeb (http://www.decryptweb.com)
18
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
+ */
20
+
21
+ class DW_Reader_Model_System_Config_Source_Dateformat
22
+ {
23
+ /**
24
+ * Options getter
25
+ *
26
+ * @return array
27
+ */
28
+ public function toOptionArray()
29
+ {
30
+ return array(
31
+ array('value' => 'd-m-Y H:i:s', 'label'=>Mage::helper('adminhtml')->__('d-m-Y H:i:s')),
32
+ array('value' => 'd.m.Y H:i:s', 'label'=>Mage::helper('adminhtml')->__('d.m.Y H:i:s')),
33
+ );
34
+ }
35
+
36
+ }
app/code/community/DW/Reader/controllers/IndexController.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * DecryptWeb Reader Extension
4
+ *
5
+ * This version may have been modified pursuant
6
+ * to the GNU General Public License, and as distributed it includes or
7
+ * is derivative of works licensed under the GNU General Public License or
8
+ * other free or open source software licenses.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * @category DW
15
+ * @package DW_Reader
16
+ * @copyright Copyright (c) 2014 DecryptWeb (http://www.decryptweb.com) All Rights Reserved.
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
18
+ */
19
+
20
+ class DW_Reader_IndexController extends Mage_Core_Controller_Front_Action
21
+ {
22
+ public function indexAction()
23
+ {
24
+ $this->loadLayout();
25
+ $this->renderLayout();
26
+ }
27
+
28
+ }
app/code/community/DW/Reader/etc/config.xml ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ /**
4
+ * DecryptWeb Reader Extension
5
+ *
6
+ * This version may have been modified pursuant
7
+ * to the GNU General Public License, and as distributed it includes or
8
+ * is derivative of works licensed under the GNU General Public License or
9
+ * other free or open source software licenses.
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * @category DW
16
+ * @package DW_Reader
17
+ * @copyright Copyright (c) 2014 DecryptWeb (http://www.decryptweb.com) All Rights Reserved.
18
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
19
+ */
20
+ -->
21
+ <config>
22
+ <modules>
23
+ <DW_Reader>
24
+ <version>1.0.0</version>
25
+ </DW_Reader>
26
+ </modules>
27
+ <frontend>
28
+ <routers>
29
+ <reader>
30
+ <use>standard</use>
31
+ <args>
32
+ <module>DW_Reader</module>
33
+ <frontName>dwreader</frontName>
34
+ </args>
35
+ </reader>
36
+ </routers>
37
+ <layout>
38
+ <updates>
39
+ <reader>
40
+ <file>dwreader.xml</file>
41
+ </reader>
42
+ </updates>
43
+ </layout>
44
+ </frontend>
45
+ <global>
46
+ <models>
47
+ <reader>
48
+ <class>DW_Reader_Model</class>
49
+ </reader>
50
+ </models>
51
+ <blocks>
52
+ <reader>
53
+ <class>DW_Reader_Block</class>
54
+ </reader>
55
+ </blocks>
56
+ <helpers>
57
+ <reader>
58
+ <class>DW_Reader_Helper</class>
59
+ </reader>
60
+ </helpers>
61
+ </global>
62
+ <!--for permissions-->
63
+ <!--start-->
64
+ <adminhtml>
65
+ <acl>
66
+ <resources>
67
+ <all>
68
+ <title>Allow Everything</title>
69
+ </all>
70
+ <admin>
71
+ <children>
72
+ <system>
73
+ <children>
74
+ <config>
75
+ <children>
76
+ <dw_reader translate="title">
77
+ <title>RSS Feed Reader by DecryptWeb</title>
78
+ <sort_order>51</sort_order>
79
+ </dw_reader>
80
+ </children>
81
+ </config>
82
+ </children>
83
+ </system>
84
+ </children>
85
+ </admin>
86
+ </resources>
87
+ </acl>
88
+ </adminhtml>
89
+ <!--end-->
90
+ </config>
app/code/community/DW/Reader/etc/system.xml ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * DecryptWeb Reader Extension
5
+ *
6
+ * This version may have been modified pursuant
7
+ * to the GNU General Public License, and as distributed it includes or
8
+ * is derivative of works licensed under the GNU General Public License or
9
+ * other free or open source software licenses.
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * @category DW
16
+ * @package DW_Reader
17
+ * @copyright Copyright (c) 2014 DecryptWeb (http://www.decryptweb.com) All Rights Reserved.
18
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
19
+ */
20
+ -->
21
+ <config>
22
+ <tabs>
23
+ <dwsextension translate="label">
24
+ <label>DecryptWeb Extensions</label>
25
+ <sort_order>999</sort_order>
26
+ </dwsextension>
27
+ </tabs>
28
+ <sections>
29
+ <dw_reader translate="label">
30
+ <class>separator-top</class>
31
+ <label>DW Feed Reader</label>
32
+ <tab>dwsextension</tab>
33
+ <sort_order>2</sort_order>
34
+ <show_in_default>1</show_in_default>
35
+ <show_in_website>1</show_in_website>
36
+ <show_in_store>0</show_in_store>
37
+ <groups>
38
+ <default translate="label">
39
+ <label>DW Feed Reader Settings</label>
40
+ <frontend_type>text</frontend_type>
41
+ <sort_order>50</sort_order>
42
+ <show_in_default>1</show_in_default>
43
+ <show_in_website>1</show_in_website>
44
+ <show_in_store>0</show_in_store>
45
+ <fields>
46
+ <active translate="label">
47
+ <label>Enable</label>
48
+ <sort_order>1</sort_order>
49
+ <frontend_type>select</frontend_type>
50
+ <source_model>adminhtml/system_config_source_yesno</source_model>
51
+ <show_in_default>1</show_in_default>
52
+ <show_in_website>1</show_in_website>
53
+ <show_in_store>0</show_in_store>
54
+ <comment><![CDATA[If set to 'No' RSS feed will not be seen]]></comment>
55
+ </active>
56
+ <!--<feed_url translate="label comment">
57
+ <label>RSS Feed URL</label>
58
+ <frontend_type>text</frontend_type>
59
+ <validate>validate-url</validate>
60
+ <sort_order>2</sort_order>
61
+ <show_in_default>1</show_in_default>
62
+ <show_in_website>1</show_in_website>
63
+ <show_in_store>0</show_in_store>
64
+ </feed_url>-->
65
+ <article_number translate="label comment">
66
+ <label>Number of Articles</label>
67
+ <frontend_type>text</frontend_type>
68
+ <validate>validate-digits required-entry</validate>
69
+ <sort_order>3</sort_order>
70
+ <show_in_default>1</show_in_default>
71
+ <show_in_website>1</show_in_website>
72
+ <show_in_store>0</show_in_store>
73
+ <comment><![CDATA[Enter the number of articles to be displayed]]></comment>
74
+ </article_number>
75
+ <show_desc translate="label comment">
76
+ <label>Show Description</label>
77
+ <frontend_type>select</frontend_type>
78
+ <sort_order>4</sort_order>
79
+ <source_model>adminhtml/system_config_source_yesno</source_model>
80
+ <show_in_default>1</show_in_default>
81
+ <show_in_website>1</show_in_website>
82
+ <show_in_store>0</show_in_store>
83
+ <comment><![CDATA[If set to 'No' description will not be seen in the RSS Feed]]></comment>
84
+ </show_desc>
85
+ <show_date translate="label comment">
86
+ <label>Show Date</label>
87
+ <sort_order>5</sort_order>
88
+ <frontend_type>select</frontend_type>
89
+ <source_model>adminhtml/system_config_source_yesno</source_model>
90
+ <show_in_default>1</show_in_default>
91
+ <show_in_website>1</show_in_website>
92
+ <show_in_store>0</show_in_store>
93
+ <comment><![CDATA[If set to 'No' date will not be seen in the RSS Feed]]></comment>
94
+ </show_date>
95
+ <dateformat translate="label comment">
96
+ <label>Date Format</label>
97
+ <sort_order>6</sort_order>
98
+ <frontend_type>text</frontend_type>
99
+ <!--<source_model>reader/system_config_source_dateformat</source_model>-->
100
+ <show_in_default>1</show_in_default>
101
+ <show_in_website>1</show_in_website>
102
+ <show_in_store>0</show_in_store>
103
+ <validate>required-entry</validate>
104
+ <comment><![CDATA[Format like d.m.Y H:i:s,<br/> where d=date,m-month,Y-full year,H-hours,i=minutes,s-second]]></comment>
105
+ </dateformat>
106
+ <show_links translate="label comment">
107
+ <label>Show Links</label>
108
+ <sort_order>7</sort_order>
109
+ <frontend_type>select</frontend_type>
110
+ <source_model>adminhtml/system_config_source_yesno</source_model>
111
+ <show_in_default>1</show_in_default>
112
+ <show_in_website>1</show_in_website>
113
+ <show_in_store>0</show_in_store>
114
+ <comment><![CDATA[If set to 'No' feed links will not be enabled in the RSS Feed]]></comment>
115
+ </show_links>
116
+ </fields>
117
+ </default>
118
+ </groups>
119
+ </dw_reader>
120
+ </sections>
121
+ </config>
app/design/frontend/base/default/layout/dwreader.xml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * DecryptWeb Reader Extension
5
+ *
6
+ * This version may have been modified pursuant
7
+ * to the GNU General Public License, and as distributed it includes or
8
+ * is derivative of works licensed under the GNU General Public License or
9
+ * other free or open source software licenses.
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * @category DW
16
+ * @package DW_Reader
17
+ * @copyright Copyright (c) 2014 DecryptWeb (http://www.decryptweb.com) All Rights Reserved.
18
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
19
+ */
20
+
21
+ -->
22
+ <layout version="0.1.0">
23
+ <default>
24
+ <!--<reference name="footer_links">
25
+ <action method="addLink" translate="label title" module="reader" ifconfig="dw_reader/default/active"><label>DW Feeds</label><url>dwreader</url><title>DW Feeds</title><prepare>true</prepare></action>
26
+ </reference>-->
27
+ </default>
28
+ <reader_index_index translate="label">
29
+ <label>DW Feed Reader</label>
30
+ <reference name="head">
31
+ <action method="setTitle" translate="title" module="reader"><title>DW Feed Reader</title></action>
32
+ </reference>
33
+ <reference name="root">
34
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
35
+ <action method="setHeaderTitle" translate="title" module="reader"><title>DW Feed Reader</title></action>
36
+ </reference>
37
+ <reference name="content">
38
+ <block type="reader/reader" name="dwrssfeed" template="dwreader/feed.phtml" />
39
+ </reference>
40
+ </reader_index_index>
41
+ </layout>
app/design/frontend/base/default/template/dwreader/feed.phtml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!--
2
+ /**
3
+ * DecryptWeb Reader Extension
4
+ *
5
+ * This version may have been modified pursuant
6
+ * to the GNU General Public License, and as distributed it includes or
7
+ * is derivative of works licensed under the GNU General Public License or
8
+ * other free or open source software licenses.
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * @category DW
15
+ * @package DW_Reader
16
+ * @copyright Copyright (c) 2014 DecryptWeb (http://www.decryptweb.com) All Rights Reserved.
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
18
+ */
19
+ -->
20
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
21
+ <?php if($this->active == 1): ?><!-- if module is enable -->
22
+ <?php $feed_url = $this->getFeedUrl(); ?>
23
+ <?php if(isset($feed_url) && !empty($feed_url)): ?>
24
+ <?php $items = $this->getFeeds($feed_url); ?>
25
+ <?php if(isset($items) && $items!=false): ?>
26
+ <ol>
27
+ <?php $i=0; ?>
28
+ <?php foreach ($items as $k => $v): ?>
29
+ <li>
30
+ <?php if($this->show_dt==1): ?>
31
+ <?php if(!empty($this->dtformat)): ?>
32
+ <strong><?php echo date($this->dtformat,$v['dt']); ?></strong>
33
+ <?php else: ?>
34
+ <strong><?php echo date('d.m.y H:i:s',$v['dt']); ?></strong>
35
+ <?php endif; ?>
36
+ <?php endif; ?>
37
+ <?php if($this->show_links==1): ?>
38
+ <a href="<?php echo $v['link']; ?>" target="_blank">&nbsp;<?php echo $v['title']; ?></a>
39
+ <?php else: ?>
40
+ <?php echo $v['title']; ?>
41
+ <?php endif; ?>
42
+ <br/>
43
+ <?php if($this->show_desc==1): ?>
44
+ <?php echo $v['desc']; ?>
45
+ <?php endif; ?>
46
+ </li>
47
+ <?php $i++; ?>
48
+ <?php endforeach; ?>
49
+ </ol>
50
+ <?php endif; ?>
51
+ <?php else: ?>
52
+ <?php echo 'No URL Found'; ?>
53
+ <?php endif; ?>
54
+ <?php else: ?>
55
+ <?php /*echo 'DW Feed Reader is disabled';*/ ?>
56
+ <?php endif; ?>
app/etc/modules/DW_Reader.xml ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * DecryptWeb FeedReader Extension
5
+ *
6
+ * This version may have been modified pursuant
7
+ * to the GNU General Public License, and as distributed it includes or
8
+ * is derivative of works licensed under the GNU General Public License or
9
+ * other free or open source software licenses.
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * @category DW
16
+ * @package DW_Reader
17
+ * @copyright Copyright (c) 2014 DecryptWeb (http://www.decryptweb.com) All Rights Reserved.
18
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
19
+ */
20
+ -->
21
+ <config>
22
+ <modules>
23
+ <DW_Reader>
24
+ <active>true</active>
25
+ <codePool>community</codePool>
26
+ </DW_Reader>
27
+ </modules>
28
+ </config>
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>DW_Reader</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://www.gnu.org/licenses/gpl-3.0.html">GPLv3</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>An extension to display RSS Feed on any page with many configuration settings</summary>
10
+ <description>DW Reader extension will enable the shop owner to display RSS Feed on any static/dynamic page of the shop together with many configuration settings to choose from.</description>
11
+ <notes>Recommended for every Magento Installation</notes>
12
+ <authors><author><name>DecryptWeb Solutions</name><user>dwweb</user><email>contact@decryptweb.com</email></author></authors>
13
+ <date>2014-02-18</date>
14
+ <time>10:27:15</time>
15
+ <contents><target name="magecommunity"><dir name="DW"><dir name="Reader"><dir name="Block"><file name="Reader.php" hash="4d3637924df59d7486c0e256f2d6a9da"/></dir><dir name="Helper"><file name="Data.php" hash="32372cc0eda4dc256f107adb0f2f48bd"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Dateformat.php" hash="1a2e41531a4154fac5eae0472de3fc1d"/></dir></dir></dir></dir><dir name="controllers"><file name="IndexController.php" hash="69142165620feeecb38e31ad614ac6bd"/></dir><dir name="etc"><file name="config.xml" hash="2ef223d000791959bfd9d0ee16d265b1"/><file name="system.xml" hash="fc41cb5b42dbe0c594de60229a4f8f96"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="DW_Reader.xml" hash="c7de8a38af720948bd4b9728e5f1dbe6"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="dwreader"><file name="feed.phtml" hash="d38f796222df5c01b1d580f0b72760dd"/></dir></dir><dir name="layout"><file name="dwreader.xml" hash="b5f4779a4c24a08a2b35f1fb558e54c7"/></dir></dir></dir></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.6.0.0</min><max>1.8.1.0</max></package></required></dependencies>
18
+ </package>