This is the place to leave feedback or ask questions about BibBase.org.
0
Lokið

Better Support for Special Characters

Chris Cannon 12 ár síðan updated by Christian Fritz 12 ár síðan 1

This is a small feature request, but I'd like better support for special LaTeX characters. For example, if I have an author with the last name Pěchouček, I would enter this in the BibTeX file as P\v{e}chou\v{c}ek, which BibBase displays as Pvechouvcek. Ideally it would show as Pěchouček in the main list of publications, but then when I clicked on the BibTex file it would keep it as P\v{e}chou\v{c}ek so that users could properly copy and paste it into there BibTeX file.

Answer
Christian Fritz 12 ár síðan

Done!


Chris, thanks for your feedback! Please test this and see whether this is now working for you as expected. I've tested with a bibtex entry of Pěchouček and it worked fine, but please let me know if you find issues. I had to switch to a different bibtex parser, but I'm happy about the switch. It's much cleaner, and easier to extend. Special characters are now translated into HTML and should display fine on any browser and locale.


0
Fixed

No Data and Python Error

Paul Danis 10 ár síðan Uppfært 10 ár síðan 2
Great tool, but spontaneously produced 'no data' message on website after months of no problems.  I generated new zotero key then got the python error (below). No idea how to resolve so any suggestions are appreciated.  thanks.

Paul


Zotero

Choose the page you would like to use, copy the URL, and then follow the instructions on the Help page to set it up on your personal page.
BibBase page of entire library (which is using this bibtex file)
Collections

--> -->


<type 'exceptions.KeyError'> Python 2.7.5+: /usr/bin/python2.7
Mon Mar 30 14:38:29 2015

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

/home/ubuntu/bibbase/cgi-bin/zotero/get.py in ()
153 pickle.dump(data, open(DIR+'keys/'+username, 'w'))
154
=> 155 respond(apiKey, userID, username)
156
157 elif fields.has_key("username"):
respond = <function respond>, apiKey = u'G9gCuD5oY0brNg0RH456LRwM', userID = u'1975743', username = u'IonSense'

/home/ubuntu/bibbase/cgi-bin/zotero/get.py in respond(apiKey=u'G9gCuD5oY0brNg0RH456LRwM', userID=u'1975743', username=u'IonSense')
91 for col in cols:
92 # print col.name, col.collectionKey
=> 93 baseurl = "https://api.zotero.org/users/"+userID+"/collections/"+col['collectionKey']+"/items?key="+apiKey+"&format=bibtex&limit=100"
94 baseurl = urllib.quote_plus(baseurl);
95 print "
  • BibBase">http://bibbase.org/show?bib="+baseurl+"&msg=embed\">BibBase page: ", col['name'].encode('ascii', 'xmlcharrefreplace'), "
  • "
    baseurl = u'http://bibbase.org/zotero/IonSense', userID = u'1975743', col = {u'group_id': u'1975743', u'key': u'DP88T8GJ', u'name': u'DART MS', u'parentCollection': False, u'relations': {}, u'updated': 'Thu, 26 Feb 2015 14:49:31 UTC', u'version': 125}, apiKey = u'G9gCuD5oY0brNg0RH456LRwM'

    <type 'exceptions.KeyError'>: 'collectionKey'
    args = ('collectionKey',)
    message = 'collectionKey'
    Answer
    Christian Fritz 10 ár síðan
    Paul,

    Thanks a lot for reporting this problem. It took me some time to investigate what happened and eventually noticed that the Zotero API had silently changed some default. I was able to fix this on bibbase's side. Zotero so far has been very stable with their API and it is strange that they didn't announce the change on the developer list. Maybe it sneaked in by mistake on their part. Hopefully this won't happen again though.

    Sorry for the inconvenience and the outage. You should be able to get a new zotero key now and the resulting pages should work. Let me know if they don't.

    Again, thanks for reporting.

    0
    Answered

    bibase customization

    Christopher Rozell 10 ár síðan updated by Bibliothèque du CHUM 6 ár síðan 8
    Hello-

    I am trying to customize bibbase to get the display I want and have a few questions that I can't find addressed in the current documentation or Q&A.

    1) Is there any way to change the ordering of the publication type groups? For example, if I want "inproceedings" to display before "articles" when the publications are grouped by type, is there any way for me to set that?

    2) Is there any way to remove some options from the "group by" menu? For example, can I remove the option to group by downloads?

    3) One of my biggest concerns with moving to bibbase is what I've read about having to load a page twice to get updates. If a researcher has visited my page in the past and comes back a few days later after I have updated, they won't know (and shouldn't be bothered) to load the page twice to see updates. Is there any way to ensure that all visitors to my page are seeing the current copy of my .bib file even if they have visited before?

    Thank you-

    chris

    Answer
    Christian Fritz 8 ár síðan

    Indeed, the code has changed. The correct CSS rule is now:


      #bibbase_header a[onclick="groupby('downloads')"] { display: none; }

    Thanks for reporting!


    0
    Lokið

    BibBase v3 Released

    Christian Fritz 12 ár síðan Uppfært 9 ár síðan 1

    Over the last few weeks I have implemented a new version of BibBase. I will soon write up all the benefits of the new version, but for now this is just a note that this is what has changed. You will notice a slightly cleaner default look, and hopefully everything else just works as before. If not, please let me know.