I am creating a plugin for the American Chemical society, but unlike the example tutorial in the documentation I wish to search across the publications, not just the ACS website.
So far I have come up with the following,
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CrawlDelay</key>
<integer>2</integer>
<key>Description</key>
<string>Searches across all ACS Publications.</string>
<key>EncodingUrl</key>
<string>UTF-8</string>
<key>EngineUrl</key>
<string>https://pubs.acs.org/action/doSearch?AllField=_agentQuery_&startPage=_agentOffset_&pageSize=20</string>
<key>Identifier</key>
<string>com.ACS.plugin-Publications</string>
<key>Info</key>
<string>ACS Plugin</string>
<key>Keyword</key>
<array>
<string>acs</string>
</array>
<key>LinksEnd</key>
<string><nav aria-label="Pagination" class="pagination"></string>
<key>LinksMatching</key>
<string>*/doi/*</string>
<key>LinksNotMatching</key>
<array>
<string>*acsmediakit.org*</string>
<string>*pubs.acs.org/journal/acsccc*</string>
<string>*pubs.acs.org/journal/asbcd6*</string>
<string>*pubs.acs.org/journal/cgeabj*</string>
<string>*pubs.acs.org/journal/esthag*</string>
<string>*pubs.acs.org/journal/iecred*</string>
<string>*pubs.acs.org/journal/jafcau*</string>
<string>*pubs.acs.org/journal/jceda8*</string>
<string>*pubs.acs.org/journal/jcisd8*</string>
<string>*pubs.acs.org/journal/jmcmar*</string>
<string>*pubs.acs.org/page/policy/authorchoice_termsofuse.html*</string>
<string>*pubs.acs.org/series/advances*</string>
<string>*pubs.acs.org/series/symposium*</string>
</array>
<key>LinksStart</key>
<string><ul class="rlist search-result__body items-results "></string>
<key>Name</key>
<string>ACS-All Publications</string>
<key>NoTopics</key>
<string>american,society,chemical,acs,issn,chemistry,volume,number,log, journals,cas,eni,join,network,store,about,contact,meeting,meetings,careers,membership,networks,policy,funding,awards,press,room,pacs,immediate,release,publications,presspac,news,items,this,edition,service,weekly,education,governance,journal,briefings,reporting,releases,article,episode,podcasts,inquiries,peer,reviewed,podcast,member,doi</string>
<key>OffsetPerPage</key>
<integer>1</integer>
<key>Operators</key>
<integer>59</integer>
<key>ResultsPerPage</key>
<integer>20</integer>
<key>Start</key>
<integer>0</integer>
<key>Version</key>
<string>3.0</string>
</dict>
</plist>
This seems to work all well and good for my search query (Cannabis OR Cannabinoid)
, however when I inspected the log a lot of entries have the “no content” error. Upon further inspection, these entries do contain the query terms.
How does one make sure that DA can " See" the webpage.