Question: search within a time range

Hi –

I don’t think we can make any search within a time range. Ex. In google search plugin: “Homo sapiens” [past week] → which would only search Homo sapiens pages created within last week.

Will this be possible in the future?

/mj

Just choose Window > Plugins & Scanners, select the Google plugin and duplicate it via the contextual menu. Afterwards select the duplicated plugin, open the editor and finally change at least the following key:


	<key>EngineUrl</key>
	<string>http://www.google.com/search?as_q=_agentQuery_&amp;num=_agentNumber_&amp;ie=UTF-8&amp;start=_agentOffset_&amp;as_qdr=w</string>

Here’s the complete plugin:


<?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>Description</key>
	<string>Searches the last week of the Web using Google. Google is famous for ranking Web sites by the number of other sites linking to it. Google is now widely recognized as the world's largest search engine.</string>
	<key>EncodingUrl</key>
	<string>UTF-8</string>
	<key>EngineUrl</key>
	<string>http://www.google.com/search?as_q=_agentQuery_&amp;num=_agentNumber_&amp;ie=UTF-8&amp;start=_agentOffset_&amp;as_qdr=w</string>
	<key>Identifier</key>
	<string>com.devon-technologies.google_last_week.plugin</string>
	<key>Info</key>
	<string>Google (Last Week) Plugin ©2011 DEVONtechnologies</string>
	<key>LinksEnd</key>
	<string>&lt;!--z--&gt;</string>
	<key>LinksNotMatching</key>
	<array>
		<string>*.google.*</string>
		<string>*search?q=cache:*</string>
	</array>
	<key>LinksStart</key>
	<string>&lt;!--a--&gt;</string>
	<key>Name</key>
	<string>Google (Last Week)</string>
	<key>OffsetPerPage</key>
	<integer>100</integer>
	<key>Operators</key>
	<integer>59</integer>
	<key>ParseLinks</key>
	<true/>
	<key>ResultsPerPage</key>
	<integer>100</integer>
	<key>Start</key>
	<integer>0</integer>
	<key>Version</key>
	<string>3.0</string>
</dict>
</plist>

Thank you so much, Christian.

/mj

PS. In my dreams you’d be my Applescript professor. :slight_smile:

And how would I have to modify the set if I liked to search for this (current) year’s or last year’s results?

Thanks in advance.

Axel

Such a plugin will be available soon via the Support Assistant.