<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 21 Aug 2008 14:59:50 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Five Wordpress Tips for Power Users]]></title>
      <guid>http://www.phpdeveloper.org/news/10127</guid>
      <link>http://www.phpdeveloper.org/news/10127</link>
      <description><![CDATA[<p>
On the Developer Tutorials Blog today, there's a <a href="http://www.developertutorials.com/blog/general/five-wordpress-tips-for-power-users-166/">new post</a> aimed at WordPress users to help them on the path to becoming "power users" with five tips.
</p>
<blockquote>
If you're a wordpress power user, you'll inevitably have some questions about how you can improve your blog or add new features. Here are five tips that will make life easier for people wanting to maximize their use of Wordpress.
</blockquote>
<p>
<a href="http://www.developertutorials.com/blog/general/five-wordpress-tips-for-power-users-166/">The list</a> is:
</p>
<ul>
<li>Quickly Find Page/Post ID
<li>Custom Front Page
<li>Password Protect Wordpress
<li>Protect from the 'Digg Efect' with HTML
<li>Stop Hackers
</ul>
<p>
Each of them with their own explanations (and links to other resources detailing how they're done).
</p>]]></description>
      <pubDate>Wed, 07 May 2008 07:57:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Michael Kimsal's Blog: Joe Stump @ MySQL]]></title>
      <guid>http://www.phpdeveloper.org/news/9997</guid>
      <link>http://www.phpdeveloper.org/news/9997</link>
      <description><![CDATA[<p>
On his blog, <i>Michael Kimsal</i> <a href="http://michaelkimsal.com/blog/joe-stump-mysql/">talks about</a> a presentation he sat in on at this year's <a href="http://www.mysqlconf.com/">MySQL Conference</a> given by <i>Joe Stump</i> from Digg.com:
</p>
<blockquote>
One key thing he's repeating is using a service layer to access data asynchronously.  His advice right now is to group data requests at the top of a user request, do them asynchronously, and then use the data in the rendering when it comes back. 
</blockquote>
<p>
They've <a href="http://pear.php.net/package/Services_Digg/">published a PEAR package</a> as an example of this asynchronous method that interfaces with Digg's API (http://services.digg.com). You can read more about the subject of his talk on <a href="http://en.oreilly.com/mysql2008/public/schedule/detail/468">the MySQL Conference website</a>.
</p>]]></description>
      <pubDate>Fri, 18 Apr 2008 12:09:57 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Digg Clone: Start your own Digg in five minutes flat with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9922</guid>
      <link>http://www.phpdeveloper.org/news/9922</link>
      <description><![CDATA[<p>
Ever through about starting up your own custom version of a <a href="http://www.digg.com">Digg</a>-sort of site? Well, check out <a href="http://www.developertutorials.com/blog/php/digg-clone-php-mysql-digg-quickly-108/">this new tutorial</a> from the Developer Tutorials blog showing how to start it in "five minutes flat".
</p>
<blockquote>
So, you want to start your own Digg or Reddit? Look no further. With PHP and MySQL, you can create your own Digg site in just five minutes. All you need is a PHP web server and MySQL database server; follow these instructions and you'll be up and running in time.
</blockquote>
<p>
They use the <a href="http://www.developertutorials.com/blog/wp-content/uploads/2008/04/pligg_beta_990.zip">Pligg</a> software to do all of the hard work and describe its installation, configuration and use - simple and easy. You can find out more about Pligg on <a href="http://pligg.com/">its website</a>.
</p>]]></description>
      <pubDate>Mon, 07 Apr 2008 10:25:55 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Venture Skills Blog: Want to create a site like Digg with no programming?]]></title>
      <guid>http://www.phpdeveloper.org/news/7745</guid>
      <link>http://www.phpdeveloper.org/news/7745</link>
      <description><![CDATA[<p>
From the Venture Skills blog today, there's <a href="http://ventureskills.wordpress.com/2006/12/05/want-to-create-a-site-like-digg-with-no-programming/">a tutorial</a> that aims to help you develop a Digg-like site without any of the messy programming that can be involved - with a little help from Drupal.
</p>
<blockquote>
Digg is a user content driven site, users submit links to article and sites that interest them and other uses either give it the thumbs up or the thumbs down. The most popular sites get onto the front page and can have literally thousands of hits this is reffered to as the Digg effect. We are going to go step by step how you can develop such a site using Drupal CMS which is available from <a href="http://www.drupal.org/">drupal.org</a> if your unfamiliar with Drupal we have an overview <a href="http://ventureskills.wordpress.com/what-x/drupal-content-management-system/">here</a>.
</blockquote>
<p>
The real key to it all comes in with the plugins you install into your Drupal setup:
<ul>
<li><a href="http://drupal.org/project/vote_up_down">Vote Up/Down module
<li><a href="http://drupal.org/project/links">Links module</a>
<li><a href="http://drupal.org/project/votingapi">Voting API</a>
<li><a href="http://drupal.org/project/actions">Actions</a>
<li><a href="http://drupal.org/node/46895">Voting Actions</a>
<li><a href="http://drupal.org/project/cre">CRE recommendation</a>
</ul>
They walk you through the set up of Drupal first (screenshots show a Windows environment, but it can be any supported OS) before going into the admin for it and installing the plugins.
</p>
<p>
This article is just the first part in the series - check out <a href="http://ventureskills.wordpress.com/2006/12/07/create-a-site-like-digg-part2/">part two</a> and <a href="http://ventureskills.wordpress.com/2007/02/02/create-a-site-like-digg-part3/">part three</a> for the rest of the installation.
</p>]]></description>
      <pubDate>Tue, 01 May 2007 11:08:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Nick Halstead's Blog: Simple use of DIGG API for your blog]]></title>
      <guid>http://www.phpdeveloper.org/news/7706</guid>
      <link>http://www.phpdeveloper.org/news/7706</link>
      <description><![CDATA[<p>
With the recent release of the new <a href="http://apidoc.digg.com/">Digg API</a>, developers all over the web have picked it up and started playing with it to integrate it with their own applications. On developer, <i>Nick Halstead</i>, <a href="http://blog.assembleron.com/2007/04/23/simple-use-of-digg-api-for-your-blog/">decided to grab the latest stories</a> and publish the headlines to his page. In the process, though, he learned a little something about XML handling in PHP4.
</p>
<blockquote>
I quickly discovered that XML decoding under PHP 4 is a pain in the (****) when you do not have access to install further modules. So quickly moved onto <a href="http://www.json.org/">JSON</a>, but the lovely function <a href="http://uk.php.net/manual/en/function.json-decode.php">json_decode</a> is PHP 5 only. But I did a bit of search and found several PHP json classes without any dependencies.
</blockquote>
<p>
With this, and some help from <a href="http://blog.assembleron.com/code-bank/">a bit more code</a>, he was able to create the sample he shares in the post - a script to grab the latest stories and display their titles to his page.
</p>]]></description>
      <pubDate>Wed, 25 Apr 2007 11:22:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[JSLabs Blog:  How to survive the digg effect]]></title>
      <guid>http://www.phpdeveloper.org/news/7094</guid>
      <link>http://www.phpdeveloper.org/news/7094</link>
      <description><![CDATA[<p>
From the JSLabs blog today comes <a href="http://www.whenpenguinsattack.com/2007/01/15/how-to-survive-the-digg-effect/">a helpful tip</a> for those running a WordPress blog that might be taking a beating - like from being linked on digg.
</p>
<blockquote>
This is usually caused by a large amount of traffic that is overloading your database (because each page that is loaded requires a query or multiple queries). A great way to not only improve the speed of your entire blog, but help prevent the above error from occurring is to install a plugin called WP-Cache.
</blockquote>
<p>
The <a href="http://mnm.uib.es/gallir/posts/category/software/mis-hacks/">WP-Cache plugin</a> automatically caches your pages without the need to install any outside methods. <a href="http://www.whenpenguinsattack.com/2007/01/15/how-to-survive-the-digg-effect/">The post</a> steps through how to get it installed and how to 
</p>]]></description>
      <pubDate>Mon, 15 Jan 2007 13:14:52 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[True Hacker! Blog: Digg style clean URLs with PHP and Apache]]></title>
      <guid>http://www.phpdeveloper.org/news/6790</guid>
      <link>http://www.phpdeveloper.org/news/6790</link>
      <description><![CDATA[<p>
The 'true hacker!' blog has <a href="http://truehacker.blogspot.com/2006/11/digg-style-clean-urls-with-php-and.html">a new post</a> today that gives you a quick four step process for creating some clean, Digg-style URLs for your site with some simple Apache configuration changes (mod_rewrite).
</p>
<blockquote>
You might have noticed that Digg has a cool way of maintaining clean URLs. Digg actually uses LAMP - Linux/Apache/MySQL/PHP. But where are the .php extensions? The answer is here. 4 steps to implement your own Digg style clean URLs.
</blockquote>
<p>
<a href="http://truehacker.blogspot.com/2006/11/digg-style-clean-urls-with-php-and.html">His method</a> turns on Apache's rewrite engine (you do have mod_rewrite enabled, don't you?) and adds a rule to push all of the requests to two default PHP files. There's also a ForceType method that can be used to achieve the same effect. One .htaccess file later, you're in business and the PHP script only needs to access the $_SERVER['REQUEST_URI'] value to get the parameters.
</p>]]></description>
      <pubDate>Wed, 29 Nov 2006 09:57:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ryan Malesevich's Blog: WP Plugins: WP-Notable]]></title>
      <guid>http://www.phpdeveloper.org/news/6107</guid>
      <link>http://www.phpdeveloper.org/news/6107</link>
      <description><![CDATA[<p>
<i>Ryan Malesevich</i> continues his series looking at some of the WordPress plugins he's foun duseful in his development work. <a href="http://ryanslife.net/2006/08/22/wp-plugins-wp-notable/">This time</a> he looks at a feature to make it easier for people to submit your post to the popular social networking sites of today (such as digg, furl, del.icio.us, etc) - <a href="http://www.calevans.com/view.php/page/notable">WP-Notable</a>.
</p>
<blockquote>
<p>
What WP-Notable does is it allows you to include icons and links to where users can submit your site to the different websites, 15 of them to be exact. The 15 are: del.icio.us, digg, spurl, wists, simpy, newsvine, blinklist, furl, reddit, fark, blogmarks, yahoo, smarkling, magnolia, and segnalo. 
</p>
<p>
I'll be honest, most of those I have never heard of, but it can't hurt to have those options to your visitors who have heard of them and are using it. To see an example of WP-Notable in work, just go to any article and underneath it you'll see the 15 icons with shortcuts to submit that article to those services.
</p>
</blockquote>
<p>
The installation of the plugin is as simple as uploading and activiating, and <i>Ryan</i> includes <a href="http://ryanslife.net/2006/08/22/wp-plugins-wp-notable/">a sample usage</a> to integrate into your page.
</p>]]></description>
      <pubDate>Tue, 22 Aug 2006 15:18:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Spindrop.us: Digg-style AJAX comment editing in PHP/symfony]]></title>
      <guid>http://www.phpdeveloper.org/news/6027</guid>
      <link>http://www.phpdeveloper.org/news/6027</link>
      <description><![CDATA[<p>
Users of the site <a href="http://www.digg.com">Digg</a> will know how the commenting works. It allows you, through a series of Ajax calls and other information, to edit the comments that you've made for a certain amount of time right on the page. It's a handy feature, and in <a href="http://spindrop.us/2006/08/13/digg-style-ajax-comment-editing-in-phpsymfony/">this new posting</a> over on Spindrop.us, they show you how to create it (with the help of symfony).
</p>
<blockquote>
<p>
It's pretty straight forward. For all of your posted comments you check if the owner of them is viewing them within 3 minutes of posting the commen. 3 minutes is usually enough time to notice you made a typo, but if you disagree I'll leave it to you to figure out how to adjust the code.
</p>
<p>
For example, I make a comment, realize I spelled something wrong and then I can click on my comment to edit it. Of course using AJAX means this all happens without having to reload the web page. Therefore the edits are seemingly quick. So let's add it to any web site.
</p>
</blockquote>
<p>
He <a href="http://spindrop.us/2006/08/13/digg-style-ajax-comment-editing-in-phpsymfony/">steps you through the process</a>, first creating the DIV for the each of the comments, then some Javascript to make it editable. He then creates a timer to monitor how long it's been since the comment to limit the editing to three minutes. Finally, the code bits to load the text from the database and to save the text back in once it's been edited.
</p>]]></description>
      <pubDate>Mon, 14 Aug 2006 08:10:15 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jamroll.co.uk: Using Lighttpd to Dodge the Digg Effect]]></title>
      <guid>http://www.phpdeveloper.org/news/5591</guid>
      <link>http://www.phpdeveloper.org/news/5591</link>
      <description><![CDATA[<p>
Everyone that knows of the social news site <a href="http://www.digg.com">Digg.com</a> knows the problems that being linked on it can cause. Smaller servers get overloaded and pages can either be very slow loading or completely offline within minutes of being "digged". There's a few out there that have come up with different solutions, but several of them involve mirroring the content somewhere else. In <a href="http://fry.jamroll.co.uk:8080/digg-prevention.html">this proposal</a>, however, they combine the power of Lightttpd and PHP to handle the loads.
</p>
<blockquote>
<p>
We host a wide variety of sites, covering everything from converting your garage into a living space to video game addictions. Because we are such a small operation, being hit by a link from a big site such as Digg would be both a blessing and a curse.
</p>
<p>
In order to place our ads on each page, we use PHP's auto_append_file feature to run our advertisement code. By using PHP's other neato function, auto_prepend_file, I can create a small piece of PHP code to detect when the site is being hit by Digg. In this situation, I have chosen to use <a href="http://lighttpd.net/">Lighttpd</a> to handle the increased loads, because of its proven high performance with large numbers of concurrent connections.
</p>
</blockquote>
<p>
In <a href="http://fry.jamroll.co.uk:8080/digg-prevention.html">his example code</a>, he shows how you can detect when a user is coming from a digg.com page and take them to a cached version of the page they've requested (with the .cache extension).
</p>]]></description>
      <pubDate>Wed, 14 Jun 2006 20:25:34 -0500</pubDate>
    </item>
  </channel>
</rss>
