09-28-2021, 10:10 AM
Freda does not support OpenSearch, which is to say, it does not include the functionality to talk to an OPDS server and understand what URL format it should use to search the catalog. So far, I didn't implement this functionality, because no one asked for it, and it's something that would be hard to get right.
My experience of implementing OPDS catalog connectivity in Freda is that this was hard enough already - not because the standard is hard to code up, but rather because there are many different OPDS catalogs out there, and they don't interpret the standard in the same way. In practice that meant that, though Freda's OPDS implementation was compliant with the standard, I still got support calls (and one-star ratings) whenever some random catalog was following the standard in a way that Freda did not understand. Thankfully, this problem has become less serious over time, as OPDS catalogs have become less popular (except in the case of Calibre - and these days Freda works pretty well with Calibre's particular interpretation of the OPDS standard).
Since Freda doesn't support OpenSearch, it does offer a way to manually configure the searching of OPDS catalogs. For example, if you look at the Feedbooks catalog, by clicking the 'edit' button when viewing the catalog, you'll see that there's an attribute called 'search URL' with the value 'http://www.feedbooks.com/search.atom?query={0}'. That's how Freda knows how to search Feedbooks. When you tap the 'search' button, type 'FOO', and tap 'find', then Freda will interrogate the URI "http://www.feedbooks.com/search.atom?query=FOO", expecting to get an OPDS-compliant response back. That is to say "{0}" just gets replaced by whatever you put in the search text box. I hope that, using this information, you'll be able to get Freda to search your COPS catalog correctly.
My experience of implementing OPDS catalog connectivity in Freda is that this was hard enough already - not because the standard is hard to code up, but rather because there are many different OPDS catalogs out there, and they don't interpret the standard in the same way. In practice that meant that, though Freda's OPDS implementation was compliant with the standard, I still got support calls (and one-star ratings) whenever some random catalog was following the standard in a way that Freda did not understand. Thankfully, this problem has become less serious over time, as OPDS catalogs have become less popular (except in the case of Calibre - and these days Freda works pretty well with Calibre's particular interpretation of the OPDS standard).
Since Freda doesn't support OpenSearch, it does offer a way to manually configure the searching of OPDS catalogs. For example, if you look at the Feedbooks catalog, by clicking the 'edit' button when viewing the catalog, you'll see that there's an attribute called 'search URL' with the value 'http://www.feedbooks.com/search.atom?query={0}'. That's how Freda knows how to search Feedbooks. When you tap the 'search' button, type 'FOO', and tap 'find', then Freda will interrogate the URI "http://www.feedbooks.com/search.atom?query=FOO", expecting to get an OPDS-compliant response back. That is to say "{0}" just gets replaced by whatever you put in the search text box. I hope that, using this information, you'll be able to get Freda to search your COPS catalog correctly.