RDF Feed
Normally for an RSS Feed you would use the below script to display the title and link of a given article. But what if I was working with an RDF Feed? Both come from a Feed Block.
------------------- XML (RSS Feed Script) ---------------------
#set($channel = $_XPathTool.selectNodes($contentRoot, '//channel/item'))
#set($title = $channel.getChild("title").text)
#set ($count = 1)
<div id="top-right" style="margin-top: 0px;">
<h3>TSRI News</h3>
#foreach ($item in $channel)
#set($title = $item.getChild("title").text)
#set($link = $item.getChild("link").text.replace("&","&"))#set($link = $item.getChild("link").text.replace("&","&"))
#if($count <= 5)
<p style="font-size: 75%; padding-left:5px;"><strong>${title}</strong></p>
<p style="font-size: 75%; padding-left:5px;"><a href="${link}">more</a></p>
#set($count = $count + 1)
#end
#end
</div>
------------------- RDF (Feed Block) ---------------------
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:j.0="http://vitro.mannlib.cornell.edu/ns/vitro/public#" xmlns:j.1="http://xmlns.com/foaf/0.1/" xmlns:j.2="http://vivoweb.org/ontology/core#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<rdf:Description rdf:about="http://vivo.scripps.edu/individual/n15955">
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Head</rdfs:label>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>
<rdf:type rdf:resource="http://vivoweb.org/ontology/core#Role"/>
<rdf:type rdf:resource="http://vivoweb.org/ontology/core#LeaderRole"/>
<j.2:roleIn rdf:resource="http://vivo.scripps.edu/individual/BogerLaboratory"/>
<j.2:leaderRoleOf rdf:resource="http://vivo.scripps.edu/individual/BogerDale"/>
<j.2:dateTimeInterval rdf:resource="http://vivo.scripps.edu/individual/n1692433"/>
</rdf:Description>
<rdf:Description rdf:about="http://vivo.scripps.edu/individual/BogerDale">
<j.2:personInPosition rdf:resource="http://vivo.scripps.edu/individual//position1077759062"/>
<j.2:authorInAuthorship rdf:resource="http://vivo.scripps.edu/individual/n214"/>
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Agent"/>
<j.2:educationalTraining rdf:resource="http://vivo.scripps.edu/individual/n4182"/>
<j.2:researchOverview><p>Synthetic Organic and Bioorganic Chemistry</p><p>Our research interests include the total synthesis of natural products, development of new synthetic methodology, heterocyclic chemistry, bioorganic and medicinal chemistry, the study of DNA-agent interactions, and the chemistry of antitumor antibiotics. We place special emphasis on investigations to define the structure-function relationships of natural or designed agents.</p><p>Synthetic Methodology</p><p>Our ongoing investigations emphasize the development and application of hetero Diels-Alder reactions, the thermal reactions of cyclopropenone ketals, inter- and intramolecular acyl radical-alkene addition reactions, medium and large ring cyclization procedures, and combinatorial chemistry. In each instance, the methodology development represents the investigation of chemistry projected as a key step in the total synthesis of a natural or nonnatural product.</p><p>Natural Products Total Synthesis</p><p>Problems recently or currently being addressed include (+)-CC-1065 and functional analogs (antitumor antibiotic processing sequence selective DNA alkylation properties), duocarmycins (antitumor antibiotics possessing sequence selective DNA alkylation properties), yatakemycin, tropoloalkaloids, deoxybouvardin/bouvardin, K-13, OF4949-1 - OF4949-IV (immunopotentiating agents with confirmed antitumor activity), piperazinomycin, luzopeptins, sandramycin quinoxapeptins, thiocoraline and BE 22179, (DNA binding peptides with antitumor and antiviral properties), vancomycin, teicoplanin, chloropeptins, RP-66453, ramoplanin, bleomycin A2 (clinically employed antitumor agent), quinolinequinone antitumor antibiotics including streptonigrone, streptonigrin, and lavendamycin, isochrysohermidin, fredericamycin A and CI-920 (antitumor agents with topoisomerase I and II inhibitory activity), rhizoxin (antitumor antibiotic and potent mitotic inhibitor), combretastatins, and trikentrin A.</p><p>Bioorganic Chemistry</p><p>The orgin of interest in the specific agents detailed above rests with their properties and in many instances represents the selection of agents related by a projected property (e.g., (+)-CC-1065 and duocarmycin). Representatives of such efforts, studies on (+)-CC-1065 have been employed to identify agent structural features contributing to its sequence-selective DNA alkylation properties and the source of catalysis of the DNA alkylation reaction. Efforts are under way to develop DNA cross-linking agents of a predefined cross-link, to further understand the nature of the covalent and noncovalent agent-DNA interactions, and to apply this understanding to the de novo design of DNA-binding agents.&nbsp;<br /><br />Collaborative efforts in securing biological data, 1H NMR of DNA-agent complexes, molecular modeling studies of large molecule-small molecule interactions, and experimental studies of DNA-agent interactions constitute an integral part of the program.</p></j.2:researchOverview>
<j.2:personInPosition rdf:resource="http://vivo.scripps.edu/individual/n35"/>
<j.2:overview>Dr. Dale Boger works on the total synthesis of biologically active natural products using the tools of organic synthesis to identify, imitate, understand, exploit, and sometimes surpass what nature provides.</j.2:overview>
<rdf:type rdf:resource="http://vivoweb.org/ontology/core#FacultyMember"/>
<j.2:personInPosition rdf:resource="http://vivo.scripps.edu/individual//position1002490702"/>
<j.2:authorInAuthorship rdf:resource="http://vivo.scripps.edu/individual/n6621"/>
<j.2:educationalTraining rdf:resource="http://vivo.scripps.edu/individual/n2098"/>
<rdfs:label xml:lang="en-US">Boger, Dale</rdfs:label>
<j.2:email>[email blocked]</j.2:email>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>
<j.0:mainImage rdf:resource="http://vivo.scripps.edu/individual/n450"/>
<j.2:hasLeaderRole rdf:resource="http://vivo.scripps.edu/individual/n15955"/>
<j.2:personInPosition rdf:resource="http://vivo.scripps.edu/individual//position482566426"/>
<j.2:featuredIn rdf:resource="http://vivo.scripps.edu/individual/n6188"/>
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
</rdf:Description>
</rdf:RDF>
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Charlie Holder on 09 Apr, 2012 03:07 AM
Hey mjdunn --
I noticed that this thread was unanswered. You may have already found your answer, but in case you haven't, this thread might be helpful for you. It deals with outputting a feed with namespaces using Velocity.
Let me know if this helps!
Thanks.
Charlie Holder closed this discussion on 20 Feb, 2013 03:02 PM.