Req #13354 [Opn->Csd]: Implement DOAP output (via GRDDL?)
| From: | cweiske@php.net | Date: | Wed, 16 Sep 2009 08:02:56 +0000 |
| Subject: | Req #13354 [Opn->Csd]: Implement DOAP output (via GRDDL?) | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-1651@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=13354&edit=1
ID: 13354
Updated by: cweiske@php.net
Reported By: daniel dot oconnor at gmail dot com
Summary: Implement DOAP output (via GRDDL?)
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: pearweb
Package Version: CVS
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cweiske
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: cweiske
This bug has been fixed in SVN.
If this was a documentation problem, the fix will appear on
pear.php.net by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should
be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Previous Comments:
------------------------------------------------------------------------
[2009-02-03 14:35:23] doconnor
Oops, needs a space
Index: public_html/package-info.php
===================================================================
RCS file: /repository/pearweb/public_html/package-info.php,v
retrieving revision 1.153
diff -u -r1.153 package-info.php
--- public_html/package-info.php 19 Jan 2009 02:22:36 -0000 1.153
+++ public_html/package-info.php 3 Feb 2009 13:24:56 -0000
@@ -179,7 +179,7 @@
$name = htmlspecialchars(strip_tags($name));
-$doap = 'profile="http://purl.org/stuff/hdoap/profile"';
+$doap = ' profile="http://purl.org/stuff/hdoap/profile"';
if ($version) {
response_header($name . ' :: ' . $version, null,
$trackback_header, $doap);
} else {
------------------------------------------------------------------------
[2008-04-27 03:08:26] doconnor
> We can't change the xsd file just to add this;
Out of curiosity, will it break anything in PEAR? Since it's in a
different namespace, it should be largely ignored by most XSD consuming
tools...
> If we went with a package.xml approach then we'd have to regenerate
it or keep the doap out of date until there's a new release
For the low cost of implementation (small xsd change, webserver
redirect) vs the understandable RDF you can extract, I'd say that
accepting possibly out of date data isn't such a bad thing.
We don't even have to actually publish the package.xml at the moment.
It's already available via cvs.php.net. Smart tools can stumble across
the package.xml's and do the GRDDL as needed; or at a later date we can
explicitly publish them...
------------------------------------------------------------------------
[2008-04-26 18:38:09] dufuz
Also don't you think the DOAP should update when I add a new dev or
promote/demote people or change the summary / desc on the project ?
If we went with a package.xml approach then we'd have to regenerate it
or keep the doap out of date until there's a new release, not sure how
feasible that would be in the grand scheme of things.
------------------------------------------------------------------------
[2008-04-26 18:35:26] dufuz
apache conf is our main way to go;
We can't change the xsd file just to add this; at least I see no point
in it annnndddd it means we have to provide the package.xml right ?
------------------------------------------------------------------------
[2008-03-14 23:22:30] doconnor
What's the preferred method:
* a .htaccess file with a type map,
* writing changes to the httpd.conf at installation time
* a PHP file which does a header("Location: package-2.0.xsd");
See also
http://httpd.apache.org/docs/2.0/content-negotiation.html#negotiation
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://pear.php.net/bugs/bug.php?id=13354
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=13354&edit=1