<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for Yet another blog about PHP, HTML and CSS</title>
	
	<link>http://blog.pepa.info</link>
	<description>Petr 'PePa' Pavel</description>
	<pubDate>Thu, 16 Jul 2009 09:42:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/CommentsForYetAnotherBlogAboutPhpHtmlAndCss" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Comment on SQL functions or keywords in CakePHP conditions by Rubens Mariuzzo</title>
		<link>http://feedproxy.google.com/~r/CommentsForYetAnotherBlogAboutPhpHtmlAndCss/~3/uGTHpFBFB-g/</link>
		<dc:creator>Rubens Mariuzzo</dc:creator>
		<pubDate>Fri, 29 May 2009 05:25:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pepa.info/?p=84#comment-3015</guid>
		<description>Thanks a lot it save me some extra hours. Thanks.</description>
		<content:encoded><![CDATA[<p>Thanks a lot it save me some extra hours. Thanks.</p>
]]></content:encoded>
	<feedburner:origLink>http://blog.pepa.info/php-html-css/cakephp/sql-functions-or-keywords-in-cakephp-conditions/#comment-3015</feedburner:origLink></item>
	<item>
		<title>Comment on Absolute positioning in HTML e-mails for Outlook 2007 by ciccio</title>
		<link>http://feedproxy.google.com/~r/CommentsForYetAnotherBlogAboutPhpHtmlAndCss/~3/qiAPQ1gPNAQ/</link>
		<dc:creator>ciccio</dc:creator>
		<pubDate>Thu, 12 Feb 2009 01:23:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pepa.info/?p=21#comment-2261</guid>
		<description>Sorry for being unpolite.
And I had really appreciated the way you answered to my comment.
But I arrived here searching for “&lt;div v:shape=” because I have to deal with a customer which has about 20000 xml docs containg html parts.
The docs are contained in a database of a product that has to be migrated.
I wrote a software that, among the others, extract the xml from the db blobs, transform some xml nodes and extract some html parts to build a html document, as a part of the migration project.
While I'm writing it, I was doing some tests against a number of documents as xml parsing and transformation is time and resource consuming, and all went ok.
Now that the sw is 99.9% done, I've tested it against a broader set of documents and it's failing because of that v:shape attribute.
Now I have to choose among:
- add the xmlns to all the documents, whether they have the attr or not (little effort, not elegant)
- navigate all the nodes and check all the attributes, sanitizing them or adding the xmlns if necessary (middle effort, time and resource consuming)
- implement my own transformer (high effort)
- ?
AFAIK, all the solutions require time and you know time==money/life.
That's way I'm unhappy.</description>
		<content:encoded><![CDATA[<p>Sorry for being unpolite.<br />
And I had really appreciated the way you answered to my comment.<br />
But I arrived here searching for “&lt;div v:shape=” because I have to deal with a customer which has about 20000 xml docs containg html parts.<br />
The docs are contained in a database of a product that has to be migrated.<br />
I wrote a software that, among the others, extract the xml from the db blobs, transform some xml nodes and extract some html parts to build a html document, as a part of the migration project.<br />
While I&#8217;m writing it, I was doing some tests against a number of documents as xml parsing and transformation is time and resource consuming, and all went ok.<br />
Now that the sw is 99.9% done, I&#8217;ve tested it against a broader set of documents and it&#8217;s failing because of that v:shape attribute.<br />
Now I have to choose among:<br />
- add the xmlns to all the documents, whether they have the attr or not (little effort, not elegant)<br />
- navigate all the nodes and check all the attributes, sanitizing them or adding the xmlns if necessary (middle effort, time and resource consuming)<br />
- implement my own transformer (high effort)<br />
- ?<br />
AFAIK, all the solutions require time and you know time==money/life.<br />
That&#8217;s way I&#8217;m unhappy.</p>
]]></content:encoded>
	<feedburner:origLink>http://blog.pepa.info/php-html-css/html-e-mail/absolute-positioning-outlook-2007/#comment-2261</feedburner:origLink></item>
	<item>
		<title>Comment on Absolute positioning in HTML e-mails for Outlook 2007 by Petr 'PePa' Pavel</title>
		<link>http://feedproxy.google.com/~r/CommentsForYetAnotherBlogAboutPhpHtmlAndCss/~3/zDRwWcvfW78/</link>
		<dc:creator>Petr 'PePa' Pavel</dc:creator>
		<pubDate>Wed, 11 Feb 2009 07:02:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pepa.info/?p=21#comment-2246</guid>
		<description>I despise this MS-only stuff as much as you do but by closing my eyes I won't make it go away. So if a client specifically requests he wants his e-mail thing to show well in Outlook 2007 I just take a deep breath and do it. That's just life I guess.</description>
		<content:encoded><![CDATA[<p>I despise this MS-only stuff as much as you do but by closing my eyes I won&#8217;t make it go away. So if a client specifically requests he wants his e-mail thing to show well in Outlook 2007 I just take a deep breath and do it. That&#8217;s just life I guess.</p>
]]></content:encoded>
	<feedburner:origLink>http://blog.pepa.info/php-html-css/html-e-mail/absolute-positioning-outlook-2007/#comment-2246</feedburner:origLink></item>
	<item>
		<title>Comment on Absolute positioning in HTML e-mails for Outlook 2007 by ciccio</title>
		<link>http://feedproxy.google.com/~r/CommentsForYetAnotherBlogAboutPhpHtmlAndCss/~3/8H7P0q_IrvE/</link>
		<dc:creator>ciccio</dc:creator>
		<pubDate>Wed, 11 Feb 2009 01:14:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pepa.info/?p=21#comment-2245</guid>
		<description>Interesting...
"&lt;div v:shape="...

Please, stop publishing that crap on the web.</description>
		<content:encoded><![CDATA[<p>Interesting&#8230;<br />
&#8220;&lt;div v:shape=&#8221;&#8230;</p>
<p>Please, stop publishing that crap on the web.</p>
]]></content:encoded>
	<feedburner:origLink>http://blog.pepa.info/php-html-css/html-e-mail/absolute-positioning-outlook-2007/#comment-2245</feedburner:origLink></item>
	<item>
		<title>Comment on Populating a SELECT box with distinct values by Petr 'PePa' Pavel</title>
		<link>http://feedproxy.google.com/~r/CommentsForYetAnotherBlogAboutPhpHtmlAndCss/~3/CoJwuzh3468/</link>
		<dc:creator>Petr 'PePa' Pavel</dc:creator>
		<pubDate>Fri, 16 Jan 2009 12:03:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pepa.info/?p=90#comment-2024</guid>
		<description>Hi Steve, that's weird that you're getting an error. 
I'm using CakePHP 1.2.0.7692 RC3 and my real code differs from the example I have given in my post only in that I specify additional options like "order" and "recursive" for the find() call.

My best guess is that your find call doesn't return a valid search result array (e.g. because of a typo in a field name), or you changed the variable name that holds it but forgot to change it later in the combine call as well. I create this kind of errors all the time.

Petr</description>
		<content:encoded><![CDATA[<p>Hi Steve, that&#8217;s weird that you&#8217;re getting an error.<br />
I&#8217;m using CakePHP 1.2.0.7692 RC3 and my real code differs from the example I have given in my post only in that I specify additional options like &#8220;order&#8221; and &#8220;recursive&#8221; for the find() call.</p>
<p>My best guess is that your find call doesn&#8217;t return a valid search result array (e.g. because of a typo in a field name), or you changed the variable name that holds it but forgot to change it later in the combine call as well. I create this kind of errors all the time.</p>
<p>Petr</p>
]]></content:encoded>
	<feedburner:origLink>http://blog.pepa.info/php-html-css/cakephp/populating-a-select-box-with-distinct-values/#comment-2024</feedburner:origLink></item>
	<item>
		<title>Comment on Populating a SELECT box with distinct values by SteveH</title>
		<link>http://feedproxy.google.com/~r/CommentsForYetAnotherBlogAboutPhpHtmlAndCss/~3/k6scRIcMRQM/</link>
		<dc:creator>SteveH</dc:creator>
		<pubDate>Fri, 16 Jan 2009 03:54:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pepa.info/?p=90#comment-2022</guid>
		<description>Ok,

I'm still perplexed with simply populating a SELECT box with distinct values from a table column.

Something like:

$this-&gt;set('citylist', $this-&gt;Zldinput-&gt;find('list', array('fields'=&gt;'Zldinput.City', 'group'=&gt;'Zldinput.City')));

gets me close, but as you mention  my array has elements of the id and City thus my SELECT gets

BOSTON

where I want the ......value="BOSTON"&gt;BOSTON.

your solution is close but combine throws an error on $events

Cheers, Steve</description>
		<content:encoded><![CDATA[<p>Ok,</p>
<p>I&#8217;m still perplexed with simply populating a SELECT box with distinct values from a table column.</p>
<p>Something like:</p>
<p>$this-&gt;set(&#8217;citylist&#8217;, $this-&gt;Zldinput-&gt;find(&#8217;list&#8217;, array(&#8217;fields&#8217;=&gt;&#8217;Zldinput.City&#8217;, &#8216;group&#8217;=&gt;&#8217;Zldinput.City&#8217;)));</p>
<p>gets me close, but as you mention  my array has elements of the id and City thus my SELECT gets</p>
<p>BOSTON</p>
<p>where I want the &#8230;&#8230;value=&#8221;BOSTON&#8221;&gt;BOSTON.</p>
<p>your solution is close but combine throws an error on $events</p>
<p>Cheers, Steve</p>
]]></content:encoded>
	<feedburner:origLink>http://blog.pepa.info/php-html-css/cakephp/populating-a-select-box-with-distinct-values/#comment-2022</feedburner:origLink></item>
	<item>
		<title>Comment on Absolute positioning in HTML e-mails for Outlook 2007 by Adrenalin</title>
		<link>http://feedproxy.google.com/~r/CommentsForYetAnotherBlogAboutPhpHtmlAndCss/~3/Zu7P9uEBChQ/</link>
		<dc:creator>Adrenalin</dc:creator>
		<pubDate>Fri, 21 Nov 2008 20:19:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pepa.info/?p=21#comment-1668</guid>
		<description>Oh my inexistant God! You really saved my day.

You know, after banging your head against Outlook 2007 for several hours, trying to Google my way to find out about the lack of backgrounds and then finally ending up in here, tired and frustrated, ready to resign... ;)

I thank you from the bottom of my heart for these advices.</description>
		<content:encoded><![CDATA[<p>Oh my inexistant God! You really saved my day.</p>
<p>You know, after banging your head against Outlook 2007 for several hours, trying to Google my way to find out about the lack of backgrounds and then finally ending up in here, tired and frustrated, ready to resign&#8230; ;)</p>
<p>I thank you from the bottom of my heart for these advices.</p>
]]></content:encoded>
	<feedburner:origLink>http://blog.pepa.info/php-html-css/html-e-mail/absolute-positioning-outlook-2007/#comment-1668</feedburner:origLink></item>
	<item>
		<title>Comment on processing IMAP folder on a regular basis by T.J. Crowder</title>
		<link>http://feedproxy.google.com/~r/CommentsForYetAnotherBlogAboutPhpHtmlAndCss/~3/I0STBIUvShY/</link>
		<dc:creator>T.J. Crowder</dc:creator>
		<pubDate>Thu, 17 Apr 2008 09:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pepa.info/php-html-css/uncategorized/processing-imap-folder-on-a-regular-basis/#comment-1281</guid>
		<description>Very good point about the sent date vs. the delivered date!

Regarding date formats, I wonder if many/most IMAP servers support the unambiguous ISO 8601 date format?  (http://en.wikipedia.org/wiki/ISO_8601)  To my mind, anyone creating software that has even a remote possibility of having to deal with multiple formats (and I'd say IMAP server software qualifies!) should always support ISO 8601 and use it internally...  Sadly, though, to the extent it's even covered by the RFC (http://www.faqs.org/rfcs/rfc3501.html) -- and why do we keep making the mistake of not defining these things?! -- it looks like they've done exactly the wrong thing and require DD-MM-YYYY (at least, that's how it looks to me in the Formal Syntax section, but I'm not an expert at ABNF)...

-- T.J. :-)</description>
		<content:encoded><![CDATA[<p>Very good point about the sent date vs. the delivered date!</p>
<p>Regarding date formats, I wonder if many/most IMAP servers support the unambiguous ISO 8601 date format?  (http://en.wikipedia.org/wiki/ISO_8601)  To my mind, anyone creating software that has even a remote possibility of having to deal with multiple formats (and I&#8217;d say IMAP server software qualifies!) should always support ISO 8601 and use it internally&#8230;  Sadly, though, to the extent it&#8217;s even covered by the RFC (http://www.faqs.org/rfcs/rfc3501.html) &#8212; and why do we keep making the mistake of not defining these things?! &#8212; it looks like they&#8217;ve done exactly the wrong thing and require DD-MM-YYYY (at least, that&#8217;s how it looks to me in the Formal Syntax section, but I&#8217;m not an expert at ABNF)&#8230;</p>
<p>&#8211; T.J. :-)</p>
]]></content:encoded>
	<feedburner:origLink>http://blog.pepa.info/php-html-css/imap/processing-imap-folder-on-a-regular-basis/#comment-1281</feedburner:origLink></item>
	<item>
		<title>Comment on A Conversation with Erich Gamma by Yet another blog about PHP » Blog Archive » A Conversation with Martin Fowler</title>
		<link>http://feedproxy.google.com/~r/CommentsForYetAnotherBlogAboutPhpHtmlAndCss/~3/smOEVg9ZLJk/</link>
		<dc:creator>Yet another blog about PHP » Blog Archive » A Conversation with Martin Fowler</dc:creator>
		<pubDate>Fri, 03 Nov 2006 18:27:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pepa.info/2006/11/design-techniques/a-conversation-with-erich-gamma/#comment-4</guid>
		<description>[...] Yet another blog about PHP Petr ‘PePa’ Pavel      « A Conversation with Erich Gamma [...]</description>
		<content:encoded><![CDATA[<p>[...] Yet another blog about PHP Petr &#8216;PePa&#8217; Pavel      &laquo; A Conversation with Erich Gamma [...]</p>
]]></content:encoded>
	<feedburner:origLink>http://blog.pepa.info/php-html-css/design-techniques/a-conversation-with-erich-gamma/#comment-4</feedburner:origLink></item>
	<item>
		<title>Comment on Refactoring: Improving the Design of Existing Code by Yet another blog about PHP » Blog Archive » A Conversation with Martin Fowler</title>
		<link>http://feedproxy.google.com/~r/CommentsForYetAnotherBlogAboutPhpHtmlAndCss/~3/cK8iDPc0Y5U/</link>
		<dc:creator>Yet another blog about PHP » Blog Archive » A Conversation with Martin Fowler</dc:creator>
		<pubDate>Fri, 03 Nov 2006 18:27:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pepa.info/2006/09/literature/refactoring-improving-the-design-of-existing-code/#comment-3</guid>
		<description>[...] Artima Software website seems to contain a lot of interesting materials on design. Here’s a list of links to all parts of interview with Martin Fowler. [...]</description>
		<content:encoded><![CDATA[<p>[...] Artima Software website seems to contain a lot of interesting materials on design. Here&#8217;s a list of links to all parts of interview with Martin Fowler. [...]</p>
]]></content:encoded>
	<feedburner:origLink>http://blog.pepa.info/php-html-css/literature/refactoring-improving-the-design-of-existing-code/#comment-3</feedburner:origLink></item>
</channel>
</rss>
