 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
NETTUTS.com: Build an RSS 2.0 Feed with CodeIgniter
by Chris Cornutt November 19, 2009 @ 07:59:33
New on NETTUTS.com today there's a tutorial about building a simple RSS feed for your CodeIgniter application based on the contents of a MySQL database and a standard MVC setup of files to handle the request.
In this tutorial, we will build a RSS 2.0 Feed with the PHP framework CodeIgniter. After this tutorial, you will be able to build a feed for any custom website in no time at all.
The process (like the CodeIgniter framework) is a pretty simple one. He helps you set up the MySQL database and tables via phpMyAdmin and creates a simple model, view and controller to handle a "yourdomain.com/feed" request with an RSS document. All sample code is included, ready for you to cut and paste.
voice your opinion now!
rss feed codeigniter framework tutorial
TotalPHP.com: How to Read an RSS Feed with PHP 5
by Chris Cornutt April 22, 2009 @ 11:15:16
New on the TotalPHP blog today is this article talking about reading RSS feeds with PHP (more specifically with SimpleXML).
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!
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).
voice your opinion now!
title link object example simplexml php5 read rss
NETTUTS.com: Create a Slick Flickr Gallery with SimplePie
by Chris Cornutt February 26, 2009 @ 12:56:12
In this new tutorial from NETTUTS.com there's information on how to create a gallery of the images from your Flickr account with help from SimplePie, a PHP tool for parsing XML feeds (like RSS).
Ok, so we're going to be touching on a number of technologies for this tutorial. We'll be using an RSS feed from Flickr, a bit of PHP, and some jQuery to make things nice and interactive! We'll use SimplePie to handle the RSS feed, as it makes life much easier, and can be used in any other projects where RSS feeds are involved.
They pull in the public photo information for a given user ID and parse details like the title of the gallery and each image's details, including descriptions. Add in a few links, some Javascript (jQuery) and HTML and you have a simple image gallery that automatically updates when you upload new photos to Flickr. You can grab the source here or just see it in action in their demo.
voice your opinion now!
tutorial simplepie flickr image gallery jquery rss feed
Marc Gear's Blog: How to learn a new PHP framework
by Chris Cornutt December 11, 2008 @ 10:20:28
In this new blog entry Marc Gear suggests a few things that you can do to help learn a new framework quickly and easily:
There are dozens of PHP frameworks around now, some attracting more attention than others. I am no expert on these frameworks and have not used a single one extensively so I wouldn't dream of recommending one over the other, nor do I want to enter the debate about what is or is not a framework (I'll work on the assumption that anything calling itself a framework is a framework). Instead I'm going to concentrate on how you can get started with a new framework as quickly as possible.
He suggests four examples that can help you get more familiar with each framework and how they're structured - a "hello world" as a first step, creating a simple calculator, making a guestbook and making a simple script to parse and paginate a remote RSS feed.
voice your opinion now!
learn framework helloworld calculator guestbook rss parse page
Smashing Magazine: 10 Useful RSS-Tricks and Hacks For WordPress
by Chris Cornutt December 03, 2008 @ 10:28:41
Smashing Magazine has a few helpful RSS tips and tricks for WordPress users out there:
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.
Here's their list:
- Control When Your Posts are Available via RSS
- Redirecting WordPress Feeds to FeedBurner Feeds
- Insert Ads (or Anything Else) in Your RSS Feed
- Format Your Images for Feed Readers
- Provide Your Readers with a Feed for Each Post
- Exclude Categories from Your RSS Feed
- Display Any RSS Feed on Your WordPress Blog
- Use Category-Specific RSS Feeds
- List RSS Feeds by Category
- Get Rid of RSS Feeds the Clean Way
voice your opinion now!
wordpress rss feed tip trick feedburner image category ad
CSS Tricks: Create a Slick iPhone/Mobile Interface from any RSS Feed
by Chris Cornutt July 17, 2008 @ 10:22:55
On the CSS Tricks blog there's a recent article showing how to combine the jQuery Javascript library and the SimplePie PHP feed aggregator to create a iPhone/mobile interface to any RSS feed.
We are going to create a web page that is formatted specifically for the iPhone (but would presumably be good for other mobile devices as well). This web page will dynamically fill itself with content from any RSS feed that you give it. The interface is going to be built to be easy to use on a mobile device, with large "touchable" areas and nice (jQuery) animations that whisk you between articles.
They work through the process - five simple steps:
- Create the iPhone Environment
- Pull in the RSS Feed
- Creating the Front Page: Headlines Only
- Creating the Article Pages: jQuery Slider Style
- Adding Some Flair
All code and images needed are included (as well as a demo if you'd like to try it out).
voice your opinion now!
iphone tutorial mobile rss feed reader simplepie jquery
International Stock Exchange Forum: Getting RSS Feeds into Lively
by Chris Cornutt July 10, 2008 @ 15:28:09
Just for you Lively early adopters out there, there's a script that's been posted to the International Stock Exchange forum showing how to get a feed into the virtual world.
Here is a free PHP script to convert the titles of a news feed to a PNG graphic for display in Google Lively. To display a news feed in Google Lively, go to the "Add object" button, search for "Picture Frame". Click on add to room and then edit properties. In Gadget Options place the url of the PHP script in the option box.
The script can then be hosted on a web server where it can pull down the latest stories and update the PNG image accordingly.
voice your opinion now!
rss feed lively google object widget picture frame gd
|
Community Events
Don't see your event here? Let us know!
|