Tuesday, February 7, 2012

Feature of the week: Workover of DIN1505 export format

As most of knowledge workers know, a crucial issue when working with scientific references is how to properly format them when creating bibliographies or publication lists. There's so many possibilities - title first, author first, year in brackets, ... and many more. As Germans typically tend to define some standards and norms in such a case, since 1984 there exists the DIN-1505-2 norm (link in German only), which precisely defines a legible standard citation format.

Experienced BibSonomy users will notice that we're offering this export format since quite a while - but in fact, this was a rather simplified variant. Since our last release, our team member Hagen (thanks again!) meticulously examined the DIN-norm and implemented it as a JabRef export layout. If you want to see it in action, choose the "export button" on top of any publication list:
and choose "DIN 1505" (for the plain layout) or "DIN1505, grouped by year" (for a display grouped by year):
Here are two examples of the layout in action:
For those of you who are technically interested: The export layout consists of "typical" JabRef layout template files, along with a number of custom formatters written in Java. Both are publicly available via our Maven repository. We would be happy to get some feedback, if this filter is useful to you! In any case happy tagging & exporting,
Dominik

Thursday, February 2, 2012

Feature of the Week: OAuth for the API

BibSonomy's API allows you to access all of your posts programmatically. The API's help page describes how you can authorize your requests using your API key and secret. If you want to access BibSonomy within your application in behalf of a user, this approach is not feasible, as users had to store their API key and secret within your application.

OAuth is an established protocol for secure API authorization which allows users to grant third party applications access to their data without being obliged to enter credentials outside of BibSonomy.

How to access BibSonomy from you application using OAuth


1) Request an OAuth Consumer Key and Consumer Secret

Before your application can access BibSonomy's API, both applications must establish a secured communication channel. This is done by initially exchanging credentials, a so called consumer key which identifies your application and a corresponding consumer secret which is used for signing and verifying your requests. Both symmetric (HMAC) and public key (RSA) encryption is supported.
If you want to obtain a consumer key and consumer secret for your application, please write an email to api-support@bibsonomy.org


2) Implement OAuth's authorization dance

If a user grants your application access to his data in BibSonomy, the user is redirected back and forth between your application and BibSonomy for eventually passing a so called access token to your application which can than be used to authorize your requests to the API. This process is explained in detail in the OAuth user guide.

Esentially your application needs to redirect the user to BibSonomy's OAuth authorization page with a previously obtained temporarily credentials given as request parameters (e.g. http://www.bibsonomy.org/oauth/authorize?oauth_token=xxxxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx):If the user authorizes your temporary credentials, you he will be either be redirected to your side (if you provided a call back url) or the user as to manually switch to your application. This authorized credential can then be used to obtain the access token which authorizes requests.

BibSonomy's OAuth Rest-API client for Java facilitates this process. If you use maven, just add the following to your pom.xml:

<project>
<repositories>
<repository>
<id>bibsonomy-repo</id>
<name>Releases von BibSonomy-Modulen</name>
<url>http://dev.bibsonomy.org/maven2/</url>
</repository>

[...]
<dependencies>
<dependency>
<groupId>org.bibsonomy</groupId>
<artifactId>bibsonomy-rest-client-oauth</artifactId>

<version>2.0.22-SNAPSHOT</version>
</dependency>
</dependencies>
[...]

Alternatively you can download the jar files directly. Obtaining a temporarily credential is as easy as:
BibSonomyOAuthAccesssor accessor = new BibSonomyOAuthAccesssor(
"YOUR CONSUMER KEY",
"YOUR CONSUMER SECRET",
"YOUR CALLBACK URL"
);
String redirectURL = accessor.getAuthorizationUrl();

You now have to redirect the user to redirectURL. Afterwards, the previously obtained temporarily credential is transformed to an access token:
accessor.obtainAccessToken();


3) Make requests to BibSonomy's API

You can now use BibSonomy's rest logic interface to perform API operations.

RestLogicFactory rlf = new RestLogicFactory(
"http://www.bibsonomy.org/api",
RenderingFormat.XML
);
LogicInterface rl = rlf.getLogicAccess(accessor);
[...]
rl.createPosts(uploadPosts);
[...]


A running example can be found on the corresponding help page in BibSonomy.

If you have further questions, please feel free to write a mail to api-support@bibsonomy.org.

Wednesday, January 25, 2012

Release 2.0.21

What day is today? Right, last wednesday of the month, which means... BibSonomy release day! After the christmas break, we're happy to announce the new BibSonomy is called 2.0.21. Besides the usual internal cleanups and optimizations, the following new things were contained:

  • A new layout, according strictly to the German norm DIN-1505
  • Discussion pages for groups
  • Worked-over document upload facility (in-place directly at each entry)
  • O-auth support for our API
  • Very cool preview images for uploaded documents
In the upcoming weeks, we'll explain those features in greater detail. Apart from that, we added the following new scrapers:
  • ATS (PATS, AJRCCM, AJRCMB)
  • NEJM
and repaired the folowing ones:
  • AGU
  • OpenRepository
  • WorldCat
  • OPAC
  • AandA
As usual, we're always grateful for feedback, suggestions, or basically anything which comes from you as our valued users!! Happy Tagging,
Dominik

Saturday, December 24, 2011

Best Season's Greetings from the BibSonomy Team!

Scientists usually don't believe in mystical things like elves - but in fact, we can't be 100% sure if they aren't dancing right now within our institute, because actually (not surprisingly) there isn't anybody there right now :) As you see, we're on a leave, and we hope you are too - wishing you a great Christmas time, and a good start into a successfull new year 2012. We will do our best to keep on providing a good BibSonomy service for you, and hope that we keep on getting great feedback and suggestions from you how we can do things better!

For the meantime - if you ever wanted to locate Santa Clause on Google Maps - here you can :)

Sunday, December 11, 2011

Feature of the Week: BibSonomy's new Look

The days at the end of the year are usually a good time to look back on the past 12 months and to take a look ahead to ideas, tasks and challenges for the approaching new year. This week's post is dedicated to the latter and the bigger goal we have set for BibSonomy in 2012 is to give it a new, revised and modern design.

Since its birth in 2005 BibSonomy has been enriched with new features to facilitate and ease the organization of bookmarks and publications, the social interaction with other scientists or getting up to date with the state of the art in science. For some time now, we've felt, that BibSonomy could use a fresh look and a new, reorganized navigational structure, to keep all this functionality together while still being a lightweight and easy-to-use system.

With all that in mind, earlier this year, we started two initiatives: The first one was to set up a project together with our University's department for Human-Machine Systems Engineering. In that project students from different disciplines were asked to use BibSonomy (as first timers) for several tasks that belong the the system's core (like storing and retrieving publications, searching for them or for other users). The participant's behavior was analyzed (e.g., using professional eye-tracking tools) and their feedback collected.

The second initiative was to find a capable designer who could give BibSonomy a fresh, cool look and feel while making functional and intuitive navigational design a key priority. Finally, since changing established workflows and interfaces is usually a delicate matter, another priority was to keep a new design true to the current look and feel.
We are happy to announce that for that task we could win a young designer from Kassel: Daniil Tanygin.

Before we begin to realize a new design, we now want to ask you - our users - for your opinion. Therefore, here are two of the latest sketches Daniil has created for us that show one of the many post-listing sites (e.g., myBibSonomy or home) in BibSonomy:





Any feedback is welcome. We are especially looking forward to your thoughts on the new design ideas and to your own ideas on workflows that you think should be simplified, parts of the page that in your opinion should look different or functions that need to be made more intuitive.
Feel free to state any comment below this post, or send us your feedback via e-mail to webmaster bibsonomy org

Happy tagging
Stephan

Wednesday, November 30, 2011

[Feature of the Week] BibSonomy Forecast: Partly (tag)cloudy!

Since its beginning, BibSonomy has undergone several changes - layouts were modified (who of you can still recall the early style from 2005?), new functions were added, internal modules were restructured to enhance performance, and many more. However, throughout these times, the very core of BibSonomy remained the same - namely to be a system to collaboratively annotate (bookmark and publication) resources using freely chosen tags. Despite the fact that the "Web 2.0 hype" is declining since quite some time, the usefulness of free social annotations is reflected e.g. in the usage of tags to organize questions at stackoverflow. So to use a pointed formulation, one could say that tags and their aggregation into tag clouds are a bit like the "heart" of BibSonomy as a social bookmarking platform.

Taking a look back in this way, we decided to polish up our tag clouds a bit. Since the last release, you will have noticed a slight but noticeable change: We've tried to make our tag clouds a bit "cloudier" and nicer. Mainly we've fixed the way how tag sizes are computed (as usually, larger and more visible fonts correspond to more frequently used tags; but we're scaling differently to convey a clearer picture), and changed the alignment. Here is how it looked before:

And here's the new look:
As you can see, it's no revolution, but just a bit nicer and cleaner. But because tags are to close to BibSonomy's (and of course our) heart, we're happy about this neat improvement. We've basically done this for all clouds - this means also for personal or group tag clouds. So we hope you like the new style as much as we do, and you can be even a bit happier when tagging :)

Best,
Dominik

Thursday, November 24, 2011

New Release (2.0.20)

Yesterday we deployed our monthly release of BibSonomy - we're at version 2.0.20 now. The new improvements and features of this release are mainly of internal nature; in addition, we fixed a lot of bugs in order to make your overall usage experience better. Specifically, this release contained the following improvements:
  • First embedding of schema.org metadata to facilitate a structured access by search engines
  • fixed Delicious importer
  • fixed sphere dialogues
  • fixed authorization issue via Typo3 plugin
  • fixed layout problems on BibSonomy's mobile view
  • many further small bug & layout fixes
  • added new scraper for Google Books
  • repaired scrapers (Amazon, PubMed, Cell, CiteseerX)
  • adapted database indexes for faster response times
  • added support for synchronization to REST-API
In December, we will take a break from our monthly release cycle, to be prepared to start the new year 2012 with the next release. Until there, stay tuned, and happy tagging!
Dominik

Wednesday, November 16, 2011

Short down time today

A short explanation on why BibSonomy was down this morning: Actually, BibSonomy was running fine but one of the routers which connects our university building with the internet was down. Unfortunately, we have no influence on the infrastructure which usually works very good. It took two hours before the router was working properly again. Sorry for this and lets keep our fingers crossed that the router will not go down again.

Feature of the week: Add new publications by ISBN

This week we present a small but - we think - nice feature and we hope it will save you a lot of time. While searching for interesting and new papers the boring part is often to collect all meta data for storing the new entry. We try to make this part as easy as possible and several earlier blog posts describe the bookmarklet or the underlying scraping service which extracts important information for you. If you do not have the necessary bookmarklet, you have to add it to your browser. The scraping service can also be utilized to add a publication identified just by its ISBN or DOI.

There are two ways to do this: The first way is directly via our web service. You start by clicking post publication in the menu and select the ISBN/DOI add dialog which looks like this:



Then you enter your ISBN or DOI and all the information is gathered for you and your are done by entering some keywords (tags) to describe the content. Try it e. g. with the following ISBN: 978-3898383325.

The other way is more common. Imagine, you were searching the web for something new and found a book you would like to remember. Unfortunately, the book you found was on one of the pages that we do not offer a scraper for. But on the page is an ISBN like on the publisher page of Robert's dissertation. Just highlight the ISBN and use your bookmarklet and all data will be collected. Before you press the button, your browser should look like this:



So, that's all for today and I hope this best practices helps you to save time and collect a lot of references for your work.

Happy tagging
Andreas

Sunday, November 13, 2011

Feature of the Week: Discussion Statistics Box

This week's post is about a small addition we have made to the sidebar of BibSonomy's discussed-post-pages: a collection of some basic statistics describing discussion and review habits.
As you probably know from your own experiences people tend to have very different approaches when it comes to rating something. Even if they agree by trend in liking or disliking a resource, they might have very different ideas of how to express such an opinion. This makes it particularly hard to objectively compare two ratings - a problem that is known as inter-rater reliability.
For illustration consider some fictional (extreme) examples of BibSonomy users, rating a publication with 4.5 out of 5 possible stars:
  • jock: Jock assigns top scores to everything he doesn't particularly dislike. His rating of a publication with only 4.5 out of 5 indicates that there must be something seriously wrong with it.
  • g.rumpy: For him "I like it" means 2 out of 5 stars. Full score is not even an option and a score of 4.5 probably means, that it's the best stuff ever written.
  • mr.normal: Well, Mr. Normal is very normal and so is his rating distribution.
It is quite clear, that for each of those three the value 4.5 out of 5 means something very different. The new statistics box provides some information that can be used to interpret a user's rating by summarizing his previous ratings. Here is, what the statistics box could look like for our three characters:

The statistics box can be found on the discussed-posts-page of any user, e. g. here for user sdo: http://www.bibsonomy.org/discussed/user/sdo.
Each box shows the rating distribution, the total number of ratings and the rating average by this user.

Another such box can be found on the general discussed posts page http://www.bibsonomy.org/discussed.
Here, the statistics cover all ratings to any of the discussed publications or bookmarks displayed by any user.

Enjoy the new possibility to learn what other users might think about resources of your interest.

Happy Tagging!
Stephan