<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ptwix Blog - PHP/AJAX web component to show tweets on web pages &#187; search operators</title>
	<atom:link href="http://ptwix.toforge.com/blog/tag/search-operators/feed/" rel="self" type="application/rss+xml" />
	<link>http://ptwix.toforge.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 13 Feb 2011 17:58:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Twitter search: Example queries and available operators</title>
		<link>http://ptwix.toforge.com/blog/2009/08/twitter-search-example-queries-and-available-operators/</link>
		<comments>http://ptwix.toforge.com/blog/2009/08/twitter-search-example-queries-and-available-operators/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 19:53:38 +0000</pubDate>
		<dc:creator>Fireantology</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[1.1]]></category>
		<category><![CDATA[queries]]></category>
		<category><![CDATA[search operators]]></category>
		<category><![CDATA[twitter search]]></category>

		<guid isPermaLink="false">http://ptwix.toforge.com/blog/?p=22</guid>
		<description><![CDATA[The ptwix search method accept string in this format &#8220;bye&#38;rpp=20&#8243; There are some instructions about search queries (Come directly from twitter search API method page) This information are not up to date, is strongly suggested to read directly the twitter documentation. Example queries: Containing a word: http://search.twitter.com/search.atom?q=twitter From a user: http://search.twitter.com/search.atom?q=from%3Aal3x Replying to a user (tweet starts [...]]]></description>
			<content:encoded><![CDATA[<p>The ptwix search method accept string in this format</p>
<p><strong>&#8220;bye&amp;rpp=20&#8243;</strong></p>
<p>There are some instructions about search queries (Come directly from <a title="Twitter Search API method" href="http://dev.twitter.com/doc/get/search" target="_blank">twitter search API method</a> page)<br />
<strong>This information are not up to date, is strongly suggested to read directly the <a href="http://dev.twitter.com/doc/get/search">twitter documentation</a>.</strong></p>
<p><span id="more-22"></span></p>
<p><strong>Example queries</strong>:</p>
<ul style="margin-left: 20px; padding-left: 20px;">
<li>Containing a word: <span style="color: #000000;"><a href="http://search.twitter.com/search.atom?q=twitter" target="_blank"><span style="font-family: Courier New;">http://search.twitter.com/search.atom?q=twitter</span></a></span></li>
<li><span style="font-weight: bold;">F</span>rom a user: <a style="color: #003de8;" href="http://search.twitter.com/search.atom?q=from%3Aal3x" target="_blank"><span style="font-family: Courier New;">http://search.twitter.com/search.atom?q=from%3Aal3x</span></a></li>
<li>Replying to a user (tweet starts with @mzsanford): <span style="color: #000000;"><a href="http://search.twitter.com/search.atom?q=to%3Amzsanford" target="_blank"><span style="font-family: Courier New;">http://search.twitter.com/search.atom?q=to%3Amzsanford</span></a></span></li>
<li><span style="color: #000000;">Mentioning a user (tweet contains @biz): <a href="http://search.twitter.com/search.atom?q=%40biz" target="_blank"><span style="font-family: Courier New;">http://search.twitter.com/search.atom?q=%40biz</span></a></span></li>
<li><span style="font-weight: bold;">C</span>ontaining a hashtag (up to 16 characters): <span style="color: #000000;"><a href="http://search.twitter.com/search.atom?q=%23haiku" target="_blank"><span style="font-family: Courier New;">http://search.twitter.com/search.atom?q=%23haiku</span></a></span></li>
<li><span style="color: #000000;">Combine any of the operators together: <a href="http://search.twitter.com/search.atom?phrase=happy+hour&amp;until=2009-03-24" target="_blank"><span style="font-family: Courier New;">http://search.twitter.com/search.atom?phrase=happy+hour&amp;until=2009-03-24</span></a></span></li>
<li>Originating from an application<tt>:</tt> <a href="http://search.twitter.com/search.atom?q=landing+source:tweetie"><span style="font-family: Courier New;">http://search.twitter.com/search.atom?q=landing+source:tweetie</span></a></li>
</ul>
<p><strong>Search operators:</strong></p>
<p>Most search operators can be used with API queries.</p>
<p style="margin-left: 40px;"><strong>Boolean operators</strong>:</p>
<ul>
<li><span style="font-family: Courier New;">OR</span> to combine queries:
<ul>
<li>Mentioning @twitterapi OR @twitter: <a href="http://search.twitter.com/search.atom?q=%40twitterapi+OR+%40twitter"><span style="font-family: Courier New;">http://search.twitter.com/search.atom?q=%40twitterapi+OR+%40twitter</span></a></li>
</ul>
</li>
<li><span style="font-family: Courier New;">Negation</span>: place <span style="font-family: Courier New;">-</span> in front of the operator.
<ul>
<li>Referencing a user but not from that user<span style="font-family: Courier New;">:</span> <a href="http://search.twitter.com/search.atom?q=dougw+-from%3Adougw"><span style="font-family: Courier New;"><span style="color: #003de8;">http://search.twitter.com/search.atom?q=dougw+-from%3Adougw</span></span></a></li>
</ul>
</li>
</ul>
<p style="margin-left: 40px;"><strong>Operator Limits</strong>:</p>
<ul>
<li><tt>since<span style="font-family: Segoe UI,&quot;Lucida Grande&quot;,Arial;">:</span></tt> and <span style="font-family: Courier New;"><tt>until</tt></span> operators:
<ul>
<li><tt>since:</tt> will return a HTTP 404 if it is too old</li>
<li><tt>until</tt>: cannot be in the future</li>
<li><span style="font-family: Courier New;"><tt>since:</tt></span> <tt><span style="font-family: Segoe UI,&quot;Lucida Grande&quot;,Arial;">and</span></tt> <span style="font-family: Courier New;"><tt>until:</tt></span> do not accept the negation (-) operation</li>
</ul>
</li>
<li><span style="font-family: Courier New;"><tt>filter:links</tt></span> operator:
<ul>
<li>results are limited to 7 days</li>
</ul>
</li>
<li><tt>source:</tt> operator:
<ul>
<li>results are limited to 7 days</li>
<li>queries must contain at least one keyword parameter with the <span style="font-family: Courier New;">source:</span> operator</li>
</ul>
</li>
<li><span style="font-family: Courier New;">lang=</span> operator:
<ul>
<li>results are limited to 7 days</li>
</ul>
</li>
<li><span style="font-family: Courier New;">location</span> operator:
<ul>
<li>results are limited to 7 days</li>
</ul>
</li>
<li><span style="font-family: Courier New;">near</span>:
<ul>
<li>cannot be used in API search</li>
</ul>
</li>
</ul>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>Bookmark to:</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://ptwix.toforge.com/blog/2009/08/twitter-search-example-queries-and-available-operators/&amp;title=Twitter+search%3A+Example+queries+and+available+operators" title="Add 'Twitter search: Example queries and available operators' to Del.icio.us"><img src="http://ptwix.toforge.com/blog/wp-content/plugins/social-bookmarking-reloaded/delicious.png" title="Add 'Twitter search: Example queries and available operators' to Del.icio.us" alt="Add 'Twitter search: Example queries and available operators' to Del.icio.us" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://ptwix.toforge.com/blog/2009/08/twitter-search-example-queries-and-available-operators/&amp;title=Twitter+search%3A+Example+queries+and+available+operators" title="Add 'Twitter search: Example queries and available operators' to digg"><img src="http://ptwix.toforge.com/blog/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'Twitter search: Example queries and available operators' to digg" alt="Add 'Twitter search: Example queries and available operators' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://ptwix.toforge.com/blog/2009/08/twitter-search-example-queries-and-available-operators/" title="Add 'Twitter search: Example queries and available operators' to Technorati"><img src="http://ptwix.toforge.com/blog/wp-content/plugins/social-bookmarking-reloaded/technorati.png" title="Add 'Twitter search: Example queries and available operators' to Technorati" alt="Add 'Twitter search: Example queries and available operators' to Technorati" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://ptwix.toforge.com/blog/2009/08/twitter-search-example-queries-and-available-operators/&amp;title=Twitter+search%3A+Example+queries+and+available+operators" title="Add 'Twitter search: Example queries and available operators' to Google Bookmarks"><img src="http://ptwix.toforge.com/blog/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add 'Twitter search: Example queries and available operators' to Google Bookmarks" alt="Add 'Twitter search: Example queries and available operators' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://mystuff.ask.com/mysearch/QuickWebSave?v=1.2&amp;t=webpages&amp;title=Twitter+search%3A+Example+queries+and+available+operators&amp;url=http://ptwix.toforge.com/blog/2009/08/twitter-search-example-queries-and-available-operators/" title="Add 'Twitter search: Example queries and available operators' to Ask"><img src="http://ptwix.toforge.com/blog/wp-content/plugins/social-bookmarking-reloaded/ask.png" title="Add 'Twitter search: Example queries and available operators' to Ask" alt="Add 'Twitter search: Example queries and available operators' to Ask" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://de.lirio.us/rubric/post?uri=http://ptwix.toforge.com/blog/2009/08/twitter-search-example-queries-and-available-operators/&amp;title=Twitter+search%3A+Example+queries+and+available+operators&amp;when_done=go_back" title="Add 'Twitter search: Example queries and available operators' to Delirious"><img src="http://ptwix.toforge.com/blog/wp-content/plugins/social-bookmarking-reloaded/delirious.png" title="Add 'Twitter search: Example queries and available operators' to Delirious" alt="Add 'Twitter search: Example queries and available operators' to Delirious" /></a><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="https://favorites.live.com/quickadd.aspx?url=http://ptwix.toforge.com/blog/2009/08/twitter-search-example-queries-and-available-operators/&amp;title=Twitter+search%3A+Example+queries+and+available+operators" title="Add 'Twitter search: Example queries and available operators' to Live-MSN"><img src="http://ptwix.toforge.com/blog/wp-content/plugins/social-bookmarking-reloaded/live.png" title="Add 'Twitter search: Example queries and available operators' to Live-MSN" alt="Add 'Twitter search: Example queries and available operators' to Live-MSN" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.diggita.it/submit.php?title=Twitter+search%3A+Example+queries+and+available+operators&amp;url=http://ptwix.toforge.com/blog/2009/08/twitter-search-example-queries-and-available-operators/" title="Add 'Twitter search: Example queries and available operators' to Diggita"><img src="http://ptwix.toforge.com/blog/wp-content/plugins/social-bookmarking-reloaded/diggita.png" title="Add 'Twitter search: Example queries and available operators' to Diggita" alt="Add 'Twitter search: Example queries and available operators' to Diggita" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://ptwix.toforge.com/blog/2009/08/twitter-search-example-queries-and-available-operators/&amp;t=Twitter+search%3A+Example+queries+and+available+operators" title="Add 'Twitter search: Example queries and available operators' to FaceBook"><img src="http://ptwix.toforge.com/blog/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Add 'Twitter search: Example queries and available operators' to FaceBook" alt="Add 'Twitter search: Example queries and available operators' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.upnews.it/submit?url=http://ptwix.toforge.com/blog/2009/08/twitter-search-example-queries-and-available-operators/&amp;title=Twitter+search%3A+Example+queries+and+available+operators" title="Add 'Twitter search: Example queries and available operators' to Upnews"><img src="http://ptwix.toforge.com/blog/wp-content/plugins/social-bookmarking-reloaded/upnews.png" title="Add 'Twitter search: Example queries and available operators' to Upnews" alt="Add 'Twitter search: Example queries and available operators' to Upnews" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=Twitter+search%3A+Example+queries+and+available+operators&amp;c=http://ptwix.toforge.com/blog/2009/08/twitter-search-example-queries-and-available-operators/" title="Add 'Twitter search: Example queries and available operators' to MySpace"><img src="http://ptwix.toforge.com/blog/wp-content/plugins/social-bookmarking-reloaded/myspace.png" title="Add 'Twitter search: Example queries and available operators' to MySpace" alt="Add 'Twitter search: Example queries and available operators' to MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://ptwix.toforge.com/blog/2009/08/twitter-search-example-queries-and-available-operators/" title="Add 'Twitter search: Example queries and available operators' to Twitter"><img src="http://ptwix.toforge.com/blog/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Add 'Twitter search: Example queries and available operators' to Twitter" alt="Add 'Twitter search: Example queries and available operators' to Twitter" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://ptwix.toforge.com/blog/2009/08/twitter-search-example-queries-and-available-operators/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

