Harvard:Biophysics 101/2007/Notebook:Denizkural/2007-4-24: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
No edit summary
No edit summary
Line 15: Line 15:


<pre>
<pre>
Universal Feed Parser is a Python module for downloading and parsing syndicated feeds.  
Universal Feed Parser is a Python module for downloading and parsing syndicated feeds. It
It can handle RSS 0.90, Netscape RSS 0.91, Userland RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom 0.3, Atom 1.0, and CDF feeds.  
can handle RSS 0.90, Netscape RSS 0.91, Userland RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94,  
It also parses several popular extension modules, including Dublin Core and Apple's iTunes extensions.
RSS 1.0, RSS 2.0, Atom 0.3, Atom 1.0, and CDF feeds. It also parses several popular  
 
extension modules, including Dublin Core and Apple's iTunes extensions. To use Universal  
To use Universal Feed Parser, you will need Python 2.1 or later.  
Feed Parser, you will need Python 2.1 or later. Universal Feed Parser is not meant to run
Universal Feed Parser is not meant to run standalone; it is a module for you to use as part of a larger Python program."
standalone; it is a module for you to use as part of a larger Python program."
</pre>
</pre>



Revision as of 06:06, 24 April 2007

For April 24:

  • Return RSS feeds to the general script (which can then be displayed)
  • Do the above using variables
  • Work with Xiaodi to integrate the two

I've decided to use the feedparser library and gave up on my own feed parsing (except maybe for google news, I'm still thinking about that one) to parse programmable/variable feeds, for the following reasons:

  • It can handle a wide variety of different formats
  • It allows us to worry about how to present these feeds as opposed keeping up with formats
  • We can host it and modify it -- it is a python script (i.e. this is an advantage over dapper etc.)

Where I am trying to get is to provide a web-based automated way to let people with no programming skills design what they'd have people using our search engine see as our 'outgoing' links. Ideally we'd integrate this scheme with OMIM results as well.

Here is a description of feedparser, taken from the website for it:

Universal Feed Parser is a Python module for downloading and parsing syndicated feeds. It 
can handle RSS 0.90, Netscape RSS 0.91, Userland RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, 
RSS 1.0, RSS 2.0, Atom 0.3, Atom 1.0, and CDF feeds. It also parses several popular 
extension modules, including Dublin Core and Apple's iTunes extensions. To use Universal 
Feed Parser, you will need Python 2.1 or later. Universal Feed Parser is not meant to run
standalone; it is a module for you to use as part of a larger Python program."

For April 26:

  • Finish the mysql database for 'ranking'
  • Test if it is any good / accurate