[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Adam Di Carlo <adam@onshore.com>] [RFC] DDP and www.debian.org merger



	Umm.. I know this is not that much integrated into wml but.. ¿have
you looked at the perl script made by Paolo Molaro, and modified by
Christophe Le Bars and myself? (the spanish version is in
w.d.o/international/spanish).
	The idea of this is to have a Perl database (using hash arrays gives
a lot of possible uses) that has an entry for each documents. It is quite
powerful and Chris and me use it to keep track of translations.
	That way you can do things like :
<PERL>
do 'ltcp.pl';
update_db_format();

dump_html(0);
</PERL>

	Which dumps all documents marked as 'unavailable' (0). Of course
this can be cleaned up a bit and made more 'developer-friendly' :)

	Best regards

	Javi

On Sat, Mar 25, 2000 at 08:07:53PM -0500, Adam Di Carlo wrote:
> Josip Rodin <joy@cibalia.gkvk.hr> writes:
> 
> > The index page for DDP documents needs to be implemented with a bit of WML
> > magic, with .wml and .wmh files. From what I managed to observe in the last
> > half an hour or so, all we need is some modification of
> > webwml/english/template/debian/install_manual.wml to something less specific
> > to install manuals etc, and better adjusted for this purpose, and a few
> > lines of WML code to invoke the functions which generate the page.
> > 
> > Any comments or even better concrete help would be highly appreciated :)
> 
> I suggest rather a set of metadata files; these files can be the basis
> for a little sort of metadata database, so we could say:
> 
>   <make-doc-index state="released">
> 
> to get an nice HTML index of the released documents, or
> 
>   <make-doc-index state="in-progress">
> 
> to see rough documents which aren't ready yet.
> 
> The metadata files would include a title, author, relative URL,
> release state, package if any it appears in.  Um... maybe other data
> too.
> 
> -- 
> .....Adam Di Carlo....adam@onShore.com.....<URL:http://www.onShore.com/>
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-www-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 


Reply to: