Comments on: v0.80 https://bibserver.okfn.org Simple tools for open bibliography, and a community to share them with Mon, 19 Dec 2011 18:07:15 +0000 hourly 1 https://wordpress.org/?v=4.9.8 By: Jim Pitman https://bibserver.okfn.org/about/bibjson/specs/v0-80/#comment-29 Thu, 03 Nov 2011 03:03:40 +0000 https://bibserver.okfn.org/?page_id=424#comment-29 I agree. Lets stay with “anchor”. The purpose of this attribute is only to provide a simple text string for substitution in a tempate for default html display of the data. Another option would be to have a “source_domain” attribute with value e.g. “www.ploscompbiol.org” above, and let the display template include a dictionary for mapping source domains to anchor text. Users should know whether they are expected to control presentation in the template or in the instance record data. I think it should be best practice to do it in the template, which could be included in metadata of the dataset. This would argue for dispensing with the “anchor” element entirely for links to standard services at standard domains, and rely on the display template to do the work. It is very nice however to have the anchor element for unusual links, as it is then possible to specify at the instance record level instead of the domain class level. In principle, the domain can be derived from the url, but this pushes more logic into the template. This may be your call, Mark.

]]>
By: Mark MacGillivray https://bibserver.okfn.org/about/bibjson/specs/v0-80/#comment-28 Thu, 03 Nov 2011 02:28:32 +0000 https://bibserver.okfn.org/?page_id=424#comment-28 OK. However, this and the citation_counts example make me wonder if we should be using “name” or “anchor” – given that these are sort of like links, and our link_list uses “url”, “anchor” nomenclature.

]]>
By: Jim Pitman https://bibserver.okfn.org/about/bibjson/specs/v0-80/#comment-27 Thu, 03 Nov 2011 02:13:44 +0000 https://bibserver.okfn.org/?page_id=424#comment-27 Suggestion for storing view from external sources

"view_counts":[
  {
    "name":"PLOS",
     "url": "http://www.ploscompbiol.org/article/metrics/info%3Adoi%2F10.1371/journal.pcbi.0020181",
    "total_views": 2846
    "HTML_Page_Views": 2141
     "PDF_Downloads": 669
      "XML_Downloads": 36
  }
 ]

]]>
By: Mark MacGillivray https://bibserver.okfn.org/about/bibjson/specs/v0-80/#comment-26 Thu, 03 Nov 2011 00:51:42 +0000 https://bibserver.okfn.org/?page_id=424#comment-26 Suggestion for storing citation counts from external sources

"citation_counts":[
  {
    "name":"Google Scholar",
    "url":"http://scholar.google.com/scholar?cites=14821159193555743204",
    "count": 407
  }
 ]

]]>