RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

21
RSS Part Two ACE 2004 June 21, 2004
  • date post

    19-Dec-2015
  • Category

    Documents

  • view

    215
  • download

    0

Transcript of RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

Page 1: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

RSS Part Two

ACE 2004

June 21, 2004

Page 2: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

Versions of RSS

• .90

• .91

• 1.0

• .92

• .93

• 2.0

Page 3: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

...And then there’s Atom

Page 4: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

A Short History of RSS

• In the beginning there was Netscape– RSS .90 developed for Netscape portal– RSS .91 (also for Netscape)

• More standard• More valid XML• Still in extensive use today (weblogs, news)

Page 5: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

History of RSS (con’t.)

• Then came RSS 1.0– Enhanced metadata format– Rich Document Format– XML namespaces

• RSS 0.92– 0.91 with optional elements– Eventually leads to RSS 2.0

Page 6: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

History of RSS (con’t.)

• RSS 0.93– Talked about but never used

• RSS 2.0– The end of RSS– 0.92 with optional elements

• Atom– Attempt to step outside RSS progression

Page 7: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

Versions in use today

• 0.91• 0.92• 1.0• 2.0• Atom (Google)

RSS versions in use at Syndic8

0.91

0.92

1.0

2.0

Page 8: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

Web Services

Page 9: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

What are Web Services?

• Applications that interface with each other to give you direct access to information

• Automated resources accessed via the Internet

• Web-based applications that can dynamically interact with other Web apps using XML protocols

Page 10: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

Web Services can provide...

• Personalized web content

• Immediate updates

• Internal content integration

• External content incorporation

Page 11: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

Advantages

• You only have to negotiate once

• Automatic maintenance

• Immediate response

• One-time setup

Page 12: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.
Page 13: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.
Page 14: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

Creating the RSS FeedCreating the RSS Feed

Investigate your current CMS / Investigate your current CMS / blogging system, it may already do blogging system, it may already do it for you.it for you.

– Might have to configure CMS or blogMight have to configure CMS or blog

Page 15: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

Creating the RSS FeedCreating the RSS Feed

Some other systems may allow you to Some other systems may allow you to “mark up” your content in a manner so “mark up” your content in a manner so that “scraping” tools can be used to that “scraping” tools can be used to generate the XML code.generate the XML code.

– Mark up contentMark up content– Register your siteRegister your site

http://feedster.comhttp://feedster.comhttp://blogstreet.comhttp://blogstreet.com

Page 16: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

Creating the RSS FeedCreating the RSS Feed

Form input at WebDevTipsForm input at WebDevTipshttp://www.webdevtips.com/webdevtips/http://www.webdevtips.com/webdevtips/

codegen/rss.shtmlcodegen/rss.shtml

Page 17: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

Creating the RSS FeedCreating the RSS Feed

OK, so you don't use blogging OK, so you don't use blogging software, forms are a hassle, but you software, forms are a hassle, but you have content that would lend itself to have content that would lend itself to being syndicated. Now what? If your being syndicated. Now what? If your site is generated with a scripting site is generated with a scripting language like PHP, ASP, JSP, Python, language like PHP, ASP, JSP, Python, or Perl, then there are software or Perl, then there are software libraries you can use to write your libraries you can use to write your own. It is doable! own. It is doable!

Page 18: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

Software Scripting for RSSSoftware Scripting for RSS

Generally, two things you do with Generally, two things you do with RSS from a software coding RSS from a software coding perspective:perspective:

1.1. Create a RSS fileCreate a RSS file

2.2. Parse an existing RSS fileParse an existing RSS file

Page 19: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

Software Scripting for RSSSoftware Scripting for RSS

Software parsing libraries are Software parsing libraries are generally “loose” and allow you to generally “loose” and allow you to parse multiple versions.parse multiple versions.

Page 20: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

Scripting Libraries and TutorialsScripting Libraries and Tutorials

JSP/JavaJSP/Java PHPPHP ASPASP PytonPyton Coldfusion MXColdfusion MX PerlPerl

Page 21: RSS Part Two ACE 2004 June 21, 2004. Versions of RSS.90.91 1.0.92.93 2.0.

Feed VerificationFeed Verification

Feed Validator http://feedvalidator.orgFeed Validator http://feedvalidator.org

http://feeds.archive.org/validator/ http://feeds.archive.org/validator/

Example feeds:Example feeds:

http://cyfernet.ces.ncsu.edu/cyfdb/pmt/http://cyfernet.ces.ncsu.edu/cyfdb/pmt/cyfernet.rsscyfernet.rss

http://www.ncsu.edu/news.rdfhttp://www.ncsu.edu/news.rdf

http://sysnews.ncsu.edu/news/index.rdfhttp://sysnews.ncsu.edu/news/index.rdf