Hello Samuele, I'm not sure if an icon is attached to a file or to a record. How to attach it to a specific file of a record? Is it related to the name of the file? When I use FFT using bibupload I can specify $x foreach file no?
Regards, ---------------------------------------------------------------------- Johnny Mariéthoz RERO, Av. de la Gare 45, CH - 1920 MARTIGNY Téléphone: +41(0)27 721 8579 Fax : +41(0)27 721 8586 Web : http://www.rero.ch ReroDoc : http://doc.rero.ch, [email protected] ---------------------------------------------------------------------- Le 11 mars 2013 à 14:43, Samuele Kaplun a écrit : > Hi Johnny, > > In data lunedì 11 marzo 2013 14:21:31, Johnny Mariéthoz ha scritto: >> is it possible to specify the path of an icon image with the bibdocfile >> command line utils? > > yes. An Icon in Invenio is simply some bibdocfile having subformat ;icon (or > ;icon-something). > > So in order to attach an icon to an existing BibDoc you can simply run: > > $ bibdocfile --recid 123 --append foo.png --with-format=".png;icon" > > By simply specifying the trailing “;icon” it will cause default format > elemnts > to treat this additional format as an icon. > > Cheers! > Sam > > -- > Samuele Kaplun > Invenio Developer ** <http://invenio-software.org/>

