Hi Ferran,

Ferran Jorba wrote:
Except that, even after many times of running webcoll, forcing and what
not, I'm not able to display the first (cached) page of those records in
my own AB brief format; instead, it uses the default HB.  Do I have to
do any special magical invocation for that?

So, from this cached screen you see the old format, and if you hit the
search button from this page, you see the updated format? Are you sure
you have run webcoll with --force option? (Check the last updated
timestamp at the bottom of the page)

$ sudo -u apache /opt/cds-invenio/bin/webcoll -c "MYCOLLECTION2" -f
$ sudo -u apache /opt/cds-invenio/bin/bibsched

Don't forget that any update of a format which is cached (typically HB
outpouts) must be followed by a BibReformat (which then sends BibUpload
tasks. So make sure your BibSched queue is running!). But this comment
should not apply to the problem you describe above, if everything looks
ok when you hit the search button.

Some additional general tips:

- add parameter "&verbose=9" to you search URL to see if a record is
formatted live, or if a cache is used. For eg:
<http://invenio-demo.cern.ch/search?f=author&p=Ellis%2C%20J&verbose=9>

- in order to live-preview HB output (which is generally cached), you
can create a "mirror" of the HB output format that is never cached. Only
useful for debugging or retrieving which format template is called for
which record:
$ cd /opt/cds-invenio/etc/bibformat/output_formats/
$ sudo -u apache ln -s HB.bfo HBFLY.bfo

(so that the call to the following URL *would* display the records with
the latest format, whatever the cache is:
<http://.../search?verbose=9&of=HBFLY>)

Best regards
--
Jerome Caffaro ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to