Re: [PyWrapper-devel] Editing metadata in configTool
Status: Alpha
Brought to you by:
jatorre
From: Javier de la T. <ja...@gm...> - 2006-07-31 12:47:15
|
Right right... I checked also implementations on Python and I couldnt find... As you said doing a much simpler tool that just read and produce this xml is much simpler... I managed to configure the PHP stuff you gave me in Tervuren, but did not have time to work on changing it for DHTML. I will then use very simple python to generate the XML and write in the file... Javi. On 7/31/06, Renato De Giovanni <re...@cr...> wrote: > Hi Javi, > > We already talked about this last week, but I think it's interesting to > leave a message in the mailing list as well. > > Dave Thau tried the same approach (XForms) some years ago when he was > developing the configurator for the PHP provider. You can still find his > code in the DiGIR CVS repository on sourceforge. It's Java, I think. But > at that time I remember he said that the tools were not ready for XForms, > and so the PHP provider ended up with the web configurator that I was > developing simultaneously. > > I'm not sure what's the current status of XForms libraries (maybe they are > ready?). So if there's something for Python, maybe you could try. > > The web configurator that I developed for the PHP provider makes use of > similar XForms functionalities - it builds the metadata form based on a > piece of XML Schema. However, I must say that during all these years the > DiGIR metadata NEVER changed. So a much simpler piece of PHP code would > have done the job more quickly and easily. And personally I think the > TAPIR metadata is really nice, so I wouldn't be surprised if it also keeps > unchanged for many years. > > Another thing to note is that any XForms library that you may decide to > use will need to be able to handle xsd:imports mixing elements from > different namespaces & XML Schemas, since TAPIR uses DublinCore, VCard, > GeoPoint, etc... > > Regards, > -- > Renato > > > > Hi, > > > > Actually there is no editor for the metadata in the PyWrapper > > configuration tool. The metadata is stored in an XML document > > comformant to the TAPIR XML schema. > > > > It looks like the perfect scenario to try XForms. We read the XML > > schema to generate the HTML with the form to edit and then we > > serialize with XUpdate to update the XML document... > > > > In a perfect world this would be automatically done and we would not > > have to program anything, but... anybody has tried something like > > this? > > > > Here is a list of XForms implementations: > > http://www.w3.org/MarkUp/Forms/#implementations > > > > And here are two funny projects that I dont think we can consider but > > that I find curious. > > > > http://bitfluxeditor.org/demo/ > > http://xopus.com/demo/ > > > > Cheers. > > > > ------------------------------------------------------------------------- > 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 > _______________________________________________ > PyWrapper-devel mailing list > PyW...@li... > https://lists.sourceforge.net/lists/listinfo/pywrapper-devel > |