Fetching Content with trans

  1.  
    1. section 4.8 states "The trans service does not support a callback parameter as the mqlread service does", this is outdated since the api states it can and it can:

      http://www.freebase.com/view/guid/9202a8c04000641f8000000007628edf

      The trans example could use some improvement too since it is digging out "unrelated" documents from the store. It would be more informative and more consistent to get documents on the band "the police"

      Query to get guid's for articles and images
      {
        "article" : [
          {
            "guid" : [
              {}
            ],
            "id" : null
          }
        ],
        "id" : "/en/the_police",
        "image" : [
          {
            "guid" : [
              {}
            ],
            "id" : null
          }
        ],
        "type" : "/common/topic"
      }

      Query to get the article (function foo can format result without using a proxy):
      http://www.freebase.com/api/trans/raw/guid/9202a8c04000641f800000000006df25?callback=foo

      Query to get the image (you can use this as the source property of the image element)
      http://www.freebase.com/api/trans/image_thumb/guid/9202a8c04000641f8000000003c18713?maxwidth=300&maxheight=300
      Note: you cannot make an image bigger than the origional with maxwith and maxheight


    Discussion is posted in:

    Think this discussion also relates to something else? Cross-post it by adding a new discussion area: