News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

MaltBlue.com:
Zend Framework - How To Implement RSS Feeds the Easy Way
July 12, 2012 @ 10:08:01

On the MaltBlue blog Matt Setter has a new tutorial posted about creating RSS feeds quickly and easily with the help of the Zend Framework and context switching.

Ever wanted to know how to take an existing Zend Framework application where you have posts, records, news or anything else stored in a data source and updated regularly, and make it available as a feed for your users that they can subscribe to? Well today, that's what I want to show you. Recently, during the development of the burgeoning PHP cloud development casts site, I had just that situation.

He shows you how to set up some of the routing for the RSS and Atom feeds, pointing them to specific module/controller/action paths for handling. He then creates a "_getFeed()" method that pulls together the needed content and uses the Zend_Feed_Writer_Feed component to create the feed of the correct type. This is then exported, returned and - thanks to a bit more configuration - turned into a correctly-formatted feed.

0 comments voice your opinion now!
zendframework rss atom feed tutorial zendfeed


ZendCasts.com:
Creating RSS & Atom Feeds with Zend_Feed
September 07, 2010 @ 11:27:55

New on ZendCasts.com this screencast helps you use the Zend Framework's Zend_Feed component to create simple RSS and Atom feeds for your application.

The screencast shows you how to create a basic controller with information for a sample blog post (title, date creates, content, etc) and a simple method to create default posts. A second controller is made to handle the feed creation and two actions are created - one for RSS and the other for Atom. The posts are then parsed and pushed out to views for displaying as feeds.

The site has more great screencasts where this came from so check out their screencasts section for ones on other topics like ZendX_JQuery, working with Zend_Log, and validation with Zend_Validate.

0 comments voice your opinion now!
zendfeed rss atom tutorial screencast


Developer.com:
Creating RSS Feeds with the Zend Framework for Fun and Profit
February 26, 2009 @ 09:31:52

Developer.com has posted this new tutorial that finds yet another use for the popular Zend Framework Zend_Feed component - reading the feeds for your Google Adsense ads (and working with Adsense for Feeds).

As you've seen in previous tutorials, the Zend Framework offers Web developers a tremendously powerful solution not only for building maintainable websites, but also for taking advantage of the latest web services. This offering includes the Zend_Feed component, which makes it incredibly easy to both build and consume RSS feeds.

He shows how to create an "advertising-aware RSS feed" via the Adsense for Feeds and putting Adsense ads into your feed. The information for the feed is initially generated by an instance of a Zend_Feed component (with the information pulled from a backend database).

0 comments voice your opinion now!
tutorial zendframework zendfeed profit adsense google component


ProDevTips.com:
Trackbacks with Google Blog Search and Zend Feed
September 15, 2008 @ 10:21:53

Wanting to automate the trackbacking process for articles linked to on the site, the ProDevTips blog went with a simple method using the Google Blog Search and Zend_Feed to parse the resulting feed from the search.

So Google Blog Search it is then. When you use the search you have the option of subscribing to it through an RSS feed. I did a link:url search and just copied the resultant feed URL. Using this URL it is possible to fetch for instance 10 results and display them through parsing the atom feed.

The example script queries the Google search, requests an output format of atom and spits back out a listing of the other sites/blog posts that link to any given article.

0 comments voice your opinion now!
trackback google blog search zendfeed tutorial


Zend Developer Zone:
Using Zend_Feed to Merge Multiple RSS Feeds
April 08, 2008 @ 10:32:58

On the Zend Developer Zone, a new tutorial has been posted that anyone looking to "blend feeds" might want to take a look at. It's a guide to using the Zend_Feed component of the Zend Framework to combine the contents of multiple RSS feeds.

As part of my playing around with the Zend Framework, I've decided to make this merged RSS feed using the Zend_Feed component. Actually at the end I've realized that this merged feed idea is quite useless, but at least this post came out of it :-)

He developed it originally as a way to combine his twitter and blog feeds into one thing to provide the latest updates to readers from both in one simple place. He shows how to take in the two feeds, each in its own feed object and merge them into one array. This array is then pushed back out to the visitor an the RSS format (thanks to Zend_Feed_Rss).

1 comment voice your opinion now!
zendframework zendfeed zendfeedrss combine tutorial feed multiple


Padraic Brady's Blog:
Zend_Feed Getting Started With Aggregating RSS/Atom Content
February 12, 2008 @ 09:32:00

Padraic Brady has put together a very comprehensive post on his blog today about using the Zend_Feed component of the Zend Framework to help with the aggregation of content from other sites (like RSS and Atom feeds).

In this entry I explore Zend_Feed from the perspective of someone aggregating RSS and Atom feeds with a view to building a database of uniquely identified content for later presentation in a "Planet" style application. [...] In fact all we create here is a simple command line script to aggregate content frequently (e.g. just set up cron to run it every hour or so) into a database for later presentation.

He guides you through each step of the way:

  • Setting Up Database And Models
  • The Aggregator Script Foundation
  • Using Zend_Feed to get common data for RSS/Atom entries
  • Putting It All Together

There's plenty of code (and SQL to insert) in the post and he explains each point well, helping to make the development process smoother. There's even a summary section to toss in a few extra bits of information just in case you missed them along the way.

0 comments voice your opinion now!
zendfeed zendframework aggregate rss atom feed content


ProDevTips.com:
Parsing tags with Zend Feed
December 12, 2007 @ 13:13:07

A new tutorial on the ProDevTips.com website today shows how to parse tags (like in a feed) with the Zend_Feed component of the Zend Framework.

Consuming a feed with Zend Feed is quite simple if you don't want to do something fancy.

They include an example of how to pull in the feed, parse out information from the various tags, and push that information into a database they've created (they include the code for the script and to create the database as well).

3 comments voice your opinion now!
parse feed xml zendfeed zendframework tutorial parse feed xml zendfeed zendframework tutorial


Alexander Netkachev's Blog:
Syndicate content with Zend Framework Zend_Feed classes
April 02, 2007 @ 07:44:00

Alexander Netkachev has posted a quick tutorial today to his blog about how to use the Zend Framework (specifically the Zend_Feed component) to create an XML feed for your site.

This article explains basics of content syndications and demonstrates how to use Zend Framework Zend_Feed classes for consuming a news feed of your site.

His format of choice is Atom, slightly different from the RSS most sites use. He includes a sample document to show some of the differences (assuming you know the RSS format, of course) - both complex and simple versions. Also included is a UML layout of the Zend_Feed class, showing all of the methods and properties therein.

With the groundwork laid, he starts on the sample application - creating an Atom feed from a PHP array of data. He grabs the information from the database and pulls it into the controller where it's parsed and massaged into the array format the output needs. Then it's just a matter of passing it to the view and voila - an Atom feed worthy of consumption.

0 comments voice your opinion now!
syndicate content zendframework zendfeed atom format syndicate content zendframework zendfeed atom format


Dotvoid.com:
Zend Feed for a Swedish web development blog aggregator
March 13, 2007 @ 10:31:00

In a new post to his blog today, Danne Lundqvist shares his method for creating a blog aggregator (in the style of the planet-planet sites) to re-aggregate all of the feeds back ou tinto one.

Lately I have begun to get more and more annoyed with my feed reader. I use a simple feed reader which lack most features except for subscribing to and reading feeds. The one thing that annoys me the most is that it can't aggregate several feeds into one feed. Yesterday I finally decided to scratch that itch.

His method uses the Zend Framework to accomplish the goal - and "the whole website logic (both model and controller) is about 200 lines of code". There's no exception or error handling in it, but it works and the Zend_Feed module works well to grab just about any kind of feed.

0 comments voice your opinion now!
zendframework zendfeed swedish development blog aggregator zendframework zendfeed swedish development blog aggregator



Community Events





Don't see your event here?
Let us know!




All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework