Re: [Tracker] Major website update



Just had a quick look at this submission:

I'm a long time lurker on the list, but still want to contribute, you'll have to accept my apologies if you find these suggestions less than helpful.


Michele Mattioni wrote:
This is a major website update:

1) XHTML valid.

2) Layout: Using CSS to shape the site.

3) Getting Start: Written how to install from the source and run. KISS
approach.

4) Documentation: An initial Documentation covering only what to index
or not and which are the GUI that are already available to search tracker.
We have to improve this page... See my next e-mail for what we need.

5) Automatic date update in the footer equal across all the pages
(javascript only no php)

6) Three screenshot provided to show the Tracker-Search-Gui, the
trackerd memory and time test.
Just unzip this stuff under the images directories to have the
thumbnails and the big images working.

M.
Index: start.html
===================================================================
--- start.html  (revision 4934)
+++ start.html  (working copy)
@@ -1,11 +1,12 @@
+<!DOCTYPE html
+PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
 <head>
-<title>Meta Tracker - freedesktop.org - Home Page</title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Can a "description" meta tag be added? should help with bookmarks/search engines, etc


-  <li class="sel" onClick=" window.location='start.html'"><a href="start.html">Getting Started</a></li>
+  <li><a href="start.html">Getting Started</a></li>

The class here could still be kept, it would be handy for styling. (in all files)


+<h3>Run tracker!!</h3>
+<p>To run tracker simple digit <code>trackerd</code></p>
+<p><strong>Tracker is indexing your home!!!!</strong></p>

Waaay too many exclamations, heh :)


+<div id="footer">
+<hr/>
+<script type="text/javascript" src="js/datemod.js" language="JavaScript"></script>

see below


Index: faq.html
===================================================================

+<h3><a name="1">What is it?</a></h3>
> +<h3><a name="2">Is Tracker able to detect different types of
> files?</a></h3>

These could probably contain `id="point1" name="point1"` for future proofing.


Index: index.html
===================================================================

+       <tr><td><img alt="files" src="images/files.png"/></td><td><strong>Files</strong></td></tr>
+       <tr><td><img alt="documents" src="images/docs.png"/></td><td><strong>Documents</strong></td></tr>

This whole table could be a <dl> or a <ul> with ids to pick the images from CSS

<ul>
 <li id="files">Files</li>
...
#files { background: url(images/files.png); etc }


Index: documentation.html
===================================================================

+<div class="example">
+ +WatchDirectoryRoots=/path/to/directory_1;/path/to/directory_2</div>

> +<div class="example">
>
> +NoWatchDirectory=/path/to/directory_to_NOT_index_1;
> /path/to/directory_to_NOT_index_2</div>

Very picky comment, but maybe use <code class="example">?

Index: js/datemod.js
===================================================================
--- js/datemod.js       (revision 0)
+++ js/datemod.js       (revision 0)
@@ -0,0 +1,10 @@
+// Formatted last-modified date
+// Using the javascript to do in a smart way
+if (Date.parse(document.lastModified) != 0) {
+  var modiDate = new Date(document.lastModified);
+ var monthName = new Array("January", "February", "March", "April", "May", + "June", "July", "August", "September", "October", "November", "December");
+  document.write("Last modified: " + monthName[modiDate.getMonth()] + " ");
+  document.write(modiDate.getDate() + ", " + modiDate.getFullYear());
+  }
+ \ No newline at end of file


Not a very useful addition to the page, is it really needed ?

document.write() isn't too safe with xHTML; and for people with noscript it'll bug them for no reason


Cheers,
        John

--
John â[Beta]â Drinkwater        |       john nextraweb com
http://johndrinkwater.name/     |

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]