Re: [NetNewsWire] Pushing the envelope! MathML (and SVG?)
"Bill Kearney" <[email protected]>
| Newsgroups | gmane.network.syndication.rss.devel |
|---|---|
| Organization | http://www.ideaspace.net/users/wkearney/foaf.xrdf |
| Message-ID | <[email protected]> |
What made you decide to use that form of markup to include the data? Would it not be correct to have used something like an rdfs:seeAlso element? Something that tells the consuming program that there's something else "to see" regarding the element? This would help Brent and other feed developers to code in the abilty to "look for" foreign stuff and flag it's presense. Including the elements "loose" within the item would require an awful lot of special-case programming. Putting them inside a wrapper would at least make it possible to show an indicator that "something more" is contained in the item. That'd still require a way to process or understand the elements. But at least there'd be a single way to know to look for "something". This might also be better discussed in the rss-dev group so we don't clog up Brent's product mailing list. In the case of your data it might look something like: <item rdf:about="http://www.ch.ic.ac.uk/pss/index.php?page=view&action=view&am p;ID=56"> <title>Foliacenes</title> <link>http://www.ch.ic.ac.uk/pss/index.php?page=view&action=view&ID= 56</link> <description>Ab initio calculations predict that the cyclic trefoilenes 2 can be stabilized by formation of a complex 4 with early transition metals. The metal atom within the complex is nested within the carbon ring and is considerably closer to the ring centroid than in traditional metallocene complexes. Stabilization is explained by a unique form of 16-electron delocalization involving the metal atom for which we suggest the name foliate-aromaticity. The aromaticity of various polyfoliate systems such as 9 suggests this 16-electron motif is more robust than Clar-like aromatic 6 pi-sextets. The open hemisphere of the metal in such foliacene complexes is predicted to coordinate a variety of ligands.</description> <dc:subject>Foliacenes</dc:subject> <dc:date>2004-11-09T00:16:00-00:00</dc:date> <dc:creator>rzepa</dc:creator> <rdfs:seeAlso rdf:resource="URI/of/your/data"/> </item> <rdf:Description rdf:about="URI/of/your/data"> cml:molecule xmlns:cml="http://www.xml-cml.org/schema/cml2/core" title="C9H6-222(9)tre-TiCO KMLYP/6-31g(d) freq"> <cml:metadataList title="generated automatically from Openbabel"> <cml:metadata name="dc:creator" content="OpenBabel version 1-100.1"/> <cml:metadata name="dc:description" content="Conversion of legacy filetype to CML"/> <cml:metadata name="dc:identifier" content="Unknown"/> <cml:metadata name="dc:content"/> <cml:metadata name="dc:rights" content="unknown"/> <cml:metadata name="dc:type" content="chemistry"/> <cml:metadata name="dc:contributor" content="unknown"/> <cml:metadata name="dc:creator" content="Openbabel V1-100.1"/> <cml:metadata name="dc:date" content="Fri Jun 18 10:40:28 BST 2004"/> <cml:metadata name="cmlm:structure" content="yes"/> </cml:metadataList> <cml:atomArray atomID="a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17 a18" elementType="C C C C C C C C C H H H H H H Ti C O" formalCharge="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0" x3="0.939200 1.001500 0.768500 0.932100 0.988500 0.747700 0.660500 0.830000 0.674000 0.780700 0.540300 0.768600 0.508800 0.357300 0.376500 -0.226000 -2.476700 -3.594000" y3="0.555600 1.228600 2.097900 -0.864900 -1.344200 -2.038100 -1.231000 0.117200 1.484000 0.999600 3.156600 -1.454200 -3.095000 -1.699800 2.095100 -0.000400 -0.000400 -0.002700" z3="1.981200 0.783200 -0.257000 1.870000 0.582000 -0.581100 -1.752000 -1.537500 -1.539400 2.960100 -0.170900 2.768100 -0.661000 -2.684000 -2.386900 0.028200 0.139300 0.177600"/> <cml:bondArray atomRef1="a1 a1 a1 a2 a2 a3 a3 a4 a4 a5 a5 a6 a6 a7 a7 a8 a8 a9 a17" atomRef2="a2 a4 a10 a3 a16 a9 a11 a5 a12 a6 a16 a7 a13 a8 a14 a9 a16 a15 a18" order="2 1 1 2 1 1 1 2 1 2 1 1 1 2 1 2 1 1 3"/> </cml:molecule> <rdf:Description> Sorry for the inevitable wrapping of all that. But the point is the item says it has more to be seen and then later it's described. The issue being what URL to use for it. You've got different "things" being described. One being the item, the other being the web site page discussing the item and then, presumably, the actual cml metadata. I'm not entirely sure what indentifer to apply for it. The need or desire to embed "more" data in a feed is compelling. There are ways to do it, however, that might be better suited for much larger growth. That and you could just as easily leave the much bigger markup out of the feed entirely and keep it's size down. Then anything knowing that it needs more data about the item could follow the seeAlso resource URL. I offer such a complex reply because I'm working precisely on this sort of thing. Embedding knowledge of 'more data' about what's being discussed in the RSS item. -Bill Kearney Syndic8.com ----- Original Message ----- From: "hrzepa" <[email protected]> To: <[email protected]> Sent: Monday, November 15, 2004 9:47 Subject: [NetNewsWire] Pushing the envelope! MathML (and SVG?) > We have added MathML, CML (Chemistry) and SVG XML components to one of > our RSS feeds. If you view > http://www.ch.ic.ac.uk/pss/index.php?page=RSSseminars in FireFox or > Mozilla, you will see the MathML rendered (but not the SVG; early > versions of Mozilla supported this, but not the current). Chemistry can > only be viewed with Jmol (see > http://www.ch.ic.ac.uk/rzepa/talks/echeminfo04/7a.html ) Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/rss-dev/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/