Re: Postgresql.org search engine. - Mailing list pgsql-www

From Dave Page
Subject Re: Postgresql.org search engine.
Date
Msg-id 03AF4E498C591348A42FC93DEA9661B87206C9@mail.vale-housing.co.uk
Whole thread Raw
In response to Postgresql.org search engine.  ("Dave Page" <dpage@vale-housing.co.uk>)
Responses Re: Postgresql.org search engine.  ("Marc G. Fournier" <scrappy@postgresql.org>)
Re: Postgresql.org search engine.  ("Marc G. Fournier" <scrappy@postgresql.org>)
List pgsql-www

> -----Original Message-----
> From: Marc G. Fournier [mailto:scrappy@postgresql.org]
> Sent: 01 February 2004 22:12
> To: Oleg Bartunov
> Cc: Marc G. Fournier; Josh Berkus; Dave Page; pgsql-www@postgresql.org
> Subject: Re: [pgsql-www] Postgresql.org search engine.
>
> And let me know if the headers look right to you ... I took
> out the Cache-control stuff ...
>
> Let me know if there is anything else you'd like to see in there ...

It looks even more complex to me now - there are what, 6 include files?

How about something more simple:

========================================================================
======
<?
  $last_modified = "Fri,  9 Jan 2004 19:00:28 +0000 (GMT)";
  $subject = " Re: IMPORTANT: A temporary list for Strategic Marketing";
  require("$DOCUMENT_ROOT/includes/header.php");
?>

<pre>Joshua D. Drake wrote:
>
> >There shouldn't be any tangents or general discussion on
-advocacy
> >either -- that's what -general is for.  A one-time incident
should not
> >lead to such drastic measures.  If the marketing plan is no
longer
> >discussed on -advocacy, what is?
> >
> >
> I disagree whole heartedly. If you look at general, it is basically
> PostgreSQL-Support.

<!--noindex-->
<HR>
<UL>
<li>Prev by Date:
<strong><a href="msg00116.php">Re: IMPORTANT: A temporary list for
Strategic Marketing</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00118.php">Re: IMPORTANT: A temporary list for
Strategic Marketing</a></strong>
</li>

<li>Previous by thread:
<strong><a href="msg00126.php">Re: IMPORTANT: A temporary list for
Strategic</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00125.php">Re: IMPORTANT: A temporary list for
Strategic</a></strong>
</li>

  <LI>Index(es):
      <UL>
        <LI><A HREF="mail2.php#00117"><STRONG>Main</STRONG></A></LI>
        <LI><A HREF="thrd2.php#00117"><STRONG>Thread</STRONG></A></LI>
      </UL>
  </LI>
</UL>
<!--/noindex-->

<?
  require("$DOCUMENT_ROOT/includes/footer.php");
?>
========================================================================
======

Header.php then may look something like:

========================================================================
======
<?
  if(isset($last_modified)) {
    header("Last-Modified: $last_modified");
  } else {
    header("Last-Modified: " .date("r", filemtime($SCRIPT_FILENAME)));
  }

  // Other stuff here
?>

<HTML>
<HEADER>
  <TITLE><? php echo $subject ?></TITLE>
  <META NAME="robots" CONTENT="nofollow, index, archive">
</HEADER>

<BODY>

<!--noindex-->
  <!-- HTML code for search form etc. -->
<!--/noindex-->
========================================================================
======


And footer.php (minus and footers we might add).

========================================================================
======
</BODY>
</HTML>
========================================================================
======

In addition, there is an awful lot of HTML comments that mhonarc has
added:

<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->

As examples. These seem somewhat extranous and could be removed for ease
of reading and disk space/bandwidth usage reduction.

Oh, and on the current version the noindex tags seem to be in the wrong
places. On the index/thread pages for example, they should enclose all
the hyperlinks. The noindex tags do not stop links being followed, just
the text within them from being included in the index.

Regards, Dave.

pgsql-www by date:

Previous
From: "Dave Page"
Date:
Subject: Re: Archives cleaned up ... but not regenerated yet ...
Next
From: "Marc G. Fournier"
Date:
Subject: Re: Postgresql.org search engine.