<?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>Wed, 19 Jun 2013 13:01:33 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DevShed: Using PHP to Create Relevant Title Tags in osCommerce Websites]]></title>
      <guid>http://www.phpdeveloper.org/news/12549</guid>
      <link>http://www.phpdeveloper.org/news/12549</link>
      <description><![CDATA[<p>
On DevShed today there's <a href="http://www.devshed.com/c/a/PHP/Using-PHP-to-Create-Relevant-Title-Tags-in-osCommerce-Websites/?kc=rss">a new tutorial</a> posted looking at how to customize your osCommerce site's title tags to make things a bit more meaningful.
</p>
<blockquote>
If you use osCommerce for your site's e-commerce, and you're not happy with the quality or quantity of visitors your site receives, keep reading. Though osCommerce provides some excellent features, its weaknesses could be getting in the way of giving you the number of visitors and conversions you expect. Fortunately, there's a solution, hidden in something as simple as a title tag.
</blockquote>
<p>
The trick is in editing two files - the main index and a product info page - to add in a bit of PHP at the top that pulls out the matching category information for the item and pushes that into the $title variable for output.
</p>]]></description>
      <pubDate>Thu, 21 May 2009 10:38:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPFreaks.com: Simple SQL Search]]></title>
      <guid>http://www.phpdeveloper.org/news/12481</guid>
      <link>http://www.phpdeveloper.org/news/12481</link>
      <description><![CDATA[<p>
In a new article on PHPFreaks.com <i>Brad Jacobs</i> takes a look at <a href="http://www.phpfreaks.com/tutorial/simple-sql-search">creating a simple search</a> of the information in your database. Their example will search a table containing article information (title, story content, etc).
</p>
<blockquote>
The aim of this tutorial is to provide users with a basic layout and the logic behind creating a multiple field search in MySQL. As often time users tend to over do the search and add a lot of unnecessary code. By following and understanding this tutorial you should be able to implement this search into your own site and provide a nice and simple SQL Search of your own database. So roll up your sleeves and be prepared to get dirty.
</blockquote>
<p>
Everything's provided for you - the SQL to build and fill the tables and the code to perform the search. They opted to go with LIKE statements in the where clause instead of using something like <a href="http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html">full-text searching</a>. The former works for a lot of situations, but can get slower and slower the more rows there are in the table.
</p>]]></description>
      <pubDate>Fri, 08 May 2009 09:30:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Customizing WordPress Search Results to Sort by Title]]></title>
      <guid>http://www.phpdeveloper.org/news/12464</guid>
      <link>http://www.phpdeveloper.org/news/12464</link>
      <description><![CDATA[<p>
DevShed has <a href="http://www.devshed.com/c/a/PHP/Customizing-WordPress-Search-Results-to-Sort-by-Title/">a new tutorial</a> posted today looking at two methods that you can use to sort the search results from your WordPress blog my title instead of by date - a bit of code and a plugin.
</p>
<blockquote>
Sorting search results by post title in WordPress is often useful, if your website needs its entries to be sorted alphabetically. As a quick background, WordPress is the most popular open source, free blogging/CMS platform. However, the default search results are sorted by date, so there is no easy way to sort them alphabetically except to edit the core WordPress search functionally source code.
</blockquote>
<p>Here's the two options:</p>
<ul>
<li>Updates to the Query.php file to change up the "order by" value to work for the post_title and ascending/descending sort orders
<li>The <a href="http://www.php-developer.org/wordpress-sort-search-result-by-title-plug-in/">Sort Search Results by Title</a> plugin that lets you keep away from the WordPress source and change the results order with a drop-in plugin
</ul>]]></description>
      <pubDate>Wed, 06 May 2009 09:30:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[TotalPHP.com: How to Read an RSS Feed with PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/12387</guid>
      <link>http://www.phpdeveloper.org/news/12387</link>
      <description><![CDATA[<p>
New on the TotalPHP blog today is <a href="http://www.total-php.com/article/19/how-to-read-an-rss-feed-with-php-5/">this article</a> talking about reading RSS feeds with PHP (more specifically with <a href="http://php.net/simplexml">SimpleXML</a>).
</p>
<blockquote>
PHP 5's ability to read XML files is fantastically easy to use. In the past it was possible but it required quite a bit of long winded code to get any where. PHP 5's SimpleXmlElement function makes working with XML a breeze, and with much less code too! 
</blockquote>
<p>
They include a script as an example - five lines to completely parse and pull the title and link information out of the remote RSS file. The example creates a SimpleXML object using the feed's URL and makes each element inside accessible as an object (that can be looped through and properties can be checked on).
</p>]]></description>
      <pubDate>Wed, 22 Apr 2009 11:15:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Juozas Kaziukenas' Blog: Web scraping with PHP and XPath]]></title>
      <guid>http://www.phpdeveloper.org/news/11972</guid>
      <link>http://www.phpdeveloper.org/news/11972</link>
      <description><![CDATA[<p>
In <a href="http://dev.juokaz.com/php/web-scraping-with-php-and-xpath">this new post</a> to his blog <i>Juozas Kaziukenas</i> takes a look at one method for getting the information out of a remote page - parsing it with PHP and XPath (assuming the page is correctly formatted).
</p>
<blockquote>
When I was writing about <a href="http://dev.juokaz.com/php/web-scraping-easy-way-to-monitor-market">how I use web scraping</a>, I was still hadn't tried using Xpath (shame on me). [...] It turned out, that using Xpath is extremely easy, really. When you master it, you can do everything in seconds. Yes, you need to know how XML works and how to write correct Xpath queries (brief explanation of Xpath syntax is available at <a href="http://www.w3schools.com/XPath/xpath_syntax.asp">W3Schools</a>), but hey - these topics are in 1st year of university. 
</blockquote>
<p>
He includes both some sample code (to fetch a titles and prices for cameras from bhphotovideo.com) and a link to a <a href="https://addons.mozilla.org/en-US/firefox/addon/1095">XPath checker</a> you can use to ensure that your query is correctly formatted. It's good that he also includes a quick reminder about the ethical issue with web scraping - it could be considered stealing depending on where the information comes from and who is providing it.
</p>]]></description>
      <pubDate>Wed, 18 Feb 2009 10:28:08 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Arnold Daniels' Blog: How I PHP: The Output Handler - Continued]]></title>
      <guid>http://www.phpdeveloper.org/news/9193</guid>
      <link>http://www.phpdeveloper.org/news/9193</link>
      <description><![CDATA[<p>
Continuing on from his <a href="http://www.phpdeveloper.org/news/9062">previous post</a> on output handling, <i>Arnold Daniels</i> shows how to build on the previous setup and add the ability to include dynamic data into the template.
</p>
<blockquote>
For instance, it would be nice if the data in the left column, 'Beauty Tips', could be different for each page. There are several ways to solve this, but for know I will choose the simplest.
</blockquote>
<p>He takes a few steps to make adding the content simple:</p>
<ul>
<li>Adding markers for the title and left menu to the template
<li>Change the OutputHandler class to make it less static
<li>use setData() to title the page
<li>user setData() to add left column content
<li>Use mark() and endmark() to section off a part of the template.
</ul>
<p>
He's <a href="http://blog.adaniels.nl/wp-content/code/output_handler_2/obdemo/">provided a demo</a> and made the <a href="http://blog.adaniels.nl/downloads/obdemo2.zip">source code available for download</a>.
</p>]]></description>
      <pubDate>Fri, 07 Dec 2007 09:32:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Dave Dash's Blog: Dynamically adjusting your page title in symfony]]></title>
      <guid>http://www.phpdeveloper.org/news/8297</guid>
      <link>http://www.phpdeveloper.org/news/8297</link>
      <description><![CDATA[<p>
<i>Dave Dash</i> has posted a <a href="http://spindrop.us/2007/07/18/dynamically-adjusting-your-page-title-in-symfony/">quick hit</a> for symfony framework users - how to dynamically adjust your page title at your whim.
</p>
<blockquote>
A lot of the content on <a href="http://reviewsby.us/">reviewsBy.us</a> and other sites we make using <a href="http://symfony-project.com/">symfony</a> have dynamic content. We try to have our page titles reflect the content by prepending the name of the specific restaurant, document or menu item before the site name.
</blockquote>
<p>
Their path to the prize is a method, prependTitle that's included in a class (myActions.class.php) and used via it's reference in the application's app.yml file.
</p>]]></description>
      <pubDate>Fri, 20 Jul 2007 12:03:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Felix Geisendorfer's Blog: Handling inline links to dynamic resources]]></title>
      <guid>http://www.phpdeveloper.org/news/6664</guid>
      <link>http://www.phpdeveloper.org/news/6664</link>
      <description><![CDATA[<p>
On the ThinkingPHP Blog today, there's <a href="http://www.thinkingphp.org/2006/11/06/handling-inline-links-to-dynamic-resources/">a look at</a> how to handle inline links to dynamic resources - specifically allowing users to create links in their own content to dynamic content elsewhere on the site.
</p>
<blockquote>
I thought of something that would be both, easy to implement and easy to use. What I finally came up with is tightly coupled to my <a href="http://www.thinkingphp.org/2006/09/18/dessert-11-welcome-back-friendly-urls/">new url system</a> that I'm using, so make sure to <a href="http://www.thinkingphp.org/2006/09/18/dessert-11-welcome-back-friendly-urls/">check it out</a> in case you've missed it.
</blockquote>
<p>
The basic idea of the system is that the URL of the page (made up partly of the title) would be the unique identifier for the page. For example, "[page 12]" would be expanded out to "/pages/12:my-title". <i>Felix</i> takes this idea and runs with it, showing how to implement it in a CakePHP project inside of a Model and a Component. The sample usage code is, of course, also included in <a href="http://www.thinkingphp.org/2006/11/06/handling-inline-links-to-dynamic-resources/">the post</a>.
</p>]]></description>
      <pubDate>Wed, 08 Nov 2006 07:21:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Felix Geisendorfer's Blog: Two Tutorials - Title to Slug & Dependencies with If]]></title>
      <guid>http://www.phpdeveloper.org/news/6554</guid>
      <link>http://www.phpdeveloper.org/news/6554</link>
      <description><![CDATA[<p>
Over on the ThinkingPHP blog today, there's two new tutorials from <i>Felix Geisendorfer</i> - one dealing with <a href="http://www.thinkingphp.org/2006/10/19/title-to-url-slug-conversion/">the conversion</a> of WordPress titles into the "slugs" the system uses, and the other <a href="http://www.thinkingphp.org/2006/10/21/using-if-statements-to-express-dependencies/>an example</a> of using if statements to express dependencies.
</p>
<p>
In <a href="http://www.thinkingphp.org/2006/10/19/title-to-url-slug-conversion/">the first article</a> he shows a method how, inside the structure of CakePHP, to make a component to grab the slug out of the URL and parse it down to the different parts of the title.
</p>
<p>
In <a href="http://www.thinkingphp.org/2006/10/21/using-if-statements-to-express-dependencies/">the second</a>, <i>Felix</i> demonstrates how, with some simple if logic, you can simulate dependencies. His examples include a simple if to check for the return of "true" from various functions and an inline example of an svn export and FTP.
</p>]]></description>
      <pubDate>Mon, 23 Oct 2006 13:17:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Site News: Got a job you want the Community to know about? Let us post it!]]></title>
      <guid>http://www.phpdeveloper.org/news/6225</guid>
      <link>http://www.phpdeveloper.org/news/6225</link>
      <description><![CDATA[<p>
Here on PHPDeveloper.org, we're always trying to do whatever we can to help out the PHP community, so to further that effort we're going to start posting a weekly "jobs roundup" of the job information we recieve. There won't be a charge and it can be anything from contract jobs out to permenant positions anywhere in the world (hooray for the internet!).
</p>
<p>
Now, on to what we need from you - we'd prefer the information to be as concise as possible. Cut and paste of a full listing isn't the way to go here. We'd prefer the summary of the position with a link to more details.
</p>
<p>
Here's the key info we'd like:
<ul>
<li>Company Name
<li>Position title
<li>Position location
<li>Summary description of the position
<li>A link to more information on it (on Monster, Hotjobs, your site, etc.)
</ul>
Other information included along with the request might me truncated or modified slightly to fit within these guidelines.
</p>
<p>
To submit your job information, send it along to <a href="malto:jobs@phpdeveloper.org">jobs@phpdeveloper.org</a> and we'll get it posted and include the phrase "JOB POSTING" somewhere in the subject line. Since this will start off as a weekly thing, you'll need to wait until Friday to see the information show up.
</p>]]></description>
      <pubDate>Fri, 08 Sep 2006 07:50:16 -0500</pubDate>
    </item>
  </channel>
</rss>
