<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Disqus - Latest Comments for Domiziano Galia</title><link>http://disqus.com/people/052cb95a77b4f9a4d44e43f4203635fa/</link><description></description><language>en</language><lastBuildDate>Wed, 20 May 2009 03:48:21 -0000</lastBuildDate><item><title>Re: What lies in the shadow of the statue?</title><link>http://paulthewineguy.disqus.com/what_lies_in_the_shadow_of_the_statue/#comment-9569434</link><description>Jacob è un cylon.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Domiziano Galia</dc:creator><pubDate>Wed, 20 May 2009 03:48:21 -0000</pubDate></item><item><title>Re: Search Everything Wordpress Plugin at Scattered</title><link>http://scattered.disqus.com/search_everything_wordpress_plugin_at_scattered/#comment-1185677</link><description>I have the same problem as Maria:&lt;br&gt;&lt;br&gt;WordPress database error: [Column Ã¢â‚¬Ëœmeta_value' in where clause is ambiguous]&lt;br&gt;SELECT DISTINCT * FROM wp_posts LEFT JOIN wp_postmeta AS miniposts_meta ON (wp_posts.ID = miniposts_meta.post_id)LEFT JOIN wp_postmeta ON wp_posts.ID = wp_postmeta.post_id WHERE 1=1 AND (((post_title LIKE '%diario%') OR (post_content LIKE '%diario%')) OR (post_title LIKE '%diario%') OR (post_content LIKE '%diario%')) AND post_date_gmt</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Domiziano Galia</dc:creator><pubDate>Sat, 18 Nov 2006 17:58:51 -0000</pubDate></item><item><title>Re: Search Everything Wordpress Plugin at Scattered</title><link>http://scattered.disqus.com/search_everything_wordpress_plugin_at_scattered/#comment-1185674</link><description>Hi everybody, I have succeded in correcting the error I had (Column Ã¢â‚¬Ëœmeta_value' in where clause is ambiguous). Maybe someone will find it useful: in the plugin's function SE2_search_metadata you simply should add wp_postmeta before .meta_value. So, at line 149:&lt;br&gt;&lt;br&gt;$where .= " OR wp_postmeta.meta_value [...]</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Domiziano Galia</dc:creator><pubDate>Thu, 23 Nov 2006 21:08:45 -0000</pubDate></item><item><title>Re: Search Everything Wordpress Plugin at Scattered</title><link>http://scattered.disqus.com/search_everything_wordpress_plugin_at_scattered/#comment-1185675</link><description>Too Good To Be True...&lt;br&gt;&lt;br&gt;Some metadata, as UTW Tags, are stored in a peculiar way: while no problem with single words, "usa" is stored as "usa", phrases, eg. "united states of america", are stored as "united-states-of-america".&lt;br&gt;&lt;br&gt;So if I search "united states of america" I don't get the result and really I can't hope my users to search "united-states-of-america" (by the way: if they even would do this they wouldn't get an eventual "united states of america" from post contents).&lt;br&gt;&lt;br&gt;I don't think it's hard to work it around, it's a matter of converting spaces in minus signs in the query string in the single case of metadata search, but I'm a phpnewbie. Any ideas?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Domiziano Galia</dc:creator><pubDate>Thu, 23 Nov 2006 21:33:43 -0000</pubDate></item><item><title>Re: Search Everything 4.2.1 Release</title><link>http://scattered.disqus.com/search_everything_421_release/#comment-1271720</link><description>Hi Dan,&lt;br&gt;got a question about the tag searching. There is a problem when searching a multiple words tag, let's say "hello world": if you search &lt;em&gt;hello world&lt;/em&gt; straight you won't find that tag, because it's stored as "hello-world" in the db. Can you work around it in a future release?&lt;br&gt;Thanks. :-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Domiziano Galia</dc:creator><pubDate>Mon, 05 Nov 2007 13:22:58 -0000</pubDate></item><item><title>Re: Search Everything 4.2.1 Release</title><link>http://scattered.disqus.com/search_everything_421_release/#comment-1271718</link><description>I was meaning something slightly different. It is true we can't know if the user is searching for &lt;em&gt;hello world&lt;/em&gt; precisely or &lt;em&gt;hello&lt;/em&gt; &lt;b&gt;AND&lt;/b&gt; &lt;em&gt;world&lt;/em&gt;.&lt;br&gt;What I suggest is not hacking the search adding the minus between words, that would change the meaning of the search, but hacking the search tag results, removing the minus between the words.&lt;br&gt;I've made quite an unhappy example with &lt;em&gt;hello world&lt;/em&gt;. But think about &lt;em&gt;new york times&lt;/em&gt;. Let's say I've written a post without new york times in the body, maybe a one line one, but I want to explicit it in the tags. A search for &lt;em&gt;new york times&lt;/em&gt; wouldn't return that post.&lt;br&gt;A php friend of mine have suggested an home solution for this and it seems quite simple indeed.&lt;br&gt;It should be something about changing&lt;br&gt;&lt;code&gt;$where .= " OR ( tter.slug LIKE '%" . $wpdb-&amp;gt;escape($wp_query-&amp;gt;query_vars['s']) . "%') ";&lt;/code&gt;&lt;br&gt;in the search tag function with&lt;br&gt;&lt;code&gt;$where .= " OR ( tter.slug LIKE '%" . &lt;b&gt;str_replace(' ', '-',$wpdb-&amp;gt;escape($wp_query-&amp;gt;query_vars['s']))&lt;/b&gt; . "%') ";&lt;/code&gt;&lt;br&gt;What about this?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Domiziano Galia</dc:creator><pubDate>Tue, 06 Nov 2007 10:01:30 -0000</pubDate></item><item><title>Re: Search Everything 4.2.1 Release</title><link>http://scattered.disqus.com/search_everything_421_release/#comment-1271715</link><description>Well, not &lt;em&gt;exactly&lt;/em&gt; like that, it returns a fatal error, but something similar. Have you got it, haven't you? :-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Domiziano Galia</dc:creator><pubDate>Tue, 06 Nov 2007 10:21:53 -0000</pubDate></item><item><title>Re: Search Everything 4.2.1 Release</title><link>http://scattered.disqus.com/search_everything_421_release/#comment-1271716</link><description>No wait. I was wrong. It seems to work.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Domiziano Galia</dc:creator><pubDate>Tue, 06 Nov 2007 11:10:42 -0000</pubDate></item></channel></rss>