<?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>Sat, 18 May 2013 15:31:02 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Smashing Magazine: 10 Useful RSS-Tricks and Hacks For WordPress]]></title>
      <guid>http://www.phpdeveloper.org/news/11495</guid>
      <link>http://www.phpdeveloper.org/news/11495</link>
      <description><![CDATA[<p>
Smashing Magazine has a few <a href="http://www.smashingmagazine.com/2008/12/02/10-useful-rss-hacks-for-wordpress/">helpful RSS tips and tricks</a> for WordPress users out there:
</p>
<blockquote>
Let's take a look at 10 useful, yet rather unknown RSS-tricks for WordPress. Each section of the article presents a problem, suggests a solution and provides you with an explanation of the solution, so that you can not just solve some of your RSS-related problems but also understand what you are actually doing.
</blockquote>
<p>Here's their list:</p>
<ul>
<li>Control When Your Posts are Available via RSS
<li>Redirecting WordPress Feeds to FeedBurner Feeds
<li>Insert Ads (or Anything Else) in Your RSS Feed
<li>Format Your Images for Feed Readers
<li>Provide Your Readers with a Feed for Each Post
<li>Exclude Categories from Your RSS Feed
<li>Display Any RSS Feed on Your WordPress Blog
<li>Use Category-Specific RSS Feeds
<li>List RSS Feeds by Category
<li>Get Rid of RSS Feeds the Clean Way
</ul>]]></description>
      <pubDate>Wed, 03 Dec 2008 10:28:41 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Christoph Dorn's Blog: Your Mac can talk FeedBurner stats via PHP!]]></title>
      <guid>http://www.phpdeveloper.org/news/11043</guid>
      <link>http://www.phpdeveloper.org/news/11043</link>
      <description><![CDATA[<p>
In a <A href="http://feeds.feedburner.com/~r/AllAroundPHP/~3/393935524/">recent post</a> to his blog <i>Christoph Dorn</i> shows off a cool little trick to getting your Mac to respond to your (vocal) request for website stats from FeedBurner.
</p>
<blockquote>
You have a blog and you are proud of it. Your sense of self-worth depends on how many people are following it. Making a detour to <a href="http://www.feedburner.com/">FeedBurner</a> every day (the feed stats only update once a day) to check on your vitals is simple and does not take long (with a bookmark) but there has to be a more automated way.
</blockquote>
<p>
His better way involves tying together the speech recognition that OS X offers, the "say" command line tool and a PHP5 script that can go out and read/parse the FeedBurner XML information for your website. Throw in a little command line script and some set up in the Speech tools and you have a handy little script that can fetch your latest stat information just from your request.
</p>]]></description>
      <pubDate>Thu, 18 Sep 2008 17:35:39 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mark Jaquith's Blog: WordPress 2.0.6: Feedburner issue, and fix]]></title>
      <guid>http://www.phpdeveloper.org/news/7052</guid>
      <link>http://www.phpdeveloper.org/news/7052</link>
      <description><![CDATA[<p>
For users that have <a href="http://www.phpdeveloper.org/news/7042">just updated</a> to WordPress 2.0.6 (you have updated, haven't you?), you might notice some problems with the feed and how it plays with The Feedburner service. Unfortunately, there's a bit of a problem that can cause it to serve up a 304 error when the feed's requested.
</p>
<p>
The WordPress folks know about it, though, and have <a href="http://markjaquith.wordpress.com/2007/01/06/wordpress-206-feedburner-issue-and-fix/">already responded</a> with what you'll need to fix (a small amount of PHP code) to get things back in working order.
</p>
<blockquote>
It's actually related to the Server 500 error issue that 2.0.5 had (and 2.0.6 fixes)'¦ it just affects a different set of people. The solution to one problem caused the other. One symptom of the problem is the following error message from FeedBurner as it tries to request a WordPress 2.0.6 feed.
</blockquote>
<p>
They've even isolated it down to those running mod_php on their servers as opposed to FastCGI/CGI or Lighttp users. Users experiencing the issue can grab <a href="http://txfx.net/files/wordpress/2.0.6-upgrade/functions.phps">this updated functions.php file</a> or <a href="http://txfx.net/files/wordpress/2.0.6-upgrade/functions.php.diff">a patch</a> if you so choose. There's even a guide to editing it manually if you'd like to get your hands dirty.
</p>]]></description>
      <pubDate>Mon, 08 Jan 2007 13:57:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Shiflett's Blog: PHP Tidbits]]></title>
      <guid>http://www.phpdeveloper.org/news/6567</guid>
      <link>http://www.phpdeveloper.org/news/6567</link>
      <description><![CDATA[<p>
<i>Chris Shiflett</i>, in working on a new, cleaner and leaner version of his site, <a href="http://www.shiflett.org">shiflett.org</a>, has come across a few "PHP tidbits" that he shares in his <a href="http://shiflett.org/archive/274">latest entry</a>.
</p>
<blockquote>
Just for fun, I'd like to share a couple of quick PHP tidbits with you that I wrote instead of starting on the real project at hand.
</blockquote>
<p>
<a href="http://shiflett.org/archive/274">This post</a> is the first of them, demonstrating two things . The first of which how you can make a useful tool with the SimpleXML functionality of PHP 5 and a REST API (like his example from <a href="http://feedburner.com/fb/a/api/awareness">Feedburner</a>). His example grabs the statistics from the Feedburner API and pulls out the circulation number with two lines of code. 
</p>
<p>
The second bit of functionality he shares is a quick function for shortening URLs to make them a bit easier to manage. It insets the ellipsis into the middle of the long URL to make it easier to squeeze into that layout.
</p>]]></description>
      <pubDate>Wed, 25 Oct 2006 07:34:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ben Ramsey's Blog: Create an Image from XML Data]]></title>
      <guid>http://www.phpdeveloper.org/news/5398</guid>
      <link>http://www.phpdeveloper.org/news/5398</link>
      <description><![CDATA[<p>
In the ever-continuing work that he's been doing with SimpleXML lately, <i>Ben Ramsey</i> shares <a href="http://benramsey.com/archives/create-an-image-from-xml-data/">a new bit of code</a. on his blog today for creating images from XML data.
</p>
<quote>
<i>
<p>
It's not really a "problem," but <a href="http://www.feedburner.com/">FeedBurner</a>'s FeedCount image is a rigid 88 pixels wide, and I wanted to include it on my <a href="http://benramsey.com/">homepage</a> under the "syndicate" heading, an area that I've defined in my template as having only 80 pixels in width. The 88 pixels were throwing things off, so I used the width attribute of the HTML img tag to solve the problem. Unfortunately, it just squeezes the image, making the text in it appear fuzzy.
</p>
<p>
FeedBurner conveniently provides what they call their "<a href="http://www.feedburner.com/fb/a/developers/awapi">Awareness API</a>," which is a <a href="http://en.wikipedia.org/wiki/REST">RESTful</a> interface to retrieve (as XML data) the same exact information displayed in the FeedCountTM image. I simply fired up an image editing program, shuffled things around a bit until the image was a nice, clean 80 pixels wide, and saved it as the base image (shown to the right) I would use for generating an image similar to the one FeedBurner provides.
</p>
</i>
</quote>
<p>
He <a href="http://benramsey.com/archives/create-an-image-from-xml-data/">explains what the script does</a> via the SimpleXML call and gives the code to accomplish it. It's a short bit of code, but quite powerful when combined with the API from Feedburner - grabbing the data from a local image and integrating the text response from the API. It's great that they have that too - definitely a wise move to allow users even more flexibility in integration for their site.
</p>]]></description>
      <pubDate>Fri, 19 May 2006 05:50:53 -0500</pubDate>
    </item>
  </channel>
</rss>
