[Data-modeling] Accessing a topic's Description with mjt

Robert Muetzelfeldt r.muetzelfeldt at ed.ac.uk
Fri Apr 25 20:29:29 UTC 2008


Sorry, posted this to the wrong list.  Now posted on Developers list.

Apologies,
Robert



Robert Muetzelfeldt wrote:
> I'm a mjt newbie.  I'm trying to get hold of a topic's Description 
> content, and just can't see how to do it from the information I've seen 
> on the 'raw' or 'blurb' services for the blob store.   What I would 
> *really* appreciate is being shown how to extend the following page to 
> achieve this.
> 
> Thanks!
> Robert
> 
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
>     <head>
>        <script type="text/javascript"
>           src="http://mjtemplate.org/dist/mjt-0.6/mjt.js"></script>
>        <script type="text/javascript" src="./util.js"></script>
>     </head>
>     <body onload="mjt.run('top')">
>        <div id="top" style="display:none;">
>           <div mjt.task="o">
>            mjt.freebase.MqlRead([{
>              "type":"/user/robertm/snpbz_modelling/snpbz_submodel",
>              "name":null,
>              "id":null,
>            }])
>           </div>
>           <table cellpadding="2">
>              <tr mjt.for="entry in o.result" valign="top">
>                 <td>$entry.id</td>
>                 <td>$entry.name</td>
>                 <td>Description goes here</td>
>              </tr>
>           </table>
>        </div>
>     </body>
> </html>
> _______________________________________________
> Data-modeling mailing list
> Data-modeling at freebase.com
> http://lists.freebase.com/mailman/listinfo/data-modeling
> 


More information about the Data-modeling mailing list