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

PHPBuilder.com:
Building a PHP RSS Aggregator
April 04, 2013 @ 13:09:13

On PHPBuilder.com today there's a quick tutorial showing you how to build an RSS aggregator that can pull in RSS content and drop it into a MySQL table.

RSS stands for Really Simple Syndication. It is a Web format that allows website owners to distribute their latest and frequently updated content in a standardized way. RSS feed is actually an XML document that can be easily read by using RSS reader software or built-in functions in programming languages, such as PHP or Java. In this article, the focus will be on building a RSS aggregator in PHP.

They introduce the basics of an RSS feed - a specially formatted XML document with values for individual posts (like "title" and "link". They provide the SQL structure for the "article" and "feed" tables and the code to pull out each "feed" record, parse it and drop that into the "article" table for later consumption. They show two different methods for getting the content - one using file_get_contents and another using cURL.

0 comments voice your opinion now!
rss aggregator tutorial mysql database parse

Link: http://www.phpbuilder.com/articles/php-functions/xml/building-a-php-rss-aggregator.html

Stuart Herbert's Blog:
Last Call For Requirements For A PEAR Channel Aggregator
April 27, 2011 @ 09:10:51

If you're still interested in contributing your ideas and feature requests for a PEAR channel aggregator, Stuart Herbert wants to know (last call before the development starts).

There's already been a sizeable response so far, but if you haven't had your say yet, please head on over and leave a comment soon. I'll write up a summary of the suggested requirements on Monday.

The idea behind the aggregator is to provide a single place for developers to look (besides the PEAR site, of course) for PEAR packages they might find useful. The key here is that the aggregator would be bringing together the independent channels out there and making them simpler to find. Feature suggestions so far include: showing where the library lives (like github or bitbucket), creating a proxy channel for a "single install" location and customized lists of a user's "in use" and "tracked" packages.

0 comments voice your opinion now!
pear channel aggregator project lastcall feedback


Padraic Brady's Blog:
Wishing For A PEAR Channel Aggregator? Yes, Please!
April 13, 2011 @ 12:56:23

In his latest post Padraic Brady talks about an effort that's been put out there (by Stuart Herbert) to come up with a PEAR channel aggregator - something he fully supports.

Since we seem to like blaming the PEAR Group, and getting that ball kicked back to us, it's time we did something useful. We've spent too much time ignoring PEAR as we grew apart from it with our frameworks, standalone libraries and custom plugin architectures. We're making life harder for ourselves in doing so. Stuart Herbert has posted a short article to gather requirements for a Pear Channel Aggregator. I strongly suggest that interested PHP programmers drop by and add a comment with some suggestions/feedback.

Stuart's suggestion has already gathered some good comments and suggestions from all around the community including some mentions of efforts from the Symfony project to do something similar.

0 comments voice your opinion now!
pear channel aggregator project


PHPBuilder.com:
Creating an RSS Aggregator with the PHP SimplePie Library
August 18, 2010 @ 13:09:35

On PHPBuilder.com there's a new tutorial looking at using the SimplePie library to aggregate RSS feeds.

PHP developers are particularly lucky as a fantastic library named SimplePie not only offers the aforementioned features but also supports both RSS and Atom formats, multiple character encodings, and an architecture that makes integration with your favorite content management and blogging platforms a breeze. In this tutorial I'll introduce you to SimplePie, showing you how easy it is to create a rudimentary custom RSS aggregator using this powerful library.

He helps you get SimplePie installed (downloaded and unpacked) pulling in both single and multiple feeds. There's no caching or storage included in the tutorial, but it would be recommended if you choose this as an option for everyday use.

1 comment voice your opinion now!
rss aggregator simplepie library tutorial


Padraic Brady's Blog:
Optimise Your Zend_Feed Aggregators With HTTP Conditional GET Support
July 29, 2008 @ 11:13:06

Padraic Brady has written up a post on how he implemented conditional fetching (GET) as a part of the Zend_Feed component of the Zend Framework.

You see, by default, Zend_Feed is stupid. It will blindly drag in whatever RSS you point it at, parse it, present an accessible API (which is largely an abstract API across PHP DOM), and then merrily sit back while you are driven demented. There is a problem in blindly fetching RSS and parsing it - RSS feeds from a huge number of online sources only change rarely. The rest of the time the feed is unchanged.

The key is in the "Last-Modified" header data of the remote file (and ETag). He shows how to use this knowledge in a simple example - pulling data with a ZFBlog_Aggregate class and dumping the contents into a database table. This code checks the return status for a 304 ("Not modified") and closes out the connection if so. Otherwise it grabs the content and updates the database with the most recent fetch times to compare to the "Last-Modified".

0 comments voice your opinion now!
zendframework feed aggregator conditional get lastmodified


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


DevShed:
Building an RSS File
February 14, 2007 @ 09:02:00

In the continuing series on RSS files, DevShed has posted this new part with a focus on the "theoretical aspects" of developing an RSS file.

These aspects include things like examples of the elements it can contain, elements that are required for it to be a compliant RSS document, a look at the enhanced RSS functionality and structure (more information about the creator of the RSS embedded in the data), and even a look at what an aggregator is and what they would do with your RSS file.

Keep an eye out for the last installment in the series - a look at actually creating the RSS file from your data (probably from a database) and displaying it for the world to see.

0 comments voice your opinion now!
build rss file element required aggregator ehnanced build rss file element required aggregator ehnanced


Hasin Hayder's Blog:
FeedPHP is going to be the largest PHP News Source
June 15, 2006 @ 06:04:11

Hasin Hayder has a new note on his blog today about a new site he's developed to aggregate the feeds from other PHP-related sites and blogs as well as a few on other topics as well.

FeedPHP is a free RSS aggregator which collects feed, parse and display the titles with a link back to the original source. The whole site is a single page with mod_rewrite tricks.

For performance, the contents are cached for several minutes, otherwise my site will be convicted for consuming excess bandwidth from those sites. Moreover, the site will be extremely slow for consuming remote contents frequently. Output buffering is used to serve contents quickly.

There is definitely tons of content here, but my only complaint is that it seems to load each section a bit slow, especially for cached data? Other than that, it's a great resource for an overview of what's happening in the PHP (and related) communities.

0 comments voice your opinion now!
feed community resource rss aggregator mod_rewrite feed community resource rss aggregator mod_rewrite


Crynobone's Blog:
Creating our own RSS Aggregators
June 06, 2006 @ 06:09:53

In a previous post crynobone shared a method for creating RSS feeds from the information stored in a database. He's back this time to handle just the opposite - gathering the data from multiple RSS feeds into a simple aggregator.

What is RSS Aggregators? Why you may already familiar with Feedburner, Live.com, My Yahoo and Google Personalized Page as well as other News Aggregators where you have freedom to control your own News. Here your chance All we do need is to get Magpie RSS parser for PHP and some AJAX coding to create our very own News page.

As mentioned, the entire setup revolves around the MagpieRSS library, making it a simple task to pull in and work with the contents of remote RSS files. He even shows how to use a simple Ajax connection to request the latest updates you've fetched and stored in the database.

0 comments voice your opinion now!
rss aggregator magpierss library tutorial ajax rss aggregator magpierss library tutorial ajax


Informit.com:
How To Create an RSS Aggregator with PHP and AJAX
December 21, 2005 @ 13:32:35

On our sister site, AjaxDeveloper.org, today there's a new post with information about creating your own RSS aggregator with the help of PHP and Ajax.

Imagine using a simple HTML file to send a request to a server-side script, receive a custom XML file based on that request, and then display it to the user without ever refreshing the browser! Kris Hadlock explains how to use a combination of PHP and AJAX to create real-time data transfers in any application without a browser refresh.

They (obviously) require some knowledge from the developer of PHP and Javascript, but other than that, they pretty much give you all the code you'll need...

0 comments voice your opinion now!
ajax create rss aggregator ajax create rss aggregator



Community Events





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


tool podcast package community security update voicesoftheelephpant introduction opinion interview series symfony library laravel composer release version language framework mvc

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