<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Dan Cameron - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-88f64d69" type="application/json"/><link>http://scattered.disqus.com/</link><description>wordpress enthusiest</description><language>en</language><lastBuildDate>Sun, 08 Nov 2009 01:46:47 -0000</lastBuildDate><item><title>Re: Oh my&amp;#8230; at Scattered</title><link>http://dancameron.org/general/oh-my#comment-22179662</link><description>Interesting post. I have made a twitter post about this. Hope others find it as interesting as I did.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">craigspva6</dc:creator><pubDate>Sun, 08 Nov 2009 01:46:47 -0000</pubDate></item><item><title>Re: http://dancameron.org/general/sync-safari-bookmarks-and-history-with-dropbox</title><link>http://dancameron.org/general/sync-safari-bookmarks-and-history-with-dropbox#comment-22060241</link><description>I think the ln -s command is backwards...  I get same message, but then I sounds like for Safari 4 there are better ways of doing it?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Saxon</dc:creator><pubDate>Fri, 06 Nov 2009 15:32:55 -0000</pubDate></item><item><title>Re: jailbreakme.com</title><link>http://dancameron.org/general/jailbreakmecom#comment-22027603</link><description>WTF THIS MESSES UP UR WARRENTY Y DONT U TELL US THAT U SON OF A BITCH</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">JOEY</dc:creator><pubDate>Fri, 06 Nov 2009 07:40:40 -0000</pubDate></item><item><title>Re: Display a loading image until the page completes loading</title><link>http://dancameron.org/code/display-a-loading-image-until-the-page-completes-loading#comment-21815090</link><description>Not to sound like a broken record, but if javascript is disabled then the image will show but never be hidden, in this case.&lt;br&gt;&lt;br&gt;How about (inside the first div) adding some inline javascript that writes the image tag you are putting in there (using document.write since the DOM may not be ready yet at that point in the page load)? &lt;br&gt;&lt;br&gt;That way the loading image will only show up when JS is enabled, and then of course you will be able to hide it as you've done here.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">twitter-14182745</dc:creator><pubDate>Tue, 03 Nov 2009 19:35:37 -0000</pubDate></item><item><title>Re: Splitting Content into Two Columns, e.g. Word Wrap with PHP or CSS + Javascript</title><link>http://dancameron.org/code/splitting-content-into-two-columns-e-g-word-wrap-with-php-or-css-javascript#comment-21123837</link><description>If you're only trying to get the shortcode interpreted, just call do_shortcode on the entirety of your content after you're finished doing whatever it is you want with it.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nick</dc:creator><pubDate>Tue, 27 Oct 2009 15:44:10 -0000</pubDate></item><item><title>Re: Splitting Content into Two Columns, e.g. Word Wrap with PHP or CSS + Javascript</title><link>http://dancameron.org/code/splitting-content-into-two-columns-e-g-word-wrap-with-php-or-css-javascript#comment-21118732</link><description>Hi Nick,&lt;br&gt;&lt;br&gt;The thing is in this way i am not flexible anymore, because i want to paste the gallery by the user in his post... and if he posted a gallery then i want to put this gallery on the right side... so do i have to parse the $content in my function and as soon as a shortcode comes i can add it by calling the function do_shortcode? &lt;br&gt;&lt;br&gt;Otherwise i will always add the gallery on the end of my post and i have to give the id of the galleriy in my function :-S</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Asad</dc:creator><pubDate>Tue, 27 Oct 2009 14:29:20 -0000</pubDate></item><item><title>Re: Splitting Content into Two Columns, e.g. Word Wrap with PHP or CSS + Javascript</title><link>http://dancameron.org/code/splitting-content-into-two-columns-e-g-word-wrap-with-php-or-css-javascript#comment-21063569</link><description>add_filter( 'the_content', 'add_gallery_shortcode_and_interpret' );&lt;br&gt;function add_gallery_shortcode_and_interpret($content) {&lt;br&gt;  $content .= do_shortcode('[gallery id=xxx]');&lt;br&gt;  return $content;&lt;br&gt;}</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nick</dc:creator><pubDate>Mon, 26 Oct 2009 18:55:05 -0000</pubDate></item><item><title>Re: Splitting Content into Two Columns, e.g. Word Wrap with PHP or CSS + Javascript</title><link>http://dancameron.org/code/splitting-content-into-two-columns-e-g-word-wrap-with-php-or-css-javascript#comment-21059799</link><description>Hi,&lt;br&gt;&lt;br&gt;i have an issue with modyfing the content in the functions.php. I wanted to input a gallery into the content so i downloaded several galleries (nextgen for example). now for using a gallery into the content we have to type in in the post [gallery = x] and the gallery is displayed on the page. &lt;br&gt;&lt;br&gt;But because i am modifying the content in my functions.php the shortcode is echoed and not inteprated. so i dont see the gallery, but i see the shortcode [gallery = x]. I dont know how to solve this issue, that i do modify the content (because of splitting into two columns) and that the gallery is shown. &lt;br&gt;&lt;br&gt;Thanks for your help in advance. I cant find a solution on this.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Asad</dc:creator><pubDate>Mon, 26 Oct 2009 17:37:51 -0000</pubDate></item><item><title>Re: iDVD &amp;#8216;08 won&amp;#8217;t start</title><link>http://dancameron.org/general/idvd-08-wont-start#comment-20988187</link><description>Um, I got a new mac, and like you said, iDVD always quits! so I went to delete those folders and, I only HAVE themes 5 and sox. On the apple website it told me to download iDVD 7.0.1, and i did. Now it doesnt "quit" right away, but it doesnt do anything else either. no window comes up or anything, so I have to force quit. what is going on?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Webosaurs News</dc:creator><pubDate>Sun, 25 Oct 2009 13:24:33 -0000</pubDate></item><item><title>Re: Splitting Content into Two Columns, e.g. Word Wrap with PHP or CSS + Javascript</title><link>http://dancameron.org/code/splitting-content-into-two-columns-e-g-word-wrap-with-php-or-css-javascript#comment-20745300</link><description>Browser support: &lt;a href="http://tinyurl.com/ygphca7" rel="nofollow"&gt;http://tinyurl.com/ygphca7&lt;/a&gt; :)&lt;br&gt;&lt;a href="http://www.quirksmode.org/css/multicolumn.html" rel="nofollow"&gt;http://www.quirksmode.org/css/multicolumn.html&lt;/a&gt;&lt;br&gt;Supported by Firefox 1.5+ and Safari 3. So a while ago.&lt;br&gt;&lt;br&gt;XML and PHP: Yeah right, I'm shying away from any php+xml for a long while, the last time I tried it was a mess.&lt;br&gt;&lt;br&gt;I think I'll just search over X  amount of characters (like 20) before the $start for a "&amp;lt;" tag, then just move the $split there.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dancameron</dc:creator><pubDate>Wed, 21 Oct 2009 18:05:20 -0000</pubDate></item><item><title>Re: Splitting Content into Two Columns, e.g. Word Wrap with PHP or CSS + Javascript</title><link>http://dancameron.org/code/splitting-content-into-two-columns-e-g-word-wrap-with-php-or-css-javascript#comment-20744427</link><description>This is cool stuff, although you know I don't like the javascript-only thing, even just for IE. I wasn't aware of that particular CSS 3 attribute, though, so that's cool. For the non-IE browsers, do you know what versions the proprietary substitutes (the -moz and -webkit versions) were introduced in?&lt;br&gt;&lt;br&gt;Anyway, for the PHP side, it would be great if you could keep the HTML valid, since it could end up throwing off other stuff in your page if the break is bad enough. &lt;br&gt;&lt;br&gt;Maybe you could try loading the content as XML and manipulating it with the PHP DOM libraries? You could walk through the nodes until you find the one the split should be in, and then handle that particular node by replacing it with two nodes that have the content split out, and then do the split out from there, closing any open parent nodes and starting corresponding new ones in the next column. It isn't easy, but that's my first thought on how to tackle it and still end up with valid HTML at the end.&lt;br&gt;&lt;br&gt;Or just say no to the client asking for this... :-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">twitter-14182745</dc:creator><pubDate>Wed, 21 Oct 2009 17:46:11 -0000</pubDate></item><item><title>Re: Splitting Content into Two Columns, e.g. Word Wrap with PHP or CSS + Javascript</title><link>http://dancameron.org/code/splitting-content-into-two-columns-e-g-word-wrap-with-php-or-css-javascript#comment-20722980</link><description>Gotcha, cool beans. :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nick</dc:creator><pubDate>Wed, 21 Oct 2009 15:04:15 -0000</pubDate></item><item><title>Re: Splitting Content into Two Columns, e.g. Word Wrap with PHP or CSS + Javascript</title><link>http://dancameron.org/code/splitting-content-into-two-columns-e-g-word-wrap-with-php-or-css-javascript#comment-20721044</link><description>So, I'm not hooking into the_content because this wont be used throughout the theme, only with certain posts under a certain condition ( modal box ).</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dancameron</dc:creator><pubDate>Wed, 21 Oct 2009 14:51:28 -0000</pubDate></item><item><title>Re: Splitting Content into Two Columns, e.g. Word Wrap with PHP or CSS + Javascript</title><link>http://dancameron.org/code/splitting-content-into-two-columns-e-g-word-wrap-with-php-or-css-javascript#comment-20720895</link><description>You're right this would invalidate the markup for p tags but there's no way around it; since I can't wait until the next closing p tag to start the split, although possible.&lt;br&gt;&lt;br&gt;As far as any other markup, like an img tag, this script would totally screw it up. Since an img tag for example would have a very probability of getting split with it having a lot of spaces inside; anchors are another concern.&lt;br&gt;&lt;br&gt;I'll need to think about it a little more.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dancameron</dc:creator><pubDate>Wed, 21 Oct 2009 14:49:36 -0000</pubDate></item><item><title>Re: Splitting Content into Two Columns, e.g. Word Wrap with PHP or CSS + Javascript</title><link>http://dancameron.org/code/splitting-content-into-two-columns-e-g-word-wrap-with-php-or-css-javascript#comment-20720183</link><description>Also, forgot to mention this in my first comment, but what about splitting around HTML tags?&lt;br&gt;&lt;br&gt;$content = '&amp;lt;div&amp;gt;&lt;p&gt;This is my first sentence.  This is my second sentence.&lt;/p&gt;&amp;lt;/div&amp;gt;';&lt;br&gt;$content = content_split($content,'&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;');&lt;br&gt;&lt;br&gt;Wouldn't this be bad?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nick</dc:creator><pubDate>Wed, 21 Oct 2009 14:38:05 -0000</pubDate></item><item><title>Re: Splitting Content into Two Columns, e.g. Word Wrap with PHP or CSS + Javascript</title><link>http://dancameron.org/code/splitting-content-into-two-columns-e-g-word-wrap-with-php-or-css-javascript#comment-20719416</link><description>Why aren't you just hooking into the_content rather than doing manipulation in the template file?&lt;br&gt;&lt;br&gt;add_filter( 'the_content', 'split_content_into_two_columns');&lt;br&gt;&lt;br&gt;function split_content_into_two_columns($content) {&lt;br&gt;// Check content for length or something&lt;br&gt;$separator = '&amp;lt;/div&amp;gt;&amp;lt;div class="second-column column"&amp;gt;';&lt;br&gt;$content = content_split($content,$separator);&lt;br&gt;return $content;&lt;br&gt;}&lt;br&gt;&lt;br&gt;Also, you've got some typos in that first CSS sample.  You double specify a -moz property, I believe.&lt;br&gt;&lt;br&gt;Otherwise, looking good.  PS, I might steal this for my book :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nick</dc:creator><pubDate>Wed, 21 Oct 2009 14:24:58 -0000</pubDate></item><item><title>Re: Go Dodgers!</title><link>http://dancameron.org/personal/go-dodgers#comment-20263220</link><description>2.5 hours to go 5 miles? Really man? That is so crazy. I do not miss LA traffic. The amount of mental breakdowns I had driving there are too numerous to count.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">futurelevel</dc:creator><pubDate>Sat, 17 Oct 2009 10:31:37 -0000</pubDate></item><item><title>Re: Installing Yum on CentOS 4</title><link>http://dancameron.org/general/installing-yum-on-centos-4#comment-20238489</link><description>yumconf can be found here &lt;br&gt;&lt;br&gt;&lt;a href="http://rpm.pbone.net/index.php3/stat/4/idpl/3464539/com/centos-yumconf-4-4.5.noarch.rpm.html" rel="nofollow"&gt;http://rpm.pbone.net/index.php3/stat/4/idpl/346...&lt;/a&gt; &lt;br&gt;&lt;br&gt;and provides:&lt;br&gt;&lt;br&gt;[root@home root]# rpm -ql centos-yumconf-4-4.5&lt;br&gt;/etc/yum.repos.d/CentOS-Base.repo</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Johnny</dc:creator><pubDate>Fri, 16 Oct 2009 19:10:32 -0000</pubDate></item><item><title>Re: Creating OS X Leopard Install on a USB Drive or iPod</title><link>http://dancameron.org/general/creating-os-x-leopard-install-usb-drive#comment-20011784</link><description>windows can if its networked.... you can map it similar to windows file sharing... :D</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fuzztech</dc:creator><pubDate>Tue, 13 Oct 2009 22:31:37 -0000</pubDate></item><item><title>Re: 1and1 scams</title><link>http://dancameron.org/general/1and1-scams#comment-19686939</link><description>I'd like to file a class action lawsuit against this company. Anyone with me? &lt;br&gt;&lt;br&gt;1and1 is ruining people's credit if people let their subscription expire. That's crazy! I have plenty of hosting accounts on the internet, so I am very familiar with hosting policies. When a subscription expires, and your card is expired, your prepay doesn't go through. That then cancels the account. &lt;br&gt;&lt;br&gt;But I guess 1and1 finds that it's profitable to send people to the NCO collection agency if they don't prepay for the next term without clicking the 'cancel' button, which is not even available on your control panel!&lt;br&gt;&lt;br&gt;Anyone else think this is an unfair business practice? I think we should contact the Abbey Spanier law firm and file a class action lawsuit!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">1&amp;1 Class Action Lawsuit</dc:creator><pubDate>Fri, 09 Oct 2009 14:16:01 -0000</pubDate></item><item><title>Re: My dad&amp;#8230;</title><link>http://dancameron.org/asides/my-dad#comment-17723994</link><description>i agree with martha...i really enjoyed reading what your sisters and you said...I can't imagine having sum up my love and gratefulness and memories into a few paragraphs...but you all did great.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">allison </dc:creator><pubDate>Mon, 28 Sep 2009 12:18:11 -0000</pubDate></item><item><title>Re: My dad&amp;#8230;</title><link>http://dancameron.org/asides/my-dad#comment-17722998</link><description>That is really awesome. You're a good son.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martha</dc:creator><pubDate>Mon, 28 Sep 2009 11:52:52 -0000</pubDate></item><item><title>Re: Disqus</title><link>http://dancameron.org/general/disqus#comment-17478934</link><description>It will work fine, i've integrated twitter on all of my websites as they are gracous enough to let us use their API, and discuss is awesome too</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">NiNJADMiN</dc:creator><pubDate>Sat, 26 Sep 2009 19:19:55 -0000</pubDate></item><item><title>Re: 1and1 scams</title><link>http://dancameron.org/general/1and1-scams#comment-17421955</link><description>Amen.&lt;br&gt;&lt;br&gt;After months of abuse by 1 &amp; 1 I have started the process of transferring any client from 1&amp;1 to GoDaddy, even providing my labor to do so for free because it is NOT cost effective to continue working with 1&amp;1 for ANY of their services.&lt;br&gt;&lt;br&gt;When a supervisor was requested after the disrespectful and poor-quality services delivered by a front-line support, I was repeatedly told "I will not provide you my supervisor."&lt;br&gt;&lt;br&gt;I will give 1&amp;1 a short time to live before they go under with such poor support as in my experience has lead to the demise of other such companies.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam Caldwell</dc:creator><pubDate>Sat, 26 Sep 2009 10:11:36 -0000</pubDate></item><item><title>Re: http://dancameron.org/general/sync-safari-bookmarks-and-history-with-dropbox</title><link>http://dancameron.org/general/sync-safari-bookmarks-and-history-with-dropbox#comment-17245206</link><description>very good solution! easy to configure!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">thomas</dc:creator><pubDate>Wed, 23 Sep 2009 18:15:05 -0000</pubDate></item></channel></rss>