]> git.quilime.com - clmpr.git/commitdiff
updated style
authorGabriel Dunne <gdunne@quilime.com>
Sun, 18 Dec 2011 10:56:11 +0000 (02:56 -0800)
committerGabriel Dunne <gdunne@quilime.com>
Sun, 18 Dec 2011 10:56:11 +0000 (02:56 -0800)
TODO
get.php
index.php
style.css

diff --git a/TODO b/TODO
index 135f3329bb4afb4c0f37fab69697957a4ab45d35..0920b7e48d1f255752f267fa065e8179c7ac9cb5 100644 (file)
--- a/TODO
+++ b/TODO
@@ -2,9 +2,12 @@ create server variable for bookmarklet
 evaluate MVC architecture w/ template system
 add description field
 
-tags:
+tags: 
+       
        delimit tags with commas in db (?)
        need UNIQUE field in tags
        increment tag count on insert
        decrement tag count on delete 
-               if zero delete row
\ No newline at end of file
+               if zero delete row
+
+       see: http://www.pui.ch/phred/archives/2005/05/tags-with-mysql-fulltext.html
\ No newline at end of file
diff --git a/get.php b/get.php
index d14dea182f3e32571a087b7ff1dc75fe819fc310..a0899e63a5fc3e17d4b19e2ae8b8183c82f8e783 100644 (file)
--- a/get.php
+++ b/get.php
@@ -73,15 +73,17 @@ case 'xml' :
 ?>
     
     <li>
+        <span class="meta">
+            <?php echo date("Y-m-d", strtotime($row['date'])) ?> by 
+            <a class="uname" href="/?user=<?php echo $row['user'] ?>"><?php echo $row['user'] ?></a>
+        </span>
+            
         <span class="url">
         <a href="<?php echo $row['url'] ?>">
             <?php echo $row['title'] ? $row['title'] : "&lt;title&gt;" ?>
         </a>
         </span>
-        <span class="meta">
-            <?php echo date("Y-m-d", strtotime($row['date'])) ?> by 
-            <a class="uname" href="/?user=<?php echo $row['user'] ?>"><?php echo $row['user'] ?></a>
-        </span>
+
         
         <ul class="tags">
 
index 3d8fe14c336296fb313fe6cb229cdf8adb06867e..8db8874a3faaf4814464adc8a30cb6f5c31230ae 100644 (file)
--- a/index.php
+++ b/index.php
@@ -17,6 +17,27 @@ switch($endpoint)
         include 'head.html';
         include 'header.html';
         echo '<hr />';
+
+        ?>
+        <p>
+        clmpr is citation, logging and multi-purpose archive. it saves web links.
+        
+        <ul class="tags">
+        tags:
+        <li>delicious</li>
+        <li>clone</li>
+        <li>bookmarks</li>
+        <li>webservice</li>
+        <li>database</li>
+        <li>mindmap</li>
+        <li>citation</li>
+        <li>semantic</li>
+        </ul>
+
+        </p>
+
+        <?
+
         echo '&copy; 2011 <a href="http://quilime.com">gabriel dunne</a>';
         echo '<hr />';
         include 'footer.html';
index a6977eeb5972f626c0b06abc718e3d09beecc08c..52fc360cdaab66428485c8af04ed3fe925deac43 100644 (file)
--- a/style.css
+++ b/style.css
@@ -45,10 +45,10 @@ hr {
 }
 
 ul.links li {
-    margin-bottom:0.75em;
+    
 }
 ul.links li span.url {
-    display:block;
+    display:inline-block;
 }
 ul.links li span.meta {
     color:#bbb;
@@ -80,11 +80,11 @@ ul.tags, ul.tags li {
     display:inline;
 }
 ul.tags li {
-    background:#eee;
+    background:#f8f8f8;
     padding:0 4px;
     margin:0 1px;
 }
 ul.tags li a {
-    color:#aaa;
+    color:#bbb;
 }