[DOC-CVS] [phd] master: Add the long description (refpurpose) so that we can expose that in the meta information on the web site

[email protected] (Derick Rethans)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Derick Rethans (derickr)
Date: 2025-09-02T16:33:43+01:00

Commit: https://github.com/php/phd/commit/d2874c005c9c0f21e8401700fd076e16560e46a1
Raw diff: https://github.com/php/phd/commit/d2874c005c9c0f21e8401700fd076e16560e46a1.diff

Add the long description (refpurpose) so that we can expose that in the meta information on the web site

Changed paths:
  M  phpdotnet/phd/Package/PHP/Web.php


Diff:

diff --git a/phpdotnet/phd/Package/PHP/Web.php b/phpdotnet/phd/Package/PHP/Web.php
index 0d3ed6e4..31068bbb 100644
--- a/phpdotnet/phd/Package/PHP/Web.php
+++ b/phpdotnet/phd/Package/PHP/Web.php
@@ -195,7 +195,7 @@ public function header($id) {
         $setup = array(
             "home" => array('index'.$ext, $this->getTitle()),
             "head" => array("UTF-8", $this->lang),
-            "this" => array($id.$ext, Format::getShortDescription($id)),
+            "this" => array($id.$ext, Format::getShortDescription($id), Format::getLongDescription($id)),
             "up"   => $up,
             "prev" => $prev,
             "next" => $next,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.