<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	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"
	>
<channel>
	<title>Comments for Lots of Code</title>
	<atom:link href="http://www.lotsofcode.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.lotsofcode.com</link>
	<description>php, css and javascript</description>
	<pubDate>Sun, 01 Aug 2010 03:46:07 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>Comment on Tag Cloud v2 by Stewart McKie</title>
		<link>http://www.lotsofcode.com/php/tag-cloud-v2.htm#comment-14538</link>
		<dc:creator>Stewart McKie</dc:creator>
		<pubDate>Fri, 23 Oct 2009 10:09:03 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/projects/lotsofcode_2008/uncategorized/tag-cloud-v2.htm#comment-14538</guid>
		<description>First, thanks for providing this class as for non-programmers like me it helps a lot.

I'm using the class to create a word cloud from a text column in my mySQL database and so far it's working great. I've come across some issues (some mentioned above).

1. I can't get the limit function to work either. Whatever I put in $cloud-&#62;setLimit(); returns all the words.

2. Did anyone figure out doing top(n) as I was hoping to a top (50) by frequency.

3. Is there a 'exclude by frequency' function so that only words with a frequency of (say) over 10 mentions are included?

4. Regarding stoplists, is there any way to:

a. refer to multiple stoplist terms rather than do a $cloud-&#62;removeWord('a'); for each term
b. or better still refer to a stoplist file e.g. stoplist.txt

Thanks again for making this class available.</description>
		<content:encoded><![CDATA[<p>First, thanks for providing this class as for non-programmers like me it helps a lot.</p>
<p>I'm using the class to create a word cloud from a text column in my mySQL database and so far it's working great. I've come across some issues (some mentioned above).</p>
<p>1. I can't get the limit function to work either. Whatever I put in $cloud-&gt;setLimit(); returns all the words.</p>
<p>2. Did anyone figure out doing top(n) as I was hoping to a top (50) by frequency.</p>
<p>3. Is there a 'exclude by frequency' function so that only words with a frequency of (say) over 10 mentions are included?</p>
<p>4. Regarding stoplists, is there any way to:</p>
<p>a. refer to multiple stoplist terms rather than do a $cloud-&gt;removeWord('a'); for each term<br />
b. or better still refer to a stoplist file e.g. stoplist.txt</p>
<p>Thanks again for making this class available.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Array Pagination by miles</title>
		<link>http://www.lotsofcode.com/php/php-array-pagination.htm#comment-14517</link>
		<dc:creator>miles</dc:creator>
		<pubDate>Thu, 22 Oct 2009 15:04:51 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/projects/lotsofcode_2008/uncategorized/php-array-pagination.htm#comment-14517</guid>
		<description>i used this on http://theweightoflight.com/photos/today/, a page i use to upload snapshots from my phone. it's the easiest and most flexible pagination script i could find. everything else has so many bells and whistles. i'm not that skilled with php and i was able to follow your logic and alter it a bit for my needs within an hour or so. thanks for sharing!</description>
		<content:encoded><![CDATA[<p>i used this on <a href="http://theweightoflight.com/photos/today/" rel="nofollow">http://theweightoflight.com/photos/today/</a>, a page i use to upload snapshots from my phone. it's the easiest and most flexible pagination script i could find. everything else has so many bells and whistles. i'm not that skilled with php and i was able to follow your logic and alter it a bit for my needs within an hour or so. thanks for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sending a xml HTTP Request (AJAX Request) by Clarify</title>
		<link>http://www.lotsofcode.com/javascript-and-ajax/sending-a-xml-http-request-ajax-request.htm#comment-14471</link>
		<dc:creator>Clarify</dc:creator>
		<pubDate>Tue, 20 Oct 2009 15:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/projects/lotsofcode_2008/uncategorized/sending-a-xml-http-request-ajax-request.htm#comment-14471</guid>
		<description>I try the same using msxml2.xmlhttp 
using the content header as application/x-www-form-urlencoded but the xmlhttp.send method is not sending the xml

I am loading the xml from an xml file.

But If i send (empty) by appending xml in the URL through GET method then the request is being sent.

Any clues why it is happening so?</description>
		<content:encoded><![CDATA[<p>I try the same using msxml2.xmlhttp<br />
using the content header as application/x-www-form-urlencoded but the xmlhttp.send method is not sending the xml</p>
<p>I am loading the xml from an xml file.</p>
<p>But If i send (empty) by appending xml in the URL through GET method then the request is being sent.</p>
<p>Any clues why it is happening so?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Tag Cloud by zurna</title>
		<link>http://www.lotsofcode.com/php/tag-cloud.htm#comment-14390</link>
		<dc:creator>zurna</dc:creator>
		<pubDate>Sat, 17 Oct 2009 21:23:04 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/projects/lotsofcode_2008/uncategorized/tag-cloud.htm#comment-14390</guid>
		<description>very good scripts.</description>
		<content:encoded><![CDATA[<p>very good scripts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery for beginners by Amanuel</title>
		<link>http://www.lotsofcode.com/javascript-and-ajax/jquery-for-beginners.htm#comment-14260</link>
		<dc:creator>Amanuel</dc:creator>
		<pubDate>Tue, 13 Oct 2009 22:01:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.lotsofcode.com/javascript-and-ajax/jquery-for-beginners.htm#comment-14260</guid>
		<description>Its really good, I got the basic concept of jQuery. Thanks</description>
		<content:encoded><![CDATA[<p>Its really good, I got the basic concept of jQuery. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Tag Cloud by zurna</title>
		<link>http://www.lotsofcode.com/php/tag-cloud.htm#comment-14144</link>
		<dc:creator>zurna</dc:creator>
		<pubDate>Fri, 09 Oct 2009 20:40:07 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/projects/lotsofcode_2008/uncategorized/tag-cloud.htm#comment-14144</guid>
		<description>verry nice.</description>
		<content:encoded><![CDATA[<p>verry nice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP Array Pagination by neocorps</title>
		<link>http://www.lotsofcode.com/php/php-array-pagination.htm#comment-14072</link>
		<dc:creator>neocorps</dc:creator>
		<pubDate>Tue, 06 Oct 2009 23:25:57 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/projects/lotsofcode_2008/uncategorized/php-array-pagination.htm#comment-14072</guid>
		<description>Hi, first of all, great script, i hade some issues implementing it but now works great, the only thing i could not fix was..

The navigation (where all the pages are), how can i limit the amount of pages it displays.. for example i just want 10 pages tops.

&#60;&#60; First  Last &#62;&#62;

but if i have more results than the 10 pages can contain, i get more than 10 pages and thus, the navigation can grow endless.

&#60;&#60; First  Last &#62;&#62;

Is there a way to hide the numbers from 10+ and while moving say to 11 display something like

&#60;&#60; First  Last &#62;&#62;

I'm not a php wiz so i'm having some trouble with that, plus your code is really advanced lol.</description>
		<content:encoded><![CDATA[<p>Hi, first of all, great script, i hade some issues implementing it but now works great, the only thing i could not fix was..</p>
<p>The navigation (where all the pages are), how can i limit the amount of pages it displays.. for example i just want 10 pages tops.</p>
<p>&lt;&lt; First  Last &gt;&gt;</p>
<p>but if i have more results than the 10 pages can contain, i get more than 10 pages and thus, the navigation can grow endless.</p>
<p>&lt;&lt; First  Last &gt;&gt;</p>
<p>Is there a way to hide the numbers from 10+ and while moving say to 11 display something like</p>
<p>&lt;&lt; First  Last &gt;&gt;</p>
<p>I'm not a php wiz so i'm having some trouble with that, plus your code is really advanced lol.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery for beginners by Yousuf</title>
		<link>http://www.lotsofcode.com/javascript-and-ajax/jquery-for-beginners.htm#comment-14025</link>
		<dc:creator>Yousuf</dc:creator>
		<pubDate>Mon, 05 Oct 2009 09:10:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.lotsofcode.com/javascript-and-ajax/jquery-for-beginners.htm#comment-14025</guid>
		<description>Nice Tutorial</description>
		<content:encoded><![CDATA[<p>Nice Tutorial</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Tag Cloud by Lyn</title>
		<link>http://www.lotsofcode.com/php/tag-cloud.htm#comment-13935</link>
		<dc:creator>Lyn</dc:creator>
		<pubDate>Thu, 01 Oct 2009 21:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/projects/lotsofcode_2008/uncategorized/tag-cloud.htm#comment-13935</guid>
		<description>This is amazing! Exactly what I was looking for!
Instead of the database code you used I did:

$result = mysql_query("SELECT * FROM table") 
while($row = mysql_fetch_array( $result )) {
	$newstring .=$row['tags'].", ";
} 
$randomWords = explode(", ",$newstring);

It was easier for me and it worked =) Thank you so much!!</description>
		<content:encoded><![CDATA[<p>This is amazing! Exactly what I was looking for!<br />
Instead of the database code you used I did:</p>
<p>$result = mysql_query("SELECT * FROM table")<br />
while($row = mysql_fetch_array( $result )) {<br />
	$newstring .=$row['tags'].", ";<br />
}<br />
$randomWords = explode(", ",$newstring);</p>
<p>It was easier for me and it worked =) Thank you so much!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Smarty Pagination by Venu</title>
		<link>http://www.lotsofcode.com/php/smarty-pagination.htm#comment-13792</link>
		<dc:creator>Venu</dc:creator>
		<pubDate>Sun, 27 Sep 2009 18:15:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.lotsofcode.com/uncategorized/smarty-pagination.htm#comment-13792</guid>
		<description>I need to re-post as some codes didn't show up .I had downloaded and used pagination.class.php to paginate a multi tabbed blogging site. The pagination shows in all tabs and not correctly. How do I individually paginate each tabs or fragments of the page? I am a self taught php programmer. Please post the cirrected code. Thanks!

[php]
//  database connection
require_once('./includes/base.php');
include 'pagination.class.php';

if($_GET['logout'] == 1){
    @$_SESSION = array();
    @session_unregister($_SESSION['userID']);
    @session_unregister($_SESSION['userName']);
    @session_unregister($_SESSION['userUser']);
    @session_unregister($_SESSION['userPass']);
    @session_destroy();
}

require("./templates/$template/header.php");

[/php]




    function isClear()
        {
            document.myForm[0].value='';
            return true;
        
        }
    
    &lt;!-- new search --&gt;
    
[php]

ob_start();
if(!empty($_SESSION['userID']) and !empty($_POST['user'])){
echo '

';
}
[/php] 



Hello world [php]echo "$sitename"; [/php] is blah, blah, blah.......!



 
            
                Blog&lt;/a&gt;
                Links&lt;/a&gt;
                Images&lt;/a&gt;

            
            
                [php]
    

$sql = mysql_query("SELECT users.userUser, posts.postID, posts.postPost, posts.postTime, posts.postComments, userAvatar  FROM users, posts WHERE users.userID = posts.postUserID ORDER BY posts.postTime DESC ");                 
while($row = mysql_fetch_array($sql)){
    $abcd= $row['userName'];
    $abcd = str_replace (" ", "-", $abcd);
 $time = reltime($row['postTime']);

    echo '
    
     
      &lt;a href="'.$site_url.'/'.$row['userUser'].'" rel="nofollow"&gt;&lt;b&gt;'.$row['postPost'].'&lt;/b&gt;Posted by:&#160;'.$row['userUser'].',&#160;&lt;a href="'.$site_url.'/blogs/'.$row['userUser'].'/'.$row['postID'].'" rel="nofollow"&gt;Comments&lt;/a&gt;&#160;'.$row['postComments'].' ,&#160;Time elapsed:&#160; '.$time.'&lt;/a&gt;
    
    
    ';}




    [/php]


Prev&lt;/a&gt;  Next&lt;/a&gt;



var gallery=new virtualpaginate("virtualpage",10)
gallery.buildpagination("gallerypaginate")



            






            


            
              [php]

                 $sql = mysql_query("SELECT users.userUser, links.linksID, links.linksLink, links.linksPost, links.linksTime, links.linksComments,userAvatar FROM users, links WHERE users.userID = links.linksUserID ORDER BY links.linksTime DESC");
while($row = mysql_fetch_array($sql)){
    $abcd= $row['userName'];
    $abcd = str_replace (" ", "-", $abcd);
 $time1 = reltime($row['linksTime']);

    echo '
    
     
      &lt;a href="'.$site_url.'/'.$row['userUser'].'" rel="nofollow"&gt;&lt;b&gt;'.$row['linksPost'].'&lt;/b&gt;Posted by:&#160;'.$row['userUser'].',&#160;&lt;a href="'.$site_url.'/blogs/'.$row['userUser'].'/'.$row['linksID'].'" rel="nofollow"&gt;Comments&lt;/a&gt;&#160;'.$row['linksComments'].' ,&#160;Time elapsed:&#160; '.$time1.'&lt;/a&gt;
    
    
    ';}

    [/php]


 


            
            
                [php]
                // testing
                grabimages('SELECT users.userUser, images.imagesID, images.imagesFile, images.imagesPost, images.imagesTime, images.imagesComments FROM users, images WHERE users.userID = images.imagesUserID ORDER BY images.imagesTime DESC LIMIT 20');

                [/php]

            
        



 




</description>
		<content:encoded><![CDATA[<p>I need to re-post as some codes didn't show up .I had downloaded and used pagination.class.php to paginate a multi tabbed blogging site. The pagination shows in all tabs and not correctly. How do I individually paginate each tabs or fragments of the page? I am a self taught php programmer. Please post the cirrected code. Thanks!</p>
<p>[php]<br />
//  database connection<br />
require_once('./includes/base.php');<br />
include 'pagination.class.php';</p>
<p>if($_GET['logout'] == 1){<br />
    @$_SESSION = array();<br />
    @session_unregister($_SESSION['userID']);<br />
    @session_unregister($_SESSION['userName']);<br />
    @session_unregister($_SESSION['userUser']);<br />
    @session_unregister($_SESSION['userPass']);<br />
    @session_destroy();<br />
}</p>
<p>require("./templates/$template/header.php");</p>
<p>[/php]</p>
<p>    function isClear()<br />
        {<br />
            document.myForm[0].value='';<br />
            return true;</p>
<p>        }</p>
<p>    <!-- new search --></p>
<p>[php]</p>
<p>ob_start();<br />
if(!empty($_SESSION['userID']) and !empty($_POST['user'])){<br />
echo '</p>
<p>';<br />
}<br />
[/php] </p>
<p>Hello world [php]echo "$sitename"; [/php] is blah, blah, blah.......!</p>
<p>                Blog<br />
                Links<br />
                Images</p>
<p>                [php]</p>
<p>$sql = mysql_query("SELECT users.userUser, posts.postID, posts.postPost, posts.postTime, posts.postComments, userAvatar  FROM users, posts WHERE users.userID = posts.postUserID ORDER BY posts.postTime DESC ");<br />
while($row = mysql_fetch_array($sql)){<br />
    $abcd= $row['userName'];<br />
    $abcd = str_replace (" ", "-", $abcd);<br />
 $time = reltime($row['postTime']);</p>
<p>    echo '</p>
<p>      <a href="'.$site_url.'/'.$row['userUser'].'" rel="nofollow"><b>'.$row['postPost'].'</b>Posted by:&nbsp;'.$row['userUser'].',&nbsp;</a><a href="'.$site_url.'/blogs/'.$row['userUser'].'/'.$row['postID'].'" rel="nofollow">Comments</a>&nbsp;'.$row['postComments'].' ,&nbsp;Time elapsed:&nbsp; '.$time.'</p>
<p>    ';}</p>
<p>    [/php]</p>
<p>Prev  Next</p>
<p>var gallery=new virtualpaginate("virtualpage",10)<br />
gallery.buildpagination("gallerypaginate")</p>
<p>              [php]</p>
<p>                 $sql = mysql_query("SELECT users.userUser, links.linksID, links.linksLink, links.linksPost, links.linksTime, links.linksComments,userAvatar FROM users, links WHERE users.userID = links.linksUserID ORDER BY links.linksTime DESC");<br />
while($row = mysql_fetch_array($sql)){<br />
    $abcd= $row['userName'];<br />
    $abcd = str_replace (" ", "-", $abcd);<br />
 $time1 = reltime($row['linksTime']);</p>
<p>    echo '</p>
<p>      <a href="'.$site_url.'/'.$row['userUser'].'" rel="nofollow"><b>'.$row['linksPost'].'</b>Posted by:&nbsp;'.$row['userUser'].',&nbsp;</a><a href="'.$site_url.'/blogs/'.$row['userUser'].'/'.$row['linksID'].'" rel="nofollow">Comments</a>&nbsp;'.$row['linksComments'].' ,&nbsp;Time elapsed:&nbsp; '.$time1.'</p>
<p>    ';}</p>
<p>    [/php]</p>
<p>                [php]<br />
                // testing<br />
                grabimages('SELECT users.userUser, images.imagesID, images.imagesFile, images.imagesPost, images.imagesTime, images.imagesComments FROM users, images WHERE users.userID = images.imagesUserID ORDER BY images.imagesTime DESC LIMIT 20');</p>
<p>                [/php]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
