| <?php |
| /** |
| * Copyright (c) 2018 Eclipse Foundation and others. |
| * |
| * This program and the accompanying materials are made |
| * available under the terms of the Eclipse Public License 2.0 |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * Contributors: |
| * Christopher Guindon (Eclipse Foundation) - initial API and implementation |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| */ |
| ?> |
| |
| <div class="news-list"> |
| <div class="news-list-col"> |
| <h2>Announcements</h2> |
| <?php |
| $Announcements = new FeedParser(); |
| $Announcements->addPath($_SERVER['DOCUMENT_ROOT'] . "/community/news/2005newsarchive.rss"); |
| $Announcements->setViewMoreLink('/community/news/eclipsenews.php'); |
| $Announcements->setRssLink('http://feeds.feedburner.com/eclipse/fnews'); |
| $Announcements->setLimit(1000); |
| print $Announcements->output(); |
| ?> |
| <ul class="list-inline news-list-links"> |
| <li class="news-list-links-view-all"><a href="/community/news/eclipsenews.php">View all</a></li> |
| <li class="news-list-links-rss"><a href="http://feeds.feedburner.com/eclipse/fnews" title="Subscribe to our RSS-feed">Subscribe to our RSS-feed <i class="fa fa-rss"></i></a></li> |
| </ul> |
| </div> |
| <div class="news-list-col"> |
| <h2>Community News</h2> |
| <?php |
| $Community = new FeedParser(); |
| $Community->addPath($_SERVER['DOCUMENT_ROOT'] . "/community/news/2005inthenewsarchive.rss"); |
| $Community->setViewMoreLink('/community/news/eclipseinthenews.php'); |
| $Community->setRssLink('http://feeds.feedburner.com/eclipse/cnews'); |
| $Community->setLimit(1000); |
| print $Community->output(); |
| ?> |
| <ul class="list-inline news-list-links"> |
| <li class="news-list-links-view-all"><a href="/community/news/eclipseinthenews.php">View all</a></li> |
| <li class="news-list-links-rss"><a href="http://feeds.feedburner.com/eclipse/cnews" title="Subscribe to our RSS-feed">Subscribe to our RSS-feed <i class="fa fa-rss"></i></a></li> |
| </ul> |
| </div> |
| </div> |