Angel Herraez wrote: Hi Angel,Nico, if you can implement this, I think it is an excellent solution. I have almost finished implementing it, and I am going to commit it :) Are you ready to use it to mark pages as outdated ? What need to be done: 1. In Jmol-web/doc/source, an outdated_XX.xml file has to be created for each language. The French (fr), outdated_fr.xml contains for example: <?xml version="1.0" encoding="UTF-8"?> <outdated> <minor><![CDATA[Cette page a été traduite à partir d'une version précédente de la page en Anglais. Quelques modifications mineures n'ont pas encore été traduites.]]></minor> <major><![CDATA[Cette page a été traduite à partir d'une version précédente de la page en Anglais. Des modifications importantes n'ont pas encore été traduites.]]></major> <full><![CDATA[Cette page a été traduite à partir d'une version précédente de la page en Anglais. Cette page est obsolète.]]></full> </outdated> 2. In each directory where it is useful, an outdated.xml file has to be created for each language. It looks like: <?xml version="1.0" encoding="UTF-8"?> <outdated> <es>no</es> <fr>minor</fr> <nl>major</nl> </outdated> 3. Currently, the warning message is displayed without any formatting. I know you are a lot better than at making nice looking pages. Are you interested in making a nice formatting for the warning message ? There's only two properties to modify in Jmol-web/build.xml : - outdated.format.begin (currently <p>): HTML code put before the warning message - outdated.format.end (currently </p>): HTML code put after the warning message Nico |
------------------------------------------------------------------------- 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
_______________________________________________ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers