add author, url and photo
[push-tester.git] / www / index.php
index b4d0b2ff6d0dc90fa060c9b8cc3b6b5e005913c8..0eaefb66b73e9e35a01e9d1dfc2a06d68add5a48 100644 (file)
@@ -23,8 +23,9 @@ krsort($articles);
   <title>PubSubHubbub tester</title>
  </head>
  <body class="h-feed">
+  <iframe src="" id="addview" name="addview" style="position: absolute; right: 0.5ex; width: 60ex; height: 10ex; border: 1px solid grey"></iframe>
   <p>
-   <a href="add-article.php">create new article</a>
+   <a href="add-article.php" target="addview">create new article</a>
   </p>
   <h1>Articles</h1>
   <?php foreach ($articles as $article) { ?>
@@ -35,7 +36,12 @@ krsort($articles);
     </div>
     <p>
      <a href="<?php echo $article->file; ?>" class="u-url">permalink</a>
-      <time class="dt-published"><?php echo date('c', $article->time); ?></time>
+     at <time class="dt-published"><?php echo date('c', $article->time); ?></time>
+     by
+     <span class="h-card vcard author p-author">
+      <img class="u-photo" src="someone.png" width="16" height="16" alt=""/>
+      <a class="p-author h-card" href="someone.htm">Someone</a>
+     </span>
     </p>
    </article>
   <?php } ?>