PHP Programming Tutorial: Merge and Filter RSS / Atom Feed With XQuery
I've already written about merging two feeds using MagpieRSS and FeedCreator php classes. However, I wasn't aware of XQuery query language that is designed to query collections of XML data. It seems similar to SQL. You can use XQuery to speed your merging and filtering of RSS / atom information (feed) easily. In this tutorial:
You will learn the basics of XQuery processing of RSS and Atom feeds to turn a single feed into an HTML document. Then you produced a more complete solution for outputting the information in a format that suits your needs, including sorting, merging multiple feeds and even handling different feed and source information types. XQuery makes it much easier to merge and filter information from XML documents when you embed the filtering instructions right into the document that you use to generate the output format. You can use that functionality to aggregate information from RSS and Atom feeds into the format you need. In this article, look at the structure of the RSS and Atom formats and how XQuery can simplify the display of that information.
=> Aggregate RSS and Atom information using XQuery
Want to stay up to date with the latest Linux tips, news and announcements? Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
You may also be interested in other helpful articles:
- Ruby On Rails a beginner tutorial
- A great Zend Framework PHP Tutorial (PDF version)
- Tutorial: How to use filters and regular expressions using grep, sed, and awk
- Linux Administrative tasks LPI exam tutorial
- LPI: Linux install and configure printer
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: atom, php classes, query language, xml database, xml documents, xml xquery, xpath xquery, xquery, xquery example, xquery examples, xquery functions, xquery java, xquery sql, xquery tutorial



Recent Comments
Today ~ 1 Comment
Today ~ 50 Comments
Today ~ 3 Comments
Yesterday ~ 10 Comments
Yesterday ~ 8 Comments