Introducing APTags a Java API for Tagging
June 16, 2007 – 6:11 amTagging pages or items is a big part of the Web2.0 movement. After doing some mild searching I didn’t find a prebuilt API for working with tags for Java (found some PHP stuff). So I created one to be used in the next release of our site (www.myfriendsuggests.com). As we’ve done in the past we decided to make the API available for anyone who wants to use it. We don’t have a ton of working examples or documentation but the API handles all the DB communication and allows for:
- Adding tags to items
- Finding items with a tag (or tags)
- Finding items tagged by a certain user
- Generating a tag cloud for a user
- Generating a tag cloud for an item
- Other tag queries.
So far this has only been tested with MySQL but if there is interest out there please leave us a comment and we’ll work to verify it for other databases.
To learn more and download the APTags API click here.
api java tagging tags Web 2.0


4 Responses to “Introducing APTags a Java API for Tagging”
Hi, I was googling for open source Java Tagging and came across this site. Thanks for sharing your API. I am using Struts2, Spring, Hibernate, MySQL for my current project. I found your API really useful but I find some constraint in using it.
Is it possible for you to create a new open source project in Google Code website (http://code.google.com/) where other developers can also contribute to source code and give suggestions to make it a better Java Tagging API?
Thanks
Raghuveer Rawat
By Raghuveer Rawat on Apr 30, 2008
Let me look into how the Google open source projects work. I have no objection making it open source, although the source code may not be too pretty
By fmapap on Apr 30, 2008
Hi fmapp, I am using APTags for my application. I am able to add tags to items successful and retrieves tags as well.
However i am facing some problem with TagStyle while generating TagCloud…
Can you please help me in understanding how TagStyle wrok in this APTags API.
I could not find any CSS file for TagStyle. Is it missing or user will have to write a new CSS file for tag styles?
How many TagStyle classes should I define in CSS file?
Regards
Raghu
By raghu on Aug 1, 2008
Create 8 styles of classes .tagtext1 - .tagtext8 this is where you can control the 8 sizes that the tags are displayed as. With tag text 8 being the biggest.
By fmapap on Aug 2, 2008