<?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>WebProNews &#187; query</title>
	<atom:link href="http://www.webpronews.com/tag/query/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webpronews.com</link>
	<description>Breaking News in Tech, Search, Social, &#38; Business</description>
	<lastBuildDate>Sun, 12 Feb 2012 17:01:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Law Firm Purges DoubleClick References</title>
		<link>http://www.webpronews.com/law-firm-purges-doubleclick-references-2007-12</link>
		<comments>http://www.webpronews.com/law-firm-purges-doubleclick-references-2007-12#comments</comments>
		<pubDate>Thu, 13 Dec 2007 15:46:53 +0000</pubDate>
		<dc:creator>WebProNews Staff</dc:creator>
				<category><![CDATA[Search]]></category>
		<category><![CDATA[Antitrust]]></category>
		<category><![CDATA[Center For Digital Democracy]]></category>
		<category><![CDATA[Democracy]]></category>
		<category><![CDATA[Digital]]></category>
		<category><![CDATA[DoubleClick]]></category>
		<category><![CDATA[EPIC]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Jones Day]]></category>
		<category><![CDATA[law]]></category>
		<category><![CDATA[Legal]]></category>
		<category><![CDATA[Link]]></category>
		<category><![CDATA[Privacy]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[Ventures]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=42654</guid>
		<description><![CDATA[<p>The demand for the FTC chair to recuse herself from the Google and DoubleClick antitrust review yielded a surprising little twist.</p> ]]></description>
			<content:encoded><![CDATA[<p>The demand for the FTC chair to recuse herself from the Google and DoubleClick antitrust review yielded a surprising little twist.</p>
<p> <span id="more-42654"></span>
<p>In their <a href="http://www.epic.org/privacy/ftc/google/recusal_121207.pdf">motion for disqualification</a> of Deborah Platt Majoras, the <a href="http://www.democraticmedia.org/">Center for Digital Democracy</a> and the <a href="http://epic.org/">Electronic Privacy Information Center</a> cited a newly discovered fact about the case. Majoras&#8217; husband, John Majoras, works for a law firm retained by DoubleClick.</p>
<p>John Majoras is not listed as one of the five attorneys DC law firm <a href="http://www.jonesday.com">Jones Day</a> has advising DoubleClick on antitrust issues. However, searching the Jones Day site, and Google, shows references to DoubleClick no longer appear on the firm&#8217;s website.</p>
<p>A <a href="http://www.jonesday.com/search/Search.aspx?qu=doubleclick">query</a> through the Jones Day site search displayed this item as one of four results:</p>
<blockquote><p><tt>3. <a href="http://www.jonesday.com/services/services_experience.aspx?AdvancedServices=7deaa765-88f7-4368-8db7-443695819af3">Jones Day - Services - Antitrust Mergers/Joint Ventures - Experience</a><br /> &hellip;DTE Energy Company. DoubleClick Inc. Acquisition by DoubleClick Antitrust counsel in the $3.1 billion acquisition&hellip;in the $3.1 billion acquisition of DoubleClick by Google Inc. H&amp;R&hellip;     http://www.jonesday.com/services/services_experience.aspx?<br /> AdvancedServices=7deaa765-88f7-4368-8db7-443695819af3<br /> 12/7/2007 1:10:31 AM</tt></p></blockquote>
<p>Click the link, and DoubleClick does not appear in the resulting list. We expect this could be a simple administrative oversight, and look forward to hearing it has been corrected.</p>
<p>But the Jones Day webmaster will have more work to do. For one thing, <a href="http://www.jonesday.com/experience/experience_detail.aspx?exID=S11555">this link</a> should lead directly to a summary of Jones Day&#8217;s experience with DoubleClick. It&#8217;s blank, but you can see it in the CDD/EPIC motion.</p>
<p>We checked each of the five attorneys&#8217; profiles on the site. EPIC and CDD listed <a href="http://www.google.com/search?hl=en&amp;safe=off&amp;q=site%3Ajonesday.com+joe+sims+doubleclick">Joe Sims</a>, <a href="http://www.google.com/search?hl=en&amp;safe=off&amp;q=site%3Ajonesday.com+Thomas+Jestaedt+doubleclick">Thomas Jestaedt</a>, <a href="http://www.google.com/search?q=site%3Ajonesday.com+Alexandre+G.+Verheyden+doubleclick">Alexandre G. Verheyden</a>, <a href="http://www.google.com/search?hl=en&amp;safe=off&amp;q=site%3Ajonesday.com+Michael+S.+McFalls+doubleclick">Michael S. McFalls</a>, and Chris Ahern as the legal eagles providing counsel.</p>
<p>Each of those attorneys once had this listed in their Professional Biography &#8211; Experience:</p>
<blockquote><p><tt>DoubleClick Inc.<br /> Acquisition by DoubleClick<br /> Antitrust counsel in the $3.1 billion acquisition of DoubleClick by Google Inc.</tt></p></blockquote>
<p>In each case, that reference has been scrubbed from the Jones Day site. One would imagine an attorney would want to tout being part of a multi-billion-dollar deal involving one of the biggest name brand companies on the planet.</p>
<p>Not at Jones Day, though.</p>
<p>(UPDATE: A DoubleClick representative responded to this story via email: &quot;<a target="_blank" href="http://www.stblaw.com/">Simpson Thacher</a> has been DoubleClick&#8217;s outside counsel since July of 2005 and was retained to represent it in all aspects of its proposed acquisition by Google, including with respect to United States antitrust matters. &nbsp;From the outset, Simpson Thacher has represented DoubleClick before the Federal Trade Commission and continues in that capacity. Jones Day has been engaged primarily with respect to European and other non-U.S. jurisdictions. &nbsp;Jones Day was not engaged to represent, and has not represented DoubleClick before the Federal Trade Commission or appeared before the Commission on DoubleClick&rsquo;s behalf.&quot;)</p>
<p>&nbsp;</p>
<p><a href="http://twitter.com/dutter/">follow me on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/law-firm-purges-doubleclick-references-2007-12/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google&#8217;s URL Spellchecker</title>
		<link>http://www.webpronews.com/googles-url-spellchecker-2007-10</link>
		<comments>http://www.webpronews.com/googles-url-spellchecker-2007-10#comments</comments>
		<pubDate>Wed, 17 Oct 2007 20:36:44 +0000</pubDate>
		<dc:creator>Philipp Lenssen</dc:creator>
				<category><![CDATA[Search]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[URL]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=41186</guid>
		<description><![CDATA[<p>Google started to sometimes show URL suggestions if you used the search box as &#8220;address box&#8221; but mistyped the address.<br />
]]></description>
			<content:encoded><![CDATA[<p>Google started to sometimes show URL suggestions if you used the search box as &ldquo;address box&rdquo; but mistyped the address.<br />
<span id="more-41186"></span> <br />
<img alt="Google URL Spellchecker" src="http://images.ientrymail.com/webpronews/articlepictures/google-url-spellcheck.png" title="Google URL Spellchecker" /></p>
<p>&nbsp;An example: when you enter <a href="http://www.google.com/search?q=http%3A%2F%2Fgooglified.net">the query <em>http://googlified.net</em></a>, Google will return:</p>
<p><q>No results found for http://googlified.net.</p>
<p>However, there are results from websites with similar addresses:</p>
<p>Googlified<br />
&#8230;<br />
googlified.com/<br />
&#8230;</q></p>
<p>At other times, mistyping a URL will return a normal spellchecking result. E.g. entering <em>http://blogoscope.com</em> into Google at this time returns &ldquo;Did you mean: http://<em>blogoscoped</em>.com&rdquo;, showing the snippet of blogoscoped.com below.</p>
<p>Ionut Alex. Chitu, who noticed this new behavior, <a href="http://googlesystem.blogspot.com/2007/10/google-tries-to-fix-broken-links.html">comments</a> on the reason why Google might have introduced this special result type:</p>
<p><q>Many people don&rsquo;t know the difference between Google&rsquo;s search box and the browser&rsquo;s address bar. This confusion is accentuated by the fact that the address bar is also a search box in some cases and Google, like most search engines, steal the focus from the address bar.<br />
</q></p>
<p><a href="http://blogoscoped.com/forum/111475.html" title="Comment on Google">Comments</a></p>
<p>Tag: </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/googles-url-spellchecker-2007-10/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make Your Query Smarter On Yahoo!</title>
		<link>http://www.webpronews.com/make-your-query-smarter-on-yahoo-2007-10</link>
		<comments>http://www.webpronews.com/make-your-query-smarter-on-yahoo-2007-10#comments</comments>
		<pubDate>Mon, 15 Oct 2007 16:48:39 +0000</pubDate>
		<dc:creator>Navneet Kaushal</dc:creator>
				<category><![CDATA[Search]]></category>
		<category><![CDATA[Assist]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[Radiohead]]></category>
		<category><![CDATA[smarter]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=41096</guid>
		<description><![CDATA[<div class="text">Talking about their successful <a href="http://www.unofficialseoblog.com/google-finally-has-a-real-challenge/2908" title="Yahoo! Search Assist"><u>Yahoo! Search Assist</u></a>, Yahoo! now discusses 'The Other Half of the Search Equation'.]]></description>
			<content:encoded><![CDATA[<div class="text">Talking about their successful <a href="http://www.unofficialseoblog.com/google-finally-has-a-real-challenge/2908" title="Yahoo! Search Assist"><u>Yahoo! Search Assist</u></a>, Yahoo! now discusses &#8216;The Other Half of the Search Equation&#8217;.</p>
<p>&ldquo;Recent research conducted by Harris Interactive* indicates that consumers are suffering from &quot;Web Search fatigue.&quot; The study revealed that while the vast majority of the population uses a search engine to find information on the Internet, only 15 percent of people find what they&#8217;re looking for with their first search. Typically, people need to conduct three to four searches to find the right result.</p>
<p>While search engines can and will continue to improve, we think making queries smarter is also part of the solution. While there are a handful of seasoned users and professional searchers out there who employ Boolean operators, site restrict and other advanced techniques, no one (ourselves included) wants to have to think hard about which search terms to use. Our vision was to build a system that helps users confidently construct more sophisticated and targeted queries without slowing them down.</p>
<p>In this first release, we&#8217;ve broken the problem into two parts. Part One provides assistance as you type. This has massively reduced the number of misspelled queries being submitted and saves typing time for slower typists. It can also link you deeper into the results space, saving you a step on those quick in-and-out sessions.</p>
<p>Part Two helps you move your searches forward, backward or sideways so you get the results you actually want more quickly. So if you started with a query for &#8216;<a href="http://search.yahoo.com/search?p=thom+yorke&amp;fr=yfp-t-501&amp;toggle=1&amp;cop=mss&amp;ei=UTF-8&amp;sado=1" onclick="javascript:urchinTracker('/outbound/search.yahoo.com/search?p=thom+yorke_038_fr=yfp-t-501_038_toggle=1_038_cop=mss_038_ei=UTF-8_038_sado=1');" title="Thom Yorke"><u>Thom Yorke</u></a>,&#8217; you might get a forward (refining) suggestion for &#8216;<a href="http://search.yahoo.com/search;_ylt=A0oGki66NQ1HGD0B_55XNyoA?p=thom+yorke+eraser&amp;y=Search&amp;fr=yfp-t-501%2&amp;sado=1" onclick="javascript:urchinTracker('/outbound/search.yahoo.com/search_ylt=A0oGki66NQ1HGD0B_55XNyoA?p=thom+yorke+eraser_038_y=Search_038_fr=yfp-t-501_2_038_sado=1');" title="Eraser"><u>Eraser</u></a>,&#8217; his most recent album, or a backward (expanding) suggestion for &#8216;<a href="http://search.yahoo.com/search;_ylt=A0oGkmfCNQ1H7GEBjOhXNyoA?p=radiohead&amp;fr=yfp-t-501" onclick="javascript:urchinTracker('/outbound/search.yahoo.com/search_ylt=A0oGkmfCNQ1H7GEBjOhXNyoA?p=radiohead_038_fr=yfp-t-501');" title="Radiohead"><u>Radiohead</u></a>,&#8217; the band he&#8217;s a</p>
<p>member of. You could also get a sideways (or related) suggestion such as &#8216;<a href="http://search.yahoo.com/search;_ylt=A0oGklJ.lQ9H4BQADw9XNyoA?sado=1&amp;p=solo%20album&amp;y=Search&amp;fr=yfp-t-501" onclick="javascript:urchinTracker('/outbound/search.yahoo.com/search_ylt=A0oGklJ.lQ9H4BQADw9XNyoA?sado=1_038_p=solo_20album_038_y=Search_038_fr=yfp-t-501');"><u>solo albums</u></a>&#8216; which, when clicking on the term in the left-hand column of Search Assist, will lead you to other lead singers with solo albums like <a href="http://search.yahoo.com/search;_ylt=A0oGkxgZcA1HxAUBnbpXNyoA?p=gwen+stefani&amp;y=Search&amp;fr=yfp-t-501&amp;sado=1" onclick="javascript:urchinTracker('/outbound/search.yahoo.com/search_ylt=A0oGkxgZcA1HxAUBnbpXNyoA?p=gwen+stefani_038_y=Search_038_fr=yfp-t-501_038_sado=1');" title="Gwen Stefani"><u>Gwen Stefani</u></a> or <a href="http://search.yahoo.com/search;_ylt=A0oGklEBNg1HRXcBiSxXNyoA?p=eddie+vedder&amp;fr=yfp-t-501&amp;sado=1" onclick="javascript:urchinTracker('/outbound/search.yahoo.com/search_ylt=A0oGklEBNg1HRXcBiSxXNyoA?p=eddie+vedder_038_fr=yfp-t-501_038_sado=1');" title="Eddie Vedder"><u>Eddie Vedder</u></a>.&rdquo;</p>
<p>More info on <a href="http://www.ysearchblog.com/archives/000494.html" onclick="javascript:urchinTracker('/outbound/www.ysearchblog.com/archives/000494.html');"><u>Yahoo! Search blog</u></a>.<br />
<a title="Comment on Yahoo" href="http://www.unofficialseoblog.com/how-to-make-your-query-smarter-on-yahoo/3060/"><br />
Comments</a></p>
</div>
<p>Tag: </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/make-your-query-smarter-on-yahoo-2007-10/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Adwords Expanded Broad Match</title>
		<link>http://www.webpronews.com/google-adwords-expanded-broad-match-2007-06</link>
		<comments>http://www.webpronews.com/google-adwords-expanded-broad-match-2007-06#comments</comments>
		<pubDate>Tue, 19 Jun 2007 20:33:01 +0000</pubDate>
		<dc:creator>Christine Parfitt</dc:creator>
				<category><![CDATA[Search]]></category>
		<category><![CDATA[AdWords]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Keyword]]></category>
		<category><![CDATA[Match]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[Tool]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=38578</guid>
		<description><![CDATA[<p class="MsoNormal">Be careful when using broad match keywords in a Google adWords campaign.</p>]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">Be careful when using broad match keywords in a Google adWords campaign.</p>
<p class="MsoNormal">On the positive side, broad matching means that ads will run for variations of your keywords without the need to specify what all these variations might be. So in the example given in the <a title="adwords help file" href="http://adwords.google.com/support/bin/answer.py?answer=6136" onclick="javascript:urchinTracker ('/outgoing/adwords.google.com/support/bin/answer.py?answer=6136');">adwords help file</a>, the keyword <em>web hosting </em>might trigger ads for the search phrases <em>web host</em> or <em>web hosting company</em>.</p>
<p class="MsoNormal">However broad matching incorporates expanded matching so not only will ads show for variations in word order, and queries with additional words to the keywords, but ads will potentially show for synonyms and other related variations.</p>
<p class="MsoNormal">This might not be what you want and there may be times when the expanded matching can be much broader than you might expect. In a campaign I recently set up, a broad match on a generic product name triggered ads for search queries for a manufacturer name, very specific model numbers (not relevant to my client) and other products sold by the manufacturer.</p>
<p class="MsoNormal">There are two main ways to deal with it.</p>
<p class="MsoNormal">1. Build up a list of negative keywords and add them to the campaign</p>
<ul>
<ul>
<li>use the keyword tools (particularly the <a title="adwords keyword tool" href="https://adwords.google.com/select/KeywordToolExternal" onclick="javascript:urchinTracker ('/outgoing/adwords.google.com/select/KeywordToolExternal');">adwords keyword tool</a> as this will indicate potential expanded matches); extract the words that are not relevant and including them as negatives in the campaign</li>
<p></p>
<li>run searches and seeing which words and phrases come up in the search listings and ads to uncover potential negatives</li>
<p></p>
<li>analyse your website logs to extract non-relevant search queries or words that can be input as negatives</li>
<p></p>
<li>run the new <a title="search query performance report" href="http://adwords.google.com/support/bin/answer.py?answer=68034" onclick="javascript:urchinTracker ('/outgoing/adwords.google.com/support/bin/answer.py?answer=68034');">search query performance report</a> to see which search queries triggered ads and what negatives are necessary in the campaign</li>
</ul>
</ul>
<p class="MsoNormal">2. Opt out of expanded match by using phrase and exact matching</p>
<blockquote>
<p class="MsoNormal">By doing this you know when the ads will be triggered and you eliminate the instances of unwanted expanded matching.</p>
</blockquote>
<p><a title="Comment on AdWords" href="http://www.semfire.com.au/blog/?p=76#respond">Comments</a></p>
<p>Tag: </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/google-adwords-expanded-broad-match-2007-06/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Powerset Makes Powerful Impressions</title>
		<link>http://www.webpronews.com/powerset-makes-powerful-impressions-2007-06</link>
		<comments>http://www.webpronews.com/powerset-makes-powerful-impressions-2007-06#comments</comments>
		<pubDate>Fri, 15 Jun 2007 19:38:20 +0000</pubDate>
		<dc:creator>Doug Caverly</dc:creator>
				<category><![CDATA[Search]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Natural Language Search]]></category>
		<category><![CDATA[Powerlabs]]></category>
		<category><![CDATA[Powerset]]></category>
		<category><![CDATA[query]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=38494</guid>
		<description><![CDATA[<p>Powerset has yet to launch, but a few sneak previews have shown some promising results; true &#8220;natural language&#8221; search appears to be well on its way.<br />
<br />
<table width="400" cellspacing="0" cellpadding="2" border="0">
    <tbody>
        <tr>
            <td align="center"><img width="400" height="200" border="0" src="http://images.ientrymail.com/webpronews/article_pics/powerset400.jpg" title="Powerset Seems Powerful" alt="Powerset Seems Powerful" class="irImage" /></td>
        </tr>
        <tr>
            <td align="right" style="padding-bottom: 10px; padding-left: 45px; padding-right: 45px;" class="caption">Powerset Seems Powerful</td>
        </tr>
        <tr>
            <td align="center" style="padding-bottom: 0px;" class="caption"><img width="334" height="21" alt="" src="http://images.ientrymail.com/webpronews/salon/complete.gif" /></td>
        </tr>
    </tbody>
</table>
]]></description>
			<content:encoded><![CDATA[<p>Powerset has yet to launch, but a few sneak previews have shown some promising results; true &ldquo;natural language&rdquo; search appears to be well on its way.</p>
<table width="400" cellspacing="0" cellpadding="2" border="0">
<tbody>
<tr>
<td align="center"><img width="400" height="200" border="0" src="http://images.ientrymail.com/webpronews/article_pics/powerset400.jpg" title="Powerset Seems Powerful" alt="Powerset Seems Powerful" class="irImage" /></td>
</tr>
<tr>
<td align="right" style="padding-bottom: 10px; padding-left: 45px; padding-right: 45px;" class="caption">Powerset Seems Powerful</td>
</tr>
<tr>
<td align="center" style="padding-bottom: 0px;" class="caption"><img width="334" height="21" alt="" src="http://images.ientrymail.com/webpronews/salon/complete.gif" /></td>
</tr>
</tbody>
</table>
<p><span id="more-38494"></span> The Powerset Blog gives a good example with a recent &ldquo;<a title="Powerset Tracks Dead Politicians" href="http://blog.powerset.com/2007/6/8/politicians-who-died-in-office">Query of the Week</a>.&rdquo;&nbsp; Several spot-on results are shown for the phrase &ldquo;politicians who died in office,&rdquo; and Scott Prevost, the company&rsquo;s Director of Product, writes, &ldquo;For those who think natural language search is just about asking questions, note that this query isn&rsquo;t a question or even a complete sentence.&rdquo;</p>
<p>(Interestingly, a <a title="Google Results For Dead Politicians" href="http://www.google.com/search?hl=en&amp;q=politicians+who+died+in+office&amp;btnG=Google+Search">Google search</a> for that same phrase yields a Yahoo Answers page as the number one result, and number two goes straight to the Powerset Blog.)</p>
<p>Prevost later continues, &ldquo;Note that Powerset also knows that &lsquo;governors&rsquo; are types of politicians.&nbsp; This is an example of how Powerset uses ontologies to identify specific examples that match more abstract concepts.&nbsp; In the second result, Powerset actually knows that Daniel MacDonald is a member of the Canadian Parliament, and that MPs are types of politicians.&rdquo;</p>
<p>Yet listening to a company promote itself doesn&rsquo;t always build trust.&nbsp; For more perspective, we can turn to <a title="Powerset Coverage, Commentary, And Screenshots" href="http://www.readwriteweb.com/archives/exclusive_launch_of_powerlabs.php">Read/WriteWeb</a>&rsquo;s Phil Butler, who performed a full write-up on pretty much everything that is known so far.&nbsp; &ldquo;The big news today is that &lsquo;it is on it&rsquo;s way,&rsquo;&rdquo; he states.</p>
<p>Of course, Powerset has yet to publicly mention a launch date, but would-be users can at least sign up for Powerlabs.&nbsp; Like other companies&rsquo; labs, this should let people get a glimpse of the technology, try it out, and give feedback, as well.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/powerset-makes-powerful-impressions-2007-06/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Analytics News</title>
		<link>http://www.webpronews.com/web-analytics-news-2007-05</link>
		<comments>http://www.webpronews.com/web-analytics-news-2007-05#comments</comments>
		<pubDate>Tue, 22 May 2007 18:52:33 +0000</pubDate>
		<dc:creator>Manoj Jasra</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[enterprise]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Pages]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web analytics]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=37875</guid>
		<description><![CDATA[<p>Up here in British Columbia, Canada we are wrapping up a well deserved long weekend. To start this short work week I'd like to give a shout out to all the excellent web analytics related articles/posts from last week.</p>
]]></description>
			<content:encoded><![CDATA[<p>Up here in British Columbia, Canada we are wrapping up a well deserved long weekend. To start this short work week I&#8217;d like to give a shout out to all the excellent web analytics related articles/posts from last week.</p>
<p><span id="more-37875"></span></p>
<ul>
<li>Jason Burby releases: Actionable Web Analytics: Using Data to Make Smart Business Decisions: Buy it at <a href="http://www.amazon.com/gp/product/0470124741?ie=UTF8&amp;tag=imilapcom-20&amp;linkCode=as2&amp;camp=1789&amp;amp;amp;creative=9325&amp;creativeASIN=0470124741">Amazon</a></li>
<p></p>
<li>Dennis R. Mortensen of IndexTools discusses how to <a class="title-link" href="http://visualrevenue.com/blog/2007/05/use-web-analytics-to-determine-width-of.html">Use Web Analytics to determine the width of your Internal Search Query box </a></li>
<p></p>
<li>Avinash of Google Analytics&#8217; provides his insightful advice: <a title="Permanent Link: Excellent Analytics Tip #11: Measure Effectiveness Of Your Web Pages" href="http://www.kaushik.net/avinash/2007/05/excellent-analytics-tip-11-measure-effectiveness-of-your-web-pages.html" rel="bookmark">Excellent Analytics Tip #11: Measure Effectiveness Of Your Web Pages</a></li>
<p></p>
<li>Judah at Web Analytics Demystified explains why <a href="http://judah.webanalyticsdemystified.com/2007/05/part-i-the-preface-to-google-analytics-v2-is-awesome-but-still-falls-short-for-my-complex-enterprise-needs.html">Google Analytics is still not enterprise level ready</a>.</li>
<p></p>
<li>Juan Damia discusses the <a title="Permanent Link to Comparison of churn rates" href="http://www.damia.com.ar/consumer-behavior/comparison-of-churn-rates-2/" rel="bookmark">Comparison of churn rates</a> (the rate of attrition, over a period of time, that subscriber-based customers unsubscribe)</li>
<p></p>
<li>Read about <a href="http://www.webmetricsguru.com/2007/05/analytics_as_datamining_is_goi.html">Analytics as Data-Mining is going Mainstream &#8211; New York Times</a> posted by Marshall Sponder</li>
<p></p>
<li>Anil Batra: <a href="http://webanalysis.blogspot.com/2007/05/web-analyst-interview-daniel-shields.html">Web Analyst Interview: Daniel Shields</a></li>
</ul>
<p><a title="Comment on web analytics" href="http://www.blogger.com/comment.g?blogID=10729808&amp;postID=5299052886399314675">Comments</a></p>
<p>Tag: </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/web-analytics-news-2007-05/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET: Working with Query Strings</title>
		<link>http://www.webpronews.com/aspnet-working-with-query-strings-2007-01</link>
		<comments>http://www.webpronews.com/aspnet-working-with-query-strings-2007-01#comments</comments>
		<pubDate>Tue, 30 Jan 2007 14:18:10 +0000</pubDate>
		<dc:creator>Mads Kristensen</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[Delicious]]></category>
		<category><![CDATA[Digg]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[Reddit]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=34877</guid>
		<description><![CDATA[In many cases we write our ASP.NET logic around query strings in order to show the right product page or what not.
]]></description>
			<content:encoded><![CDATA[<p>In many cases we write our ASP.NET logic around query strings in order to show the right product page or what not.</p>
<p>The first thing we do is to check if the query string exists in the first place before we start using it. It could look like this:</p>
<p><code>if (Request.QueryString["id"] != null)<br />
{<br />
&nbsp;  // Do something with the querystring<br />
}</code></p>
<p>The only problem with the above check to see if the query string is null, is that we don&#8217;t take into consideration if the query string is filled or not. </p>
<p>That could lead to unhandled exceptions in the code. Instead we should check for query strings like this:</p>
<p><code>if (!String.IsNullOrEmpty(Request.QueryString["id"]))<br />
{<br />
&nbsp;  // Do something with the querystring<br />
}</code></p>
<p>Then there is the data type of the query string.</p>
<p>Our code might need an integer of 5 digits to get the right information from the database, so if we pass it a string we could end up with a data type mismatch exception. </p>
<p>So we do the check again more thoroughly:</p>
<p><code>if (!String.IsNullOrEmpty(Request.QueryString["id"]) &#038;&#038; Request.QueryString["id"].Length == 5)<br />
{<br />
&nbsp;  // Do something with the querystring<br />
}</code></p>
<p>Now we know that we get a query string suitable for further processing. </p>
<p>You can then do more precise data type checks using the TryParse method of most value types or by some other logic. </p>
<p><a href="http://www.madskristensen.dk/blog/CommentView,guid,f5e5799e-0afa-4e62-b0b6-f3caee3c1b1a.aspx" class="bluelink">Comments</a></p>
<p>Tag:   </p>
<p>Add to <a href="http://del.icio.us/post"    onclick="window.open('http://del.icio.us/post?v=4&#038;partner=wpn&#038;noui&#038;jump=close&#038;url='+encodeURIComponent(location.href)+'&#038;title='+encodeURIComponent(document.t  itle),'delicious','toolbar=no,width=700,height=400'); return false;"   CLASS="printMailTop"><img src="http://images.ientrymail.com/webpronews/delicious-pic.png" border=0> Del.icio.us</a> | <a href="javascript:void   window.open('http://digg.com/submit?phase=2&#038;url='+encodeURIComponent(window.   location.href)+'&#038;ei=UTF-8','popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)"><img   src="http://images.ientrymail.com/webpronews/digg-pic.png" border=0> Digg</a> | <a href="javascript:location.href='http://reddit.com/submit?url='+encodeURIComponent(location.href)+'&#038;title='+encodeURIComponent(document.title)"><img  src="http://images.ientrymail.com/webpronews/reddit.png" border=0>Reddit</a> | <a href="javascript:location.href='http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(document.location.href)+'&#038;t='+encodeURIComponent(document.title)+ '   '"><img src="http://images.ientrymail.com/webpronews/furl-pic.png" border=0> Furl</a> </p>
<p> Bookmark WebProNews: <a href="http://www.webpronews.com"><img src="http://images.ientrymail.com/webpronews/wpn-readit.jpg" border=0></a></p>
<p>Mads Kristensen currently works as a Senior Developer at Traceworks located<br />
in Copenhagen, Denmark. Mads graduated from Copenhagen Technical Academy with a multimedia degree in<br />
2003, but has been a professional developer since 2000. His main focus is on ASP.NET but is responsible for Winforms, Windows- and<br />
web services in his daily work as well. A true .NET developer with great passion for the simple solution.</p>
<p>http://www.madskristensen.dk/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/aspnet-working-with-query-strings-2007-01/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ASP.NET: HttpModule for Query String Encryption</title>
		<link>http://www.webpronews.com/aspnet-httpmodule-for-query-string-encryption-2007-01</link>
		<comments>http://www.webpronews.com/aspnet-httpmodule-for-query-string-encryption-2007-01#comments</comments>
		<pubDate>Thu, 25 Jan 2007 16:44:01 +0000</pubDate>
		<dc:creator>Mads Kristensen</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Encryption]]></category>
		<category><![CDATA[HttpModule]]></category>
		<category><![CDATA[query]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=34763</guid>
		<description><![CDATA[URL parameters or query strings are often used to carry information that can be used by hackers to do identity theft or other unpleasant things.
]]></description>
			<content:encoded><![CDATA[<p>URL parameters or query strings are often used to carry information that can be used by hackers to do identity theft or other unpleasant things.</p>
<p>Consider the URL <i>example.com/?user=123&#038;account=456</i> and then imaging what a hacker could do with it. Security or not, sometimes you just don&#8217;t want the visitors to see all the query strings for whatever reason. </p>
<p>In those cases it would be nice if we could encrypt the entire query string so it wouldn&#8217;t carry any readable information. The problem with one big encrypted query string is that we would break all the code that referenced the query. Code like Request.QueryString["user"] would no longer work, but as usual ASP.NET has the answer to that problem. </p>
<p>What we need is an HttpModule that can turn the encrypted query string into a normal readable one, so that we can still use our old logic like Request.QueryString["user"]. In other words, we want the user to see this </p>
<p><b><code>?enc=VXzal017xHwKKPolDWQJoLACDqQ0fE//wGkgvRTdG/GgXIBDd1 </code></b></p>
<p>while your code sees this </p>
<p><b><code>?user=123&#038;account=456.</code></b></p>
<p><b>The HttpModule</b></p>
<p>The module we need for this task must be able to do a few simple things. It must be able to encrypt the regular query string so that all your current links will automatically be encrypted. It must also be able to decrypt it again so that you can write the code as you normally would. It must also provide a method for encrypting a regular query string if you don&#8217;t want to use automatic encryption.</p>
<p>The most important feature of the module is to make it totally plug &#8216;n play. You should be able to apply the module to any existing website and automatically have query string encryption and decryption without changing any of your code. </p>
<p><b>Implementation</b></p>
<p>Download the QueryStringModule.cs below and put it in the App_Code folder of your website. Then add the following lines to the web.config&#8217;s <system.web> section:</p>
<p><code>&lt;httpModules&gt;</p>
<p>&nbsp;&nbsp;  &lt;add type="QueryStringModule" name="QueryStringModule"/&gt;</p>
<p>&lt;/httpModules&gt;</code></p>
<p>Because automatic encryption is not always desirable the module has a comment that tells you how to turn it off. The module is well commented and should be easy to modify for any ASP.NET developer.</p>
<p><b>Example</b></p>
<p>You can encrypt query strings by using the Encrypt() method of the module from any web page or user control. </p>
<p><code>string query = QueryStringModule.Encrypt("user=123&#038;account=456");</code></p>
<p>Then just add the encrypted query string to the links that need encryption. You don&#8217;t need to use the method if you use automatic encryption.</p>
<p><b>Download</b></p>
<p><a href="http://www.madskristensen.dk/blog/ct.ashx?id=a6a478df-245a-4cd8-a3cc-80bb8c9c8004&#038;url=http%3a%2f%2fwww.madskristensen.dk%2fblog%2fcontent%2fbinary%2fQueryStringModule.zip" class="bluelink">QueryStringModule.zip (1,55 KB)</a></p>
<p><a href="http://www.madskristensen.dk/blog/CommentView,guid,a6a478df-245a-4cd8-a3cc-80bb8c9c8004.aspx" class="bluelink">Comments</a></p>
<p>Tag:   </p>
<p><a href="javascript:location.href='http://reddit.com/submit?url='+encodeURIComponent(location.href)+'&#038;title='+encodeURIComponent(document.title)"><img  src="http://images.ientrymail.com/webpronews/reddit.png" border=0>Reddit</a> | <a href="javascript:location.href='http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(document.location.href)+'&#038;t='+encodeURIComponent(document.title)+ '   '"><img src="http://images.ientrymail.com/webpronews/furl-pic.png" border=0> Furl</a> </p>
<p> Bookmark WebProNews: <a href="http://www.webpronews.com"><img src="http://images.ientrymail.com/webpronews/wpn-readit.jpg" border=0></a></p>
<p>Mads Kristensen currently works as a Senior Developer at Traceworks located<br />
in Copenhagen, Denmark. Mads graduated from Copenhagen Technical Academy with a multimedia degree in<br />
2003, but has been a professional developer since 2000. His main focus is on ASP.NET but is responsible for Winforms, Windows- and<br />
web services in his daily work as well. A true .NET developer with great passion for the simple solution.</p>
<p>http://www.madskristensen.dk/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/aspnet-httpmodule-for-query-string-encryption-2007-01/feed</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>MSN adCenter Showcases New SEM Offerings</title>
		<link>http://www.webpronews.com/msn-adcenter-showcases-new-sem-offerings-2007-01</link>
		<comments>http://www.webpronews.com/msn-adcenter-showcases-new-sem-offerings-2007-01#comments</comments>
		<pubDate>Fri, 19 Jan 2007 17:09:36 +0000</pubDate>
		<dc:creator>WebProNews Staff</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[AdCenter]]></category>
		<category><![CDATA[Commercial]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[Keyword]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MSN]]></category>
		<category><![CDATA[Platform]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[SEM]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=34584</guid>
		<description><![CDATA[In the face of recurrent search losses, this week Microsoft showed off what its much-touted adCenter Labs has been working on. At Demo Fest in Redmond, Mr. Softie showcased what the company called "breakthrough digital tools" focused on improving keyword and content technologies, ad selection and relevance, audience intelligence, social networking, video, platforms, and devices.
]]></description>
			<content:encoded><![CDATA[<p>In the face of recurrent search losses, this week Microsoft showed off what its much-touted adCenter Labs has been working on. At Demo Fest in Redmond, Mr. Softie showcased what the company called &#8220;breakthrough digital tools&#8221; focused on improving keyword and content technologies, ad selection and relevance, audience intelligence, social networking, video, platforms, and devices.</p>
<p>In all, 60 new technologies were unveiled at Demo Fest. But the really buzzworthy ones, if the hype swirling out of Redmond like a great big smug cloud is to be believed, have to do with search (and video, to be addressed later). Here&#8217;s a breakdown of the adCenter tools Microsoft wants you to know about. </p>
<p><b><a href="http://adlab.microsoft.com/KTS/KCAT.aspx" class="bluelink">Keyword Services Platform</a></b></p>
<p>A set of Web service APIs for building intelligent applications for online advertising, including keyword recommendation, forecasting, categorization, and monetization. The KSP is intended to help third-party search engine marketers build their campaigns. </p>
<p><b><a href="http://adlab.microsoft.com/OCI/OCI.aspx" class="bluelink">Commercial Intent Detection</a></b></p>
<p>Keyword analysis that differentiates between buying consumers and researching consumers. The CID algorithm compares search queries with terms most often used by online shoppers versus terms used by those just looking. The tool generates a score that estimates likelihood to buy. </p>
<p>For example, Microsoft says the term &#8220;LCD monitor&#8221; carries commercial intention of 0.74 out of a possible 1.0 </p>
<p><b><a href="http://adlab.microsoft.com/sensitive" class="bluelink">Sensitive Content Detection</a></b></p>
<p>A technology that determines whether a Webpage contains potentially objectionable content like pornography, crime, or terrorism. Automatic identification of such material can allow advertisers to avoid their messages being associated with it. Microsoft says it can also help the user experience by warning searchers about content in the SERPs. </p>
<p><b><a href="http://adlab.microsoft.com/adev_demo" class="bluelink">Query Entity Detection</a></b></p>
<p>A smart technology said to understand multiword queries and word pairings. &#8220;Real estate agent,&#8221; for example, is different than &#8220;real estate.&#8221; </p>
<p><b>Contextual Advertising</b></p>
<p>What Microsoft calls &#8220;a new paradigm,&#8221; isn&#8217;t that new and is what all the major competitors are shooting for (perhaps like many of these unveiled offerings). AdCenter Lab&#8217;s categorization technology is expected to simplify the work of online advertisers by grouping queries into concepts rather than keywords. </p>
<p>Tag: </p>
<p>Add to <a href=http://del.icio.us/post onclick="window.open('http://del.icio.us/post?v=4&#038;partner=wpn&#038;noui&#038;jump=close&#038;url='+encodeURIComponent(location.href)+'&#038;title='+encodeURIComponent(document.title),'delicious','toolbar=no,width=700,height=400'); return false;" CLASS="printMailTop"><img src="http://images.ientrymail.com/webpronews/delicious-pic.png" border="0"> Del.icio.us</a> | <a href="javascript:void window.open('http://digg.com/submit?phase=2&#038;url='+encodeURIComponent(window. location.href)+'&#038;ei=UTF-8','popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)"><img src="http://images.ientrymail.com/webpronews/digg-pic.png" border="0"> Digg</a> | <a href="javascript:location.href='http://reddit.com/submit?url='+encodeURIComponent(location.href)+'&#038;title='+encodeURIComponent(document.title)"><img src="http://images.ientrymail.com/webpronews/reddit.png" border="0">Reddit</a> | <a href="javascript:location.href='http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(document.location.href)+'&#038;t='+encodeURIComponent(document.title)+ ' '"><img src="http://images.ientrymail.com/webpronews/furl-pic.png" border="0"> Furl</a></p>
<p>Bookmark WebProNews: <a href=http://www.webpronews.com><img src=http://images.ientrymail.com/webpronews/wpn-readit.jpg border=0></a> </p>
<p><script language=JavaScript src="http://aj.600z.com/aj/1095/0/vj?z=1&#038;dim=1088&#038;pos=15"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/msn-adcenter-showcases-new-sem-offerings-2007-01/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Parsing XML As Query Object In Coldfusion</title>
		<link>http://www.webpronews.com/parsing-xml-as-query-object-in-coldfusion-2007-01</link>
		<comments>http://www.webpronews.com/parsing-xml-as-query-object-in-coldfusion-2007-01#comments</comments>
		<pubDate>Wed, 17 Jan 2007 15:23:32 +0000</pubDate>
		<dc:creator>Ben Cortese</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Phone]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=34492</guid>
		<description><![CDATA[I work in the financial industry as a developer and not that the financial industry has any greater implementation of XML than any other, but web applications that utilize back office processing for loan applications, or new account opening processes, or retail internet banking applications all to some extent make calls to a host. Many times it's a DB2 database, and many times some other process that returns account information or validation information in xml format.
]]></description>
			<content:encoded><![CDATA[<p>I work in the financial industry as a developer and not that the financial industry has any greater implementation of XML than any other, but web applications that utilize back office processing for loan applications, or new account opening processes, or retail internet banking applications all to some extent make calls to a host. Many times it&#8217;s a DB2 database, and many times some other process that returns account information or validation information in xml format.</p>
<p>One of the fun things that I found working in ColdFusion is the many ways you can manipulate xml data. I&#8217;m certain this type of process isn&#8217;t exclusive to ColdFusion, but I wanted to put it out there anyway. Many developers have a little apprehension about working with new technologies at first, or trying something that hasn&#8217;t been already tried and true and of course documented heavily. And frankly it&#8217;s hard to find the extra time with a heavy work load and deadlines to meet to go off experimenting But I managed to put aside some time to look at parsing XML into an object that developers are all familiar with, the Query object. As a developer, writing SQL is common place, so I figured maybe looking at a hybrid approach to XML and SQL in ColdFusion, might prove to offer some benefit.   </p>
<p>So I&#8217;ll show an example of reading in a Phonebook xml document. It will look like this: You can copy this and save it off as phonebook.xml if you like.   </p>
<p><code>&lt;?xml version="1.0"?&gt;<br />
&lt;phonebook&gt;<br />
&lt;contact category="friend"&gt;<br />
&lt;firstName&gt;John&lt;/firstName&gt;<br />
&lt;lastName&gt;Smith&lt;/lastName&gt;<br />
&lt;phone&gt;412-555-1212&lt;/phone&gt;<br />
&lt;email&gt;johnsmith@email.com&lt;/email&gt;<br />
&lt;/contact&gt;<br />
&lt;contact category="friend"&gt;<br />
&lt;firstName&gt;Jane&lt;/firstName&gt;<br />
&lt;lastName&gt;Smith&lt;/lastName&gt;<br />
&lt;phone&gt;412-555-1212&lt;/phone&gt;<br />
&lt;email&gt;janesmith@email.com&lt;/email&gt;<br />
&lt;/contact&gt;<br />
&lt;contact category="enemy"&gt;<br />
&lt;firstName&gt;Bob&lt;/firstName&gt;<br />
&lt;lastName&gt;Jones&lt;/lastName&gt;<br />
&lt;phone&gt;412-555-1213&lt;/phone&gt;<br />
&lt;email&gt;bob-jones@mailserver.com&lt;/email&gt;<br />
&lt;/contact&gt;<br />
&lt;contact category="co-worker"&gt;<br />
&lt;firstName&gt;Bill&lt;/firstName&gt;<br />
&lt;lastName&gt;Johnson&lt;/lastName&gt;<br />
&lt;phone&gt;412-555-1214&lt;/phone&gt;<br />
&lt;email&gt;bill.johnson@someserver.com&lt;/email&gt;<br />
&lt;/contact&gt;<br />
&lt;contact category="friend"&gt;<br />
&lt;firstName&gt;Jack&lt;/firstName&gt;<br />
&lt;lastName&gt;Robinson&lt;/lastName&gt;<br />
&lt;phone&gt;412-555-1215&lt;/phone&gt;<br />
&lt;email&gt;www.jackrobinson.com&lt;/email&gt;<br />
&lt;/contact&gt;<br />
&lt;/phonebook&gt; </code></p>
<p>Reading in the xml is short and sweet simply by using this little block of code. </p>
<p><code>&lt;cfhttp<br />
url="http://www.mywebsite.com/myxmldocs/phonebook.xml"<br />
method="GET" resolveurl="No" &gt;&lt;/cfhttp&gt;<br />
&lt;cfset mydoc = XmlParse(CFHTTP.FileContent)&gt; </code></p>
<p>Now you&#8217;ve got the xml object in a defined variable name called &#8220;mydoc&#8221;. </p>
<p>Next you set a variable to contain the child element nodes of the xml document and do the same to define the size of the document, which you will see in a bit as to what it&#8217;s used for.</p>
<p><code>&lt;cfset pb = http://mydoc.phonebook.XmlChildren&gt;<br />
&lt;cfset size = ArrayLen(pb)&gt; </code></p>
<p>Now create a query object with the phonebook data. As you can see we already know what the node properties and names are to create the myquery object containing the xml &#8220;column names&#8221;. I say column names to relate the data to a structure like a database. </p>
<p><code>&lt;cfset myquery = QueryNew("cat, firstName, lastName, phone, email")&gt; </code></p>
<p>Now that we have the &#8220;Columns&#8221; of the query object, we use the Size object to give us the parameters to define the Rows like this. </p>
<p><code>&lt;cfset temp = QueryAddRow(myquery, #size#)&gt; </code></p>
<p>Now you&#8217;ve established a Query Object &#8216;temp&#8217;. </p>
<p>Now comes the part where you fill the Query Object with the data from the XML document. Loop through every &#8220;row&#8221; in the object adding its value from the xml object like an array. </p>
<p><code>&lt;cfloop index="i" from = "1" to = #size#&gt;<br />
&lt;cfset temp = QuerySetCell(myquery, "cat",<br />
#mydoc.phonebook.contact[i].XMLAttributes['category']#, #i#)&gt;<br />
&lt;cfset temp = QuerySetCell(myquery, "firstName",<br />
#mydoc.phonebook.contact[i].firstName.XmlText#, #i#)&gt;<br />
&lt;cfset temp = QuerySetCell(myquery, "lastName",<br />
#mydoc.phonebook.contact[i].lastName.XmlText#, #i#)&gt;<br />
&lt;cfset temp = QuerySetCell(myquery, "phone",<br />
#mydoc.phonebook.contact[i].phone.XmlText#, #i#)&gt;<br />
&lt;cfset temp = QuerySetCell(myquery, "email",<br />
#mydoc.phonebook.contact[i].email.XmlText#, #i#)&gt;<br />
&lt;/cfloop&gt; </code></p>
<p>Essentially what you&#8217;ve just done is take the xml and turn it into the same type of data structure you would have when you query a database.    </p>
<p>The rest should look familiar to many ColdFusion developers who use ColdFusion Components which is a great practice.    </p>
<p>Call the query function using the CFINVOKE. This particular function is if you were to sort the phonebook individuals by last name. </p>
<p><code>&lt;cfinvoke component="pbook_meths" method="sortLName"<br />
returnVariable="Result"&gt;<br />
&lt;cfinvokeargument name="q_obj" value="#myquery#"&gt;<br />
&lt;/cfinvoke&gt; </code></p>
<p>The output of the result from the function would be no different than that of a normal SQL query. </p>
<p><code>&lt;table border=1 width=500 align=center&gt;<br />
&lt;th&gt;category&lt;/th&gt;&lt;th&gt;fist name&lt;/th&gt;&lt;th&gt;last<br />
name&lt;/th&gt;&lt;th&gt;phone&lt;/th&gt;&lt;th&gt;email&lt;/th&gt;<br />
&lt;cfoutput query="Result"&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;#cat#&lt;/td&gt;&lt;td&gt;#firstName#&lt;/td&gt;<br />
&lt;td&gt;#lastName#&lt;/td&gt; &lt;td&gt;#phone#&lt;/td&gt;<br />
&lt;td&gt;#email#&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/cfoutput&gt;<br />
&lt;/table&gt; </code> </p>
<p>The function being called would be stored in its own file as components are in ColdFusion and would look like this. </p>
<p><code>&lt;cffunction name="sortLName" access="remote"<br />
returnType="query"&gt; </p>
<p>&lt;cfargument name="q_obj" required="Yes" &gt; </p>
<p>&lt;cftry&gt; </p>
<p>&lt;cfquery name="pbTest" dbType="query"&gt;<br />
SELECT *<br />
FROM arguments.q_obj<br />
order by lastName,cat<br />
&lt;/cfquery&gt; </p>
<p>&lt;cfcatch type="Any"&gt; </p>
<p>&lt;P&gt;&lt;cfoutput&gt;#cfcatch.message#&lt;/cfoutput&gt;&lt;/P&gt; </p>
<p>&lt;/cfcatch&gt; </p>
<p>&lt;/cftry&gt; </p>
<p>&lt;cfreturn pbTest&gt; </p>
<p>&lt;/cffunction&gt; </code> </p>
<p>Your component can contain numerous functions manipulating the xml query object just the same as you would a normal query from a database. You don&#8217;t have the power that a relational database offers of course, but if you&#8217;re comfortable writing SQL, you may find yourself hitting the ground running with working with xml in ColdFusion. </p>
<p>Thanks and Happy Coding.</p>
<p>Tag:   </p>
<p>Add to <a href="http://del.icio.us/post"onclick="window.open('http://del.icio.us/post?v=4&#038;partner=wpn&#038;noui&#038;jump=close&#038;url='+encodeURIComponent(location.href)+'&#038;title='+encodeURIComponent(document.t  itle),'delicious','toolbar=no,width=700,height=400'); return false;"   CLASS="printMailTop"><img src="http://images.ientrymail.com/webpronews/delicious-pic.png" border=0> Del.icio.us</a> | <a href="javascript:void   window.open('http://digg.com/submit?phase=2&#038;url='+encodeURIComponent(window.   location.href)+'&#038;ei=UTF-8','popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)"><img   src="http://images.ientrymail.com/webpronews/digg-pic.png" border=0> Digg</a> | <a href="javascript:location.href='http://reddit.com/submit?url='+encodeURIComponent(location.href)+'&#038;title='+encodeURIComponent(document.title)"><img  src="http://images.ientrymail.com/webpronews/reddit.png" border=0>Reddit</a> | <a href="javascript:location.href='http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(document.location.href)+'&#038;t='+encodeURIComponent(document.title)+ '   '"><img src="http://images.ientrymail.com/webpronews/furl-pic.png" border=0> Furl</a> </p>
<p> Bookmark WebProNews: <a href="http://www.webpronews.com"><img src="http://images.ientrymail.com/webpronews/wpn-readit.jpg" border=0></a></p>
<p>Ben Cortese is a developer and business<br />
analyst for the financial industry and develops affiliate<br />
powered websites. http://www.inetsite.net Copyright 2007.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/parsing-xml-as-query-object-in-coldfusion-2007-01/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 1/47 queries in 0.028 seconds using memcached
Object Caching 706/819 objects using memcached

Served from: webpronews.com @ 2012-02-12 12:23:08 -->
