Date: 11/25/00
- Next message: Hojtsy Gabor \( <email protected>\): "Re: [PHP-DEV] Annotated Manual"
- Previous message: sbergmann <email protected>: "[PHP-DEV] PHP 4.0 Bug #7965 Updated: Translation error"
- In reply to: Andi Gutmans: "Re: [PHP-DEV] Annotated Manual"
- Next in thread: Hojtsy Gabor \( <email protected>\): "Re: [PHP-DEV] Annotated Manual"
- Reply: Hojtsy Gabor \( <email protected>\): "Re: [PHP-DEV] Annotated Manual"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> At 04:06 PM 11/24/00 +1300, Simon Roberts wrote:
> >I've just commited a small addition to phpweb that will allow the
annotated
> >manual work on a mirror. It works by downloading all the comments from
> >www.php.net, and storing them in ./manual/usernotes. If people think
that
> >it's worthwhile, we could even add the usernotes dir to CVS and
distributed
> >updates to the comments that way (better, IMO)
> How does this allow you to actually show the user notes on the right
pages?
> Each manual page has its own set of user-notes.
Sorry, perhaps I should have been clearer.
./manual/usernotes/[PAGE].txt
(where [PAGE] is the unique name for each manpage. Each file is a serialized
array, exactly as returned from the DB. The "show comments" section of
shared-manual.inc checks to see if it's www.php.net. If not, it looks in
usernotes/ for the comment-files, and shows them if they're there).
There's still a bit of work to do here : efficient updates to mirrors,
security, etc; but I think having the comment-files in CVS would be tidier
(though require an entry in crontab).
Simon
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Hojtsy Gabor \( <email protected>\): "Re: [PHP-DEV] Annotated Manual"
- Previous message: sbergmann <email protected>: "[PHP-DEV] PHP 4.0 Bug #7965 Updated: Translation error"
- In reply to: Andi Gutmans: "Re: [PHP-DEV] Annotated Manual"
- Next in thread: Hojtsy Gabor \( <email protected>\): "Re: [PHP-DEV] Annotated Manual"
- Reply: Hojtsy Gabor \( <email protected>\): "Re: [PHP-DEV] Annotated Manual"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

