Websites/Mozilla.org/Archive/Design Implementation/RSS: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(first evaluation results)
Line 18: Line 18:
There are several different options (subject to evaluation):
There are several different options (subject to evaluation):


* Write a parser from scratch
=== Write a parser from scratch ===
* Use a library/class/framework
=== Zend Framework ===
** Zend
* New BSD license
*** New BSD license
* very modular
*** very modular
* well maintained, active development
*** well maintained, active development
* DB abstraction layer, cache handling
*** DB abstraction layer, cache handling
=== PEAR ===
** PEAR
* XML_Feed_Parser
*** XML_Feed_Parser
** LGPL license
**** LGPL license
** No maintainer
**** No maintainer
* XML_RSS
*** XML_RSS
** PHP license
**** PHP license
** No active development (last version from 06)
**** No active development (last version from 06)
=== SimplePie ===
** SimplePie
* BSD license
*** BSD license
* Caching out of the box (flat file only right now, but could be overloaded with own DB-class)
*** Caching out of the box (flat file only right now, but could be overloaded with own DB-class)
* Meshing of multiple feeds out of the box
*** Meshing of multiple feeds out of the box
* Problems with some feeds, but workarounds exist
*** Problems with some feeds, but workarounds exist
* Nice API
** Other ??
 
=== Other ===

Revision as of 20:55, 14 May 2009

What we want to do

We want a feed parser that

  • pulls latest feed info from feeds.mozilla.com for front page
  • pulls latest feed info from news.rdf (for now) for front page
  • optionally: creates mash ups of multiple feeds on sub-pages (e.g. Our causes > Education)

How to do it

We need to decide:

  • Do we want to cache things?
  • If so, what kind of cache/db should be used?

Implementation

There are several different options (subject to evaluation):

Write a parser from scratch

Zend Framework

  • New BSD license
  • very modular
  • well maintained, active development
  • DB abstraction layer, cache handling

PEAR

  • XML_Feed_Parser
    • LGPL license
    • No maintainer
  • XML_RSS
    • PHP license
    • No active development (last version from 06)

SimplePie

  • BSD license
  • Caching out of the box (flat file only right now, but could be overloaded with own DB-class)
  • Meshing of multiple feeds out of the box
  • Problems with some feeds, but workarounds exist
  • Nice API

Other