thoth-pub / thoth

Metadata management and dissemination system for Open Access books
https://thoth.pub
Apache License 2.0
44 stars 8 forks source link

Update ONIX Tag for Pricing in Google Books Metadata #576

Open amandasramalho opened 4 months ago

amandasramalho commented 4 months ago

Although Google's documentation allows the use of the tag for open access books (free), during the book update tests the price was not included in Google's metadata system and the book was left with a pending status in the system.

Google was consulted and suggested replacing the tag with <price>. Once this was done with a value of "0.00", the book was updated correctly.

Current ONIX output:

   <ProductSupply>
      <Market>
        <Territory>
          <RegionsIncluded>WORLD</RegionsIncluded>
        </Territory>
      </Market>
      <SupplyDetail>
        <Supplier>
          <SupplierRole>09</SupplierRole>
          <SupplierName>Editus - Editora da UESC</SupplierName>
        </Supplier>
        <ProductAvailability>20</ProductAvailability>
        <UnpricedItemType>01</UnpricedItemType>
      </SupplyDetail>
    </ProductSupply>

ONIX suggested correction:

      <SupplyDetail>
        <Supplier>
          <SupplierRole>09</SupplierRole>
          <SupplierName>Editus - Editora da UESC</SupplierName>
        </Supplier>
        <ProductAvailability>20</ProductAvailability>
        <Price>
          <PriceType>01</PriceType>
          <PriceAmount>0.00</PriceAmount>
          <CurrencyCode>USD</CurrencyCode>
          <Territory>
            <RegionsIncluded>WORLD</RegionsIncluded>
          </Territory>
        </Price>
      </SupplyDetail>
amandasramalho commented 3 months ago

During the process of validating ONIX files with the Google admin team that sets up the automatic collection of files on FTP, the use of the price "0.00" in the tag was questioned. The admin team only validates automatic collection if free books have the <UnpricedItemType> tag, although this tag is not currently being interpreted by Google's system and the books remain pending until the "0.00" value is included manually. If we consider uploading and updating a large number of books, I stand by my suggestion to adjust ONIX so that it doesn't generate a demand for manual updates. I'll follow up regularly to see if Google's system changes this at some point.