intranda / goobi-plugin-opac-json

This OPAC plugin for Goobi workflow allows a data transfer from a source that provides JSON records.
https://docs.goobi.io/goobi-workflow-plugins-en/opac/intranda_opac_json
GNU General Public License v2.0
1 stars 1 forks source link

Plugin not added to the OPAC catalogue dropdown #2

Open tarjelavik opened 3 weeks ago

tarjelavik commented 3 weeks ago

Hi! I try to run this plugin in the latest version (v24.09) of Workflow, but the catalogue does not show in the UI.

I see that the *-lib.jar is not documented, but i assume it will go to the opac folder.

plugin_intranda_opac_json.xml:

       ...
    <config name="JSON">
        <field id="id">
            <label>Identifier</label>
            <type>text</type>
            <defaultText></defaultText>
            <url>https://api.ub.uib.no/items/{id.text}?as=iiif</url>
        </field>

        <defaultPublicationType>Monograph</defaultPublicationType>
        <metadata metadata="TitleDocMain" field="$.identified_by[0].content" />
        <metadata metadata="CatalogIDDigital" field="$.id" regularExpression="s/.*\/(.+)$/$1/" />
    </config>
       ...

goobi_opac.xml:

...
    <catalogue title="JSON">
        <config description="JSON OPAC" address="x" port="443" database="x" iktlist="x" ucnf="x" opacType="intranda_opac_json" />
    </catalogue>
    ...

I can't figure out what i am doing wrong on this one.

tarjelavik commented 1 week ago

I went back to tag/2024-02-28_08-46-02_UTC that just have two jar files, renamed them to the new naming pattern, and it works, well at least it shows up in the GUI.

From Claude.io "contact intranda support directly about this issue. The missing plugin registration in the manifest (Plugin-Class and Implementation-Title) is clearly a build issue on their end, not a configuration problem on your side.". Is that the issue here?