Hi,

Le mercredi 11 avril 2007 21:01, Bernard Li a écrit :
> Hi Jean:
>
> This is nice, and is something that I have wanted since a long time ago.

Thanks.

>
> I have a few comments:
>
> - it would be even better if we do not even need to run this manually
> and it just somehow parses the information in our SVN repository

I think we'll have a performance issue, that way. Maybe I'm wrong because I'm 
on the other side of the ocean, but the subversion repository has a very 
hiiiiiiigh latency.
If you want to test the online generation, here is a piece of php code I use 
for another project:

$xml_file = "http://svn.oscar.openclustergroup.org/svn/oscar/trunk/packages/";.
$_GET['comp']."/config.xml";
$xsl_file = "http://".$_SERVER["SERVER_NAME"]."/components/component.xsl";;

// Load files
$DomXmlFile = domxml_open_file($xml_file);
$DomXslTrans = domxml_xslt_stylesheet_file($xsl_file);

// Apply stylesheet
$DomXmlFileResult=$DomXslTrans->process($DomXmlFile,$PARAM);
$XmlFileResult= $DomXmlFileResult->dump_mem(true);

// Print result
print $XmlFileResult;


> - Email addresses should modified to prevent harvesting from spambots
I don't know how to do it in XSLT. If the page can be generated with XSL/PHP, 
this can be done easily.

> - Somehow the pages need to be integrated with Drupal's theme

Isn't it ?  It can be better, sure.

Regards,
Jean

>
> Otherwise, good job!  This will be very helpful to new users/developers.
>
> Cheers,
>
> Bernard
>
> On 4/11/07, DongInn Kim <[EMAIL PROTECTED]> wrote:
> > Hi Jean,
> >
> > Would you explain in more detail when you ask me next time? I didn't
> > understand what script were you talking about and what website(trac,
> > doku, or drupal) you were aiming to.
> >
> > Anyways, I looked up your check-in in trac and then ran your scripts to
> > see what happens.
> > I realized that this may need to go to oscar official website (drupal
> > one) because all the generated html files have the oscar drupal header
> > contents.
> >
> > So, I put all the files here. I hope that this is what you want.
> > http://oscar.openclustergroup.org/components_list
> >
> > Regards,
> >
> > - DongInn
> >
> > Jean Parpaillon wrote:
> > > Hi,
> > > DongInn, I've commited a script to build pages for OSCAR packages. Can
> > > you run it and upload the generated pages on the website ?
> > > I suggest to put the pages in a components/ directory on the website.
> > > Maybe this scripts could be run every day to update the pages.
> > >
> > > Regards,
> > > Jean
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > your opinions on IT & business topics through brief surveys-and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Oscar-devel mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/oscar-devel
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Oscar-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/oscar-devel

-- 
------------------------------------------------------------------------
                           Kerrighed inside
                       http://www.kerrighed.org/
------------------------------------------------------------------------

Jean PARPAILLON - Engineer - PARIS group - Office E210

IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France
Tél: +33 2 99 84 22 33, Fax: +33 2 99 84 71 71


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to