Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Info > New feature: The CSDb webservice.
2005-02-18 21:14
Perff
Administrator

Posts: 1679
New feature: The CSDb webservice.

I just started creating a new feature for CSDb. A webservice. (If that it the right word to use.. :) )

The idea about this 'webservice' is that anyone can request any of the information in CSDb much like you can now with the search and advanced search features, but instead of getting some HTML back made for humans to read, you get an XML-structure back for machines to read. In this way you can make scripts or whatever that uses the CSDb webservice to extract information from CSDb for use on other websites or what you can think of.

So far I only made the basic workings, and it is only just useable for the public, but I've decided to release it now to get some feedback before I get stuck in a standart that might not be good.
I must admit that my experience with webserviceses and XML is only limited, so bear over with me. :)

Anyway. Check out: http://noname.c64.org/csdb/webservice
2005-02-20 10:30
Sander

Registered: Jan 2002
Posts: 493
Cool.

I'd like to see the information in this form someday: http://www.theyrule.net/2004/index.php?mapid=583 (click, click, click, click and patience)
2005-02-20 13:54
Ben
Account closed

Registered: Feb 2003
Posts: 163
Yeah, a socio-metrical image with key-sceners and key-groups and their peripherics :)
2011-07-07 07:52
Bones99

Registered: May 2005
Posts: 30
Hi I'm experimenting with creating an offline desktop CSDB app (and maybe an android app)

Could a simple procedure be added that returns the latest entry id ?

perhaps if the entry ID is left blank, return the ID of the latest release/group/scener.. etc or something like that?
2011-07-07 08:38
Perff
Administrator

Posts: 1679
Was about to sugest you could find the latest ID's in the "latest release/group/event/scener" pages, but then again - how long time could it take to make what you sugested? :)

So after 5 min coding, you now get the the latest ID for the given type, if you don't provide an ID.
2011-07-08 10:58
Bones99

Registered: May 2005
Posts: 30
Thats awesome. many thanks .
2011-07-08 15:38
Marauder/GSS
Account closed

Registered: Jul 2006
Posts: 224
Quote:

So far you can only request info on one of the four basic entry-types by their internal ID in CSDb. The ID can be seen in the URL when browsing CSDb.



Perff, any plans for implementing a "search"-function to retrieve the ID's of releases/groups/sceners etc.?
2011-07-29 23:07
Bones99

Registered: May 2005
Posts: 30
first off.. apologies .. i did'nt mean to hit your server so hard

i'm writing an android app that connects to your web-service and gets a random release and shows the screenshot, i think i was retrying too frequently (some release ID's are null)
should i put in a delay to prevent this condition, if so can you advise what a decent delay would be ?

sorry again..

http://reidspace.com/CSDBRR/
2018-08-19 12:33
JCH

Registered: Aug 2008
Posts: 200
I'm using this web service for DeepSID and for the most part it works really well.

Two things I'd like to be improved if possible:

1. Newline characters in all comment blocks of releases as is used here. As it is now, all comments are just handed to me as one enormous paragraph each. \n chars or whatever, I'll just convert it to <br /> for use at the site.

2. Comments are rare for "sid" type entries but it does happen, and when it does it could be nice if they're included in the XML returned. Example: Vicious SID 2 - Cybernoid 2

Can you fix these? =)
2018-08-20 09:50
chatGPZ

Registered: Dec 2001
Posts: 11360
isnt arbitrary inserting of linebreaks a bit counterproductive for what you want on a web frontend?
2018-08-20 11:26
JCH

Registered: Aug 2008
Posts: 200
I think it makes perfect sense. Allow me to demonstrate.

Here's what a comment by LMan looks like in it's original environment:



Here's what it looks like at my site:



Not quite as cool, is it?

It gets even worse for posts where stuff is listed.
 
... 4 posts hidden. Click here to view all posts....
 
Previous - 1 | 2 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Alakran_64
JEZ
Harry The Hero/High ..
Grue/Extend
Walt/Bonzai
Viti/Hokuto Force
pcollins/Quantum
VerN
Guests online: 105
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 The Demo Coder  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Triad  (9.2)
Top Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Mutetus  (9.7)
4 Jammer  (9.6)
5 Linus  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.059 sec.