示例#1
0
 public function updated($timestamp)
 {
     $this->element->appendChild($this->dom->createElement("updated", atom::unix_to_internet_timestamp($timestamp)));
     return $this;
 }
示例#2
0
          We are also looking for sponsors and <a href="/donate">donations</a>.
        </p>
      </section>
    </article>
    <article class="clearfix">
      <section class="col-1-2">
        <h2 role="heading">Projects</h2> 
        <h3><a href="https://wiki.archlinux.org/index.php/Classroom">Classroom</a></h3>
        <p>
          Arch Linux Classroom is a project to develop and host classes and
          teaching materials that can be used by the Arch Linux community.
        </p>
        <h3><a href="https://archwomen.org/wiki/projects:internships:start">Internship</a></h3>
        <p>
          Internships to work on Arch Linux development: GSoC, OPW.
        </p>
        <h3><a href="https://archwomen.org/wiki/projects:mentorship:start">Mentor connection</a></h3>
        <p>
          Our goal here is to help people find a mentor who can help 
          with specialist knowledge.
        </p>
      </section>
      <?php 
include 'inc/rss.php';
$feedlist = new atom('https://archwomen.org/blog/feed.atom');
echo '<section class="col-2-2">', $feedlist->display(6, "<h2>Blog</h2>"), '<p><a href="https://archwomen.org/blog/">Read more</a></p></section></article>';
//$feedlist = new rss('https://archwomen.org/calendar//rss/rss2.0.php?cal=&cpath=&rssview=month');
//echo '<article class="clearfix"><section class="col-1-2">', $feedlist->display(4,"<h2>Upcoming Events</h2>"), '</section>';
//$feedlist = new atom('https://archwomen.org/news/?type=atom10');
//echo '<section class="col-2-2">', $feedlist->display(4,"<h2>Community News</h2>"), '<p><a href="https://archwomen.org/news/">Read more</a></p></section></article>';
include $_SERVER['DOCUMENT_ROOT'] . "/inc/footer.php";