Friday, January 26, 2007

Cb gets a CMLRSS feed

My Chem-bla-ics blog contains a couple of blog items about CMLRSS, that is RSS feeds enriched with Chemical Markup Language. Some time ago, I wrote a plugin for CMLRSS for Bioclipse, as replacement for the Jmol and JChemPaint plugins shown in the CMLRSS article (DOI:10.1021/ci034244p).

Now, since I was looking at some bug reports to fix for the upcoming Bioclipse 1.0.1 release, I discovered that the plugin did not work well with Atom 1.0 feeds from Because Chemical blogspace uses Atom 1.0 too, I wanted to extend the feed with latest molecules with CML content; that is, to make it a nice CMLRSS feed.

Molecules in Chemical blogspace

I mentioned the InChI extension of Chemical blogspace before, and worked a bit more on it today. For example, I only today discovered that the 'pagination' was not working. And, for some days, I wanted the Molecules page to show all molecules being discussed, not only those that are known in PubChem.
Finally, I fixed the sorting, so that the molecules are now sorted based on the post date of the blog item that cites the molecule. It now looks like this (note the molecule count, and that the second InChI does not have an image):

The CMLRSS feed of Chemical blogspace

The next step was to actually include CML in this feed. The CML is created with OpenBabel from a MDL molfile downloaded from PubChem. BTW, this CML can be accessed from the Molecules page too, as can be seen in the above screenshot.

After some tweaking of the Atom feed of Chemical blogspace, and having Bioclipse work with URLConnections for web servers that do not return a Content-Length: field, this was the result:

No comments: