RE: [PHP-ES] Manual de PHP en español

From: Date: Wed, 26 Jul 2000 19:34:22 +0000
Subject: RE: [PHP-ES] Manual de PHP en español
Groups: php.general.es 
Request: Send a blank email to general-es+get-639@lists.php.net to get a copy of this message
Hola Cesar y todos los demas, Quoting César Viñas Arias <cva@upnorte.edu.pe>: > Yo lo intenté también con la misma versión del netscape e igual > no se lee nada... Los documentos estan en XML, mas explicitamente usan la DocBook XML DTD, y tienen que ser transformados a, por ejemplo, HTML para que puedas leerlos. Para poder hacer eso, necesitas tener un programa como jade o XT, estoy incluyendo el "README" de PHPDOC (el nombre del proyecto de documentacion de PHP) abajo para que puedan ver lo que se necesita. El proyecto del manual en castellano no esta aun en la rama principal de CVS (vean: cvs.php.net o bonsai.php.net, el directorio "phpdoc"), de tal manera que van a tener que genera el Makefile, y algunas entidades manualmente. Pero si se esperan un poco mas, van a poder bajarse el manual ya transformado en HTML, pues el mantenedor de la traduccion esta planeando poner el manual traducido en la rama principal de CVS para PHPDOC. Estoy enviando una copia de este mensaje a el, para su informacion. A proposito: Feliz 28 de Julio paisano!! (por adelantado) Saludos --- Jesus M. Castagnetto ==== README ==== READ THIS FIRST This directory contains source files and a setup for converting PHP's XML documentation into presentation formats like HTML and RTF. You should not have to bother with this unless you are writing documentation yourself, or if you simply are curious about how the XML stuff works. If you just want to read the documentation, download it from http://www.php.net/docs.php3 INTRODUCTION All the documentation is written with XML using the DocBook 3.0 DTD. See: http://www.oasis-open.org/docbook/ If you want to produce something viewable, you need Jade and Norman Walsh's modular DocBook stylesheets. See: http://www.jclark.com/jade/ http://nwalsh.com/docbook/dsssl/ There is a DTD reference for DocBook at http://www.ora.com/homepages/dtdparse/docbook/3.0/ RPMs with the necessary software can be found at ftp://sourceware.cygnus.com/pub/docbook-tools/ Most major linux distrobutions should already come with ready to use packages. CONVENTIONS 1. Insert ID attributes in all major section tags such as part, chapter, sect1 etc. The HTML stylesheet will name the HTML files after these IDs. 2. Function reference IDs look like this (case does not matter): `function.imageloadfont'. Please note that underscores cannot be used in IDs, they should be replaced by minus signs (-). 3. Function section titles (<reference><title>...</>...) look like this: `ref.category'. 4. The contents of examples with program listings start on column 0 in the XML code. 5. All examples use the <?php ... ?> form instead of <? ... ?> 6. The <refsect1><title> tag was set incorrectly when converting from sgml-tools. For normal function reference, the text "Description" should be used instead of the function name. SKELETONS Below are some "skeletons" to copy and paste from when adding documentation. FUNCTION REFERENCE FILE IN functions/: <reference> <title></title> <titleabbrev></titleabbrev> </reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: --> END OF SKELETON FUNCTION REFERENCE ENTRY: <refentry id="function."> <refnamediv> <refname></refname> <refpurpose></refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>RETURNTYPE <function>FUNCTIONNAME</function></funcdef> <paramdef>ARGTYPE1 <parameter>ARGNAME1</parameter></paramdef> <paramdef>ARGTYPE2 <parameter>ARGNAME2</parameter></paramdef> <paramdef>ARGTYPE3 <parameter><optional>ARGNAME3</optional></parameter></paramdef> </funcprototype> </funcsynopsis> <simpara> A simple paragraph that can not contain anything that requires fancy layout. <para> A normal paragraph that can contain lots of stuff. For example <example> <title>Code examples</title> <programlisting> /* Do all indentation with spaces, not tabs, just to be sure. * Don't try pushing the code to the right by adding spaces in * front, this is the style sheet's job. */ function some_code($foo) { /* we all agree that four spaces of indentation is good? */ } </programlisting></example> The text in a paragraph may continue after the example as well. Here is how to make lists: <itemizedlist> <listitem><simpara> List items must contain a container element such as simpara or para (there are plenty of others too, see the DocBook reference for the listitem element. <listitem><simpara> List items must contain simple paragraphs or paragraphs. <listitem><para> If you plan on making sub-lists, you must use para <orderedlist> <listitem><simpara> first list item <listitem><simpara> second list item </orderedlist> You can also continue an ordered list you just left off <orderedlist> <listitem><simpara> third list item <listitem><simpara> fourth list item </orderedlist> <simpara> The documentation for a function should be wrapped up with a "See also" list like this: <simpara> See also <function>stripslashes</function> and <function>quotemeta</function>. </refsect1> </refentry> END OF SKELETON Stig Bakken <stig@php.net> ==== END OF README ==== ------------------------------------------------- Created by Zkey.com - http://www.zkey.com Awarded PCMagazine's Editors' Choice

« previous php.general.es (#639) next »