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: 1665
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
 
... 4 posts hidden. Click here to view all posts....
 
2011-07-08 10:58
Bones99

Registered: May 2005
Posts: 29
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: 29
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: 193
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: 11113
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: 193
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.
2018-08-20 11:32
chatGPZ

Registered: Dec 2001
Posts: 11113
i see. should be <p> then though :)
2018-08-20 12:41
JCH

Registered: Aug 2008
Posts: 193
Yeah, that might work better.
2018-08-20 14:39
JCH

Registered: Aug 2008
Posts: 193
Talked to Perff via PM. The newline stuff was my bad and the second one is now fixed.
2022-05-14 16:12
instant

Registered: Mar 2020
Posts: 20
I'd be happy to help build out the search function in the web service.

I think the depth is returning too much data. Even set at 2 it's returning several levels of data deeper than I would expect. I could help fix this too.
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
TheRyk/MYD!
megasoftargentina
E$G/hOKUtO fOrcE
Tom/TRS
Yodelking/Defiers
Guests online: 108
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Bromance  (9.6)
10 Memento Mori  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Webmasters
1 Slaygon  (9.7)
2 Perff  (9.6)
3 Morpheus  (9.5)
4 Sabbi  (9.5)
5 CreaMD  (9.1)

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