Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
tiriamo fuori dal forum un handbook
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Benve
l33t
l33t


Joined: 13 Mar 2003
Posts: 897
Location: Italy Romagna

PostPosted: Mon Feb 16, 2004 3:59 pm    Post subject: Reply with quote

Questo era solo un esempio per capire, di xml ne so poco.
A quanto so il formato delle doc di gentoo non permette di fare tutto quello che si può fare con uno schema tipo quello sopra.

Es. potrei anche creare un'altra guida riutilizzando il blocco, che non andrebbe riscritto:
Code:
<guida>
        <id>G9876</id>
        <descrizione>
                <tipo>configurazione</tipo>
                <target>lan</target>
                <testo>Configurazione di una lan casalinga</testo>
                <componente>
                        <tipo>hardware/software</tipo>
                </componente>
        </descrizione>
        <contenuto>
                <capitolo>
                        <nome>pianificazione</nome>
                        ...
                </capitolo>
                <capitolo>
                        <nome>configurazione client</nome>
                        <blocco>
                        ...
                        </blocco>
                        <blocco>
                                <link>B1234</link>
                        </blocco>
                </capitolo>
        </contenuto>
</guida>



creare guide runtime con le ricerche
Code:

Divisione per componenti da configurare:
Es. Per Rete
        Moduli da mettere nel kernel per rete
        Modifica di /etc/conf.d/net
        Modifica di /etc/hosts

Divisione per componenti da modificare
Es. Per Kernel
        Configurazione generale del kernel, per tutti i dispositivi
        Compilazione kernel
        Boot kernel
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Mon Feb 16, 2004 4:00 pm    Post subject: Reply with quote

MyZelF wrote:
Ma anzichè reinventare la ruota, non converrebbe (anche per coerenza), riutilizzare il DTD della doc di gentoo?

Si sarebbe meglio ma meglio ancora sarebbe rifarlo in XML Schema. Questo solo per un mio gusto personale (Schema e' un formato XML mente i DTD no).
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Mon Feb 16, 2004 4:05 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Si sarebbe meglio ma meglio ancora sarebbe rifarlo in XML Schema.


Beh, giustamente XSD è la raccomandazione attuale del W3C... però il DTD per la doc gentoo è già fatto...

Possiamo comunque prendere spunto da lì.
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Mon Feb 16, 2004 4:07 pm    Post subject: Reply with quote

MyZelF wrote:
però il DTD per la doc gentoo è già fatto...

E' l'unico punto a favore per il DTD. Scusate ma mi piace seguire le raccomandazioni. Inoltre XML Schema offre di piu' che DTD.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Mon Feb 16, 2004 4:13 pm    Post subject: Reply with quote

fedeliallalinea wrote:
MyZelF wrote:
però il DTD per la doc gentoo è già fatto...

E' l'unico punto a favore per il DTD. Scusate ma mi piace seguire le raccomandazioni. Inoltre XML Schema offre di piu' che DTD.


Non hai tutti i torti.
Certo, IMHO me per uniformità sarebbe bene ricalcare il layout del DTD originale con l'XML Schema
_________________
Ciao da me!
Back to top
View user's profile Send private message
MyZelF
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 2010
Location: Venice, Italy

PostPosted: Mon Feb 16, 2004 4:15 pm    Post subject: Reply with quote

randomaze wrote:

Certo, IMHO me per uniformità sarebbe bene ricalcare il layout del DTD originale con l'XML Schema


Esatto. Intendevo dire questo. A cose fatte possiamo rispedire lo Schema al webmaster di gentoo.org... ;)
_________________
"Larry the Cow was a bit frustrated at the current state of Linux Distributions..."
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Mon Feb 16, 2004 4:16 pm    Post subject: Reply with quote

MyZelF wrote:
Esatto. Intendevo dire questo. A cose fatte possiamo rispedire lo Schema al webmaster di gentoo.org... ;)

Mi piace come idea. Appena finito gli esami vedo che si puo' fare :D .
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Benve
l33t
l33t


Joined: 13 Mar 2003
Posts: 897
Location: Italy Romagna

PostPosted: Mon Feb 16, 2004 4:30 pm    Post subject: Reply with quote

Ma il dtd della gentoo non serve solo a formattare il testo?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30966
Location: here

PostPosted: Mon Feb 16, 2004 4:32 pm    Post subject: Reply with quote

Benve wrote:
Ma il dtd della gentoo non serve solo a formattare il testo?

Il DTD serve per validare il documento XML (come anche XML Schema). Per la formattazione del testo e' XSLT che se ne occupa (adesso non so se sia cosi' anche per il sito gentoo).
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Benve
l33t
l33t


Joined: 13 Mar 2003
Posts: 897
Location: Italy Romagna

PostPosted: Mon Feb 16, 2004 5:18 pm    Post subject: Reply with quote

mi sono spiegato male.
Volevo dire: il formato dell'xml delle guide gentoo, viene usato solo per formattare ed esportare i file in diversi formati?
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2490
Location: イタリアのロディで

PostPosted: Wed Mar 02, 2005 8:52 pm    Post subject: Reply with quote

Ciao, come mai questo 3d è fermo? A che punto è il lavoro?

Era una bella idea..
Back to top
View user's profile Send private message
ProT-0-TypE
Veteran
Veteran


Joined: 20 Dec 2003
Posts: 1624
Location: Cagliari

PostPosted: Thu Mar 03, 2005 12:19 am    Post subject: Reply with quote

beh ora c'è il wiki di gentoo-italia (più o meno è la stessa cosa)
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2490
Location: イタリアのロディで

PostPosted: Thu Mar 03, 2005 9:17 am    Post subject: Reply with quote

Hai ragione.... ci ho pensato solo dopo aver scritto il mio post....:wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum