├── LICENSE ├── README.md └── main.php /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 e 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # RSS-Reader 2 | ## What is RSS-Reader? 3 | A modular RSS reader made in php which allows users to easily add and remove rss feeds. 4 | ## Features 5 | + Ability to easily add RSS feeds via the array in the php file. 6 | + Frontend is in html which allows RSS Reader to be used on devices that are slow and outdated. 7 | + Colors are easy on the eye and allow for night reading. 8 | + Automatically handles invalid rss feeds 9 | + Beginning division allows for users to see the last time the page was updated. 10 | + Front end features tabs which divide difference genres to allow for easier navigation. 11 | + "General Overview" tab shows top three results from each rss feed allowing users to quickly view all RSS sources 12 | ## Screenshots 13 | ![alt text](https://i.imgur.com/ar5SHHs.png) 14 | ![alt text](https://i.imgur.com/XTSQSRF.png) 15 | ![alt text](https://i.imgur.com/d5d92fV.png) 16 | ![alt text](https://i.imgur.com/bjDa389.png) 17 | -------------------------------------------------------------------------------- /main.php: -------------------------------------------------------------------------------- 1 | 67 |
68 | 84 |
85 |
86 | '; 87 | 88 | 89 | echo '
'; 90 | foreach($url_array as $site) 91 | { 92 | echo '

'.$site["channel"]["title"].'

'; 93 | $count = 0; 94 | foreach($site["channel"]['item'] as $article) 95 | { 96 | echo '
97 |
98 |
'.$article['title'].'
99 |
'; 100 | if(!empty($article['description'])) { 101 | echo '

'.$article['description'].'

'; 102 | } 103 | echo '

Article link

'; 104 | if(!empty($article['pubDate'])) { 105 | echo '

Date of publish: '.$article['pubDate'].'

'; 106 | } 107 | echo '
108 |
109 |
'; 110 | $count++; 111 | if($count >= 3) 112 | { 113 | break; 114 | } 115 | } 116 | } 117 | echo '
'; 118 | 119 | foreach($url_array as $key=>$site) 120 | { 121 | echo '
'; 122 | 123 | echo '

'.$site["channel"]["title"].'

'; 124 | foreach($site["channel"]['item'] as $article) 125 | { 126 | echo '
127 |
128 |
'.$article['title'].'
129 |
'; 130 | if(!empty($article['description'])) { 131 | echo '

'.$article['description'].'

'; 132 | } 133 | echo '

Article link

'; 134 | if(!empty($article['pubDate'])) { 135 | echo '

Date of publish: '.$article['pubDate'].'

'; 136 | } 137 | echo '
138 |
139 |
'; 140 | } 141 | echo '
'; 142 | } 143 | echo ' 144 |
145 | 146 | '; 147 | } 148 | ?> 149 | 150 | 151 | 152 | 153 | 154 | RSS Reader 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 176 | 177 | 178 |
179 |

Multi RSS Reader

180 |

RSS tabs below. Last time of page update: Click Here to refresh the page.

181 | 182 | 190 | 191 |
192 |
193 |

HOME

194 |

Select a tab to begin reading.

195 |
196 |
197 |

Tech RSS feeds

198 |

Below are tech sites.

199 | 200 |
201 |
202 |

Business RSS

203 |

Business sites below.

204 | 205 |
206 |
207 |

Politics RSS

208 |

Political sites below.

209 | 210 |
211 |
212 |

News

213 |

News feeds below.

214 | 215 |
216 |
217 |

About

218 |

RSS reader created by @rek7.

219 |
220 |
221 |
222 | 223 | 224 |
225 | 226 | --------------------------------------------------------------------------------