-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
206 lines (194 loc) · 8.69 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<html>
<head>
<title>readme</title>
</head>
<body>
<h1 align='center'>Readme</h1>
<p align='center'> </p>
<ul>
<li><a href="#0">1.0 Feature</a></li>
<li><a href="#1">1.1 How to add Catagory</a></li>
<li><a href="#2">1.2 How to activate Google Analytics</a></li>
<li><a href="#3">1.3 How to controll caching</a></li>
<li><a href="#3">1.4 Problem Solving.</a></li>
<li></li>
</ul>
<p>
<table width="1000" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#66CC99"><h2><a name=#1></a>1.0 Feature</h2></td>
</tr>
<tr>
<td><ul>
<li><font face="Times New Roman, Times, serif"> 50+ Rss Feed Already added</font></li>
<li><font face="Times New Roman, Times, serif">No Database Require</font></li>
<li><font face="Times New Roman, Times, serif">Easily Catagory can be
Increase & Decrease (currently 5 catagory present) </font></li>
<li><font face="Times New Roman, Times, serif">Instant Setup</font></li>
<li><font face="Times New Roman, Times, serif">Seo Friendly</font></li>
<li><font face="Times New Roman, Times, serif">Catagory Based News System</font></li>
<li>Gzip Based Caching System</li>
<li>Auto Update after every 30 min , It can be update manually at any
time</li>
<li>Faster to load site Gzip compression</li>
<li>Description are limited to 250 word , Modifiable</li>
<li>Seo Information for each catagory can be setup differtnly</li>
<li>Easily integrate google adsense</li>
<li>Easily Integrate google analytics</li>
<li>Feeds with date time;</li>
<li>News linkup with main source.</li>
<li>Unlimited Catogory</li>
<li>Secure</li>
<li>Admin panel for caching handling.</li>
</ul>
<p> </p></td>
</tr>
<tr>
<td bgcolor="#66CC99"><h2><a name=#2 id="#2"></a>1.1 How to add Catagory</h2></td>
</tr>
<tr>
<td valign="top"><p>Open list.php file you will get similar code like the
following </p>
<p>$Sports_title = "Welcome to the arena of headlines of Sports news";<br>
$Sports_desc = "Welcome to Footbal,world cup,cricket news headlines
at a place " ;<br>
$Sports_keyword = "sports,fifa world cup" ;</p>
<p><br>
$Sports = array<br>
(<br>
"CNN" => "http://rss.cnn.com/rss/edition_sport.rss"<br>
, "BBC" => "http://feeds.bbci.co.uk/sport/0/rss.xml?edition=uk"<br>
, "Huffingtonpost" => "http://www.huffingtonpost.com/feeds/verticals/sports/index.xml"<br>
, "Theguardian" => "http://feeds.theguardian.com/theguardian/uk/sport/rss"<br>
, "skysports" => "http://www.skysports.com/rss/0,20514,12341,00.xml"<br>
, "Espn" => "http://sports.espn.go.com/espn/rss/news"<br>
, "Foxsport(football)" => "http://www.foxsportsasia.com/football-rss/"<br>
, "Foxsport(cricket)" => "http://www.foxsportsasia.com/cricket-rss"</p>
<p>);</p>
<p> </p>
<p>Suppose if you would like to add new catagory like Bussiness you need
to change the above code as follow</p>
<p>$<strong>Bussiness</strong>_title = "Welcome to the arena of headlines
of Sports news";<br>
$<strong>Bussiness</strong>_desc = "Welcome to Footbal,world cup,cricket
news headlines at a place " ;<br>
$<strong>Bussiness</strong>_keyword = "sports,fifa world cup"
;</p>
<p><strong>$Bussiness</strong> = array<br>
(<br>
"CNN" => "http://rss.cnn.com/rss/edition_sport.rss"<br>
, "BBC" => "http://feeds.bbci.co.uk/sport/0/rss.xml?edition=uk"<br>
, "Huffingtonpost" => "http://www.huffingtonpost.com/feeds/verticals/sports/index.xml"<br>
, "Theguardian" => "http://feeds.theguardian.com/theguardian/uk/sport/rss"<br>
, "skysports" => "http://www.skysports.com/rss/0,20514,12341,00.xml"<br>
, "Espn" => "http://sports.espn.go.com/espn/rss/news"<br>
, "Foxsport(football)" => "http://www.foxsportsasia.com/football-rss/"<br>
, "Foxsport(cricket)" => "http://www.foxsportsasia.com/cricket-rss"</p>
<p>);</p>
<p>open config.php file & under menu_name variable add it like</p>
<p>$menu_name = array("Home","IT","Entertainment","Science","Sports");</p>
<p>To </p>
<p><strong>$menu_name = array("Home","IT","Entertainment","Science","Sports","Bussiness");</strong></p>
<p> </p>
<p><strong>Open index.php file & add change the following</strong></p>
<p> if($news=="IT" or $news=="Entertainment" or $news=="Sports"
or $news=="Science" or $news=="Home"){<br>
$new_catagory = $news;<br>
}<br>
else{<br>
$new_catagory = "Home";<br>
}<br>
</p>
<p>to</p>
<p> </p>
<p> if($news=="IT" or $news=="Entertainment" or $news=="Sports"
or $news=="Science" or $news=="Home" or $news=="Bussiness"){<br>
$new_catagory = $news;<br>
}<br>
else{<br>
$new_catagory = "Home";<br>
}<br>
</p>
<p><em>So for adding new catagory you have to do</em></p>
<p>1. Add its to index.php file</p>
<p>2. Config.php ,add it under $menu_name</p>
<p>3.Add inside the list.php file </p>
<p> </p>
<p><strong>This way you can add unlimited catagory</strong></p>
<p> </p>
<p><br>
</p></td>
</tr>
<tr>
<td bgcolor="#66CC99"><h2><a name=#1></a>1.2 How to activate Google Analytics</h2></td>
</tr>
<tr>
<td valign="top"> <p>Just open config.php and change </p>
<p>$activate_google_anlytics = 0; <br>
$activate_google_code = "XXX_XX";<br>
</p>
<p>To</p>
<p><strong>$activate_google_anlytics = 1; <br>
$activate_google_code = "YOUR_ANLYTICS_ID";</strong><br>
</p>
<p> </p>
<p> </p></td>
</tr>
<tr>
<td bgcolor="#66CC99"><h2><a name=#4 id="#4"></a>1.3 How to Controll caching</h2></td>
</tr>
<tr>
<td valign="top"> <p> </p>
<p>First setup admin_name & admin_pass in confi.php file then just call
the file like this way</p>
<p>http://server/reset_all.php?u=admin_name&p=admin_pass </p>
<p>thats it. if your admin_name & admin_pass match then all the cache
file will be deleted.</p>
<p> </p></td>
</tr>
<tr>
<td bgcolor="#66CC99"><h2><a name=#1></a>1.4 How to activate Google Analytics</h2></td>
</tr>
<tr>
<td valign="top"> <p>For any kind of problem plz email me : [email protected]</p>
<p> </p>
<p>Just open config.php and change </p>
<p>$activate_google_anlytics = 0; <br>
$activate_google_code = "XXX_XX";<br>
</p>
<p>To</p>
<p><strong>$activate_google_anlytics = 1; <br>
$activate_google_code = "YOUR_ANLYTICS_ID";</strong><br>
</p>
<p> </p>
<p> </p></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<p>
<h1></h1>
<ul>
<li></li>
</ul>
<p>
<p><a name=#1 id="#1"></a>
<h3>1.1 How to add new site in this list</h3>
<p>Just open index.php file then</p>
<p>find the following line</p>
<p> get_data("Fobes", "http://www.forbes.com/fast/feed");</p>
<p> get_data("The Local (Sweden)", "http://www.thelocal.se/RSS/theLocal.xml");</p>
<p> get_data("The Local (Germany)", "http://www.thelocal.de/RSS/theLocal.xml");</p>
<p> get_data("stockholmnews ", "http://www.stockholmnews.com/rss.aspx");</p>
<p> get_data("Aljajeera","http://www.aljazeera.com/Services/Rss/?PostingId=2007731105943979989");</p>
<p> get_data("BBC (UK)","http://feeds.bbci.co.uk/news/rss.xml");</p>
<p> If you like to add more then just copy the above line & paste and add your rss feed url as for your example</p>
<p>get_data("Newspaper_title", "Rss_Feed_URL");</p>
<br><br><br><br>
<br>
<br><br><br>
<a name=#3></a>
<h3>1.3 . 3 Problem Solving.</h3>
<p>If you face any problem kindly mail me <b>[email protected]</b>
</p>