and choose "DIN 1505" (for the plain layout) or "DIN1505, grouped by year" (for a display grouped by year):- http://www.bibsonomy.org/layout/din1505/user/dbenz/myown?items=1000
- http://www.bibsonomy.org/layout/din1505year/user/dbenz/myown?items=1000
and choose "DIN 1505" (for the plain layout) or "DIN1505, grouped by year" (for a display grouped by year):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
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>
[...]
BibSonomyOAuthAccesssor accessor = new BibSonomyOAuthAccesssor(
"YOUR CONSUMER KEY",
"YOUR CONSUMER SECRET",
"YOUR CALLBACK URL"
);
String redirectURL = accessor.getAuthorizationUrl();
accessor.obtainAccessToken();
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 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.




