Quote:
Originally Posted by DiapDealer
B&N's DRM is a bastardized version of the Adobe Adept DRM, so depending on how/what you're using to identify Adobe's DRM, your program is probably already lumping B&N DRM'ed books in with the rest of the Adobe DRMed stuff.
Distinguishing between the two may prove difficult programmatically. Possibly take a look at the "operatorUrl" element of the rights.xml file (which they both have—and it's in the same format). I can't swear that all B&N books have the exact same url listed for that element, but barnesandnoble.com seems to be somewhere in there in the examples I have. I know the regular Adobe epubs can have all kinds different fulfillment urls in that "operatorURL" element.
Good luck!
EDIT: Taking a quick peek at your code... yes. You're currently identifying B&N books right along with the rest of the Adept DRM, since both will match:
Code:
// Adobe Adept DRM has "META-INF/rights.xml", containing <licenseURL> with an adobe.com URL.
|
Thanks! I'll try switching to looking for operatorURL instead, and see if the URL contains barnesandnoble.