Friday, March 28, 2008

Easteregg of the Week: BibSonomy Link on Websites

Some websites such as the German news magazine Spiegel provide a link or a button on their web pages so that a page’s visitor can easily store the page in a social bookmarking system. For example, the column Zwiebelfisch about the specialities of the German language shows a "Bookmark" link above the title. Providing such a link has several advantages for providers and users: on the one hand, being visible in a social bookmarking system can increase the popularity of the website, on the other hand users get the possibility to store interesting web resources at a central place.

The technique to include such a link or button on your website is simple and can be realized by including a small javascript into your html code. For people interested in offering such a link or button to store bookmarks in BibSonomy we now provide the javascript code on the following BibSonomy page. Just try it on your website or blog – it is really easy!

Beate

Friday, March 14, 2008

Feature of the Week: BibSonomy Inside

As started in the last feature of the week we release this week additional information about BibSonomy which will help to integrate BibSonomy into other services like catalog systems of libraries. As discussed the former FOTW BibSonomy relies on different hash keys to find similar publications. The needed information to compute these keys is described here. The page includes a small demo and a java example implementation which is used in BibSonomy to compute the different hash keys. This implementation can be used to compute the same hash keys in other system. Together with the possibility to access the tag cloud of a publication by a hash via BibSonomy's API a nice integration and a community summary of a publication can be integrated into every system.

We think this is a first step for a tighter integration of Bibsonomy and libraries catalog systems or any other similar system.

Friday, March 7, 2008

Feature of the Week: Tags for Resources

If you're using the API and are interested in all tags users have assigned to a specific resource, you now have the possibility to get the tags by using the API-URL http://www.bibsonomy.org/api/tags with the parameter "resource=[hash]" (together with the parameter "resourcetype"). E.g., a request to /api/tags?resourcetype=bookmark&resource=64122a860e632f5ed0148740e25239e6 gives you all tags for the bookmark with the hash 64122a860e632f5ed0148740e25239e6. This allows you to include all tags related to a resource in your application.

Please note, that you have to use the interHash of a resource (as given in the XML output of the API) for this functionality. Further information can be found in the API documentation.

Note: When using hashes of BibTeX posts from the BibSonomy web interface links (e.g., /bibtex/295b16cdb7731d697234d355fc4e68fe3), one must be careful to pick the "correct" hash. In the links all intra-hashes currently have a "2" and all inter-hashes a "1" prepended and are thus 33 characters long (compare /bibtex/295b16cdb7731d697234d355fc4e68fe3/emanuel with /bibtex/1148dc0c64433f631174b5fc419597dd6). This is to distinguish several types of hashes in the web interface (the "old" intra-hashes which started with a "0" still work!). So when using a hash from the web interface, care must be taken that it is really an intra-hash (e.g., starts with a "2") and before querying the API the preceeding "2" must be removed.
We will shortly extend the API to also accept 33 characters long intra-hashes.

Popular Posts