You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

  • Challenges with building a feed parser
    • Too many standards
      • RSS (0.9, 0.91, 0.92, 1.0, 2.0)
      • Atom (0.3 and all draft specs)
      • OPML
      • FOAF
      • RDF
      • Modules (dc, aggregation, content, etc)
    • Semantic confusion:
      • rss:entry vs atom:item
      • title issues across specifications (dc, rss, atom, etc)
    • Encoding issues
      • Invalid entity references
      • XML prefix prior to <?xml?> (usually XML comments)
    • Date encoding issues:
      • RFC822 (RSS 2.0)
      • ISO8601 (RSS 1.0 and Atom)
  • Feed Event Model
    • FeedParserListener:
      • init()
      • onChannel( state, title, link description ): void
      • onItem( state, title, link description ): void
      • onItemEnd(): void
  • HTTP issues:
    • Timeouts
    • ETags (If-None-Modified)
    • If-Modified-Since
    • UserAgent
  • Problems with DOM models:
    • Namespace matching doesn't line up correctly.
    • Doesn't support ad-hoc schema updates with extenions
    • Plugin API to pass events with vendor specific interfaces.
  • No labels