SigServer DEV: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 4: Line 4:


=General=
=General=
this is the place to contribute ideas on a possible future addition of a special signature picture feature to anidb.
this is the place to contribute ideas on a possible future addition of a special signature picture feature to AniDB.


Related forum thread: [http://www.anidb.net/forum/viewtopic.php?t=5413 AniDB Development Forum - SigServer]
Related forum thread: [http://www.anidb.net/forum/viewtopic.php?t=5413 AniDB Development Forum - SigServer]
Line 11: Line 11:


=Vision=
=Vision=
AniDB users can create highly personalized signature images which can be used in forum singatures and which acurately reflect user specific or general anidb data. Some examples are:
AniDB users can create highly personalized signature images which can be used in forum singatures and which acurately reflect user specific or general AniDB data. Some examples are:
* Mylist statistics of the user (Mylist size, latest added, latest watched, total watched, ...)
* Mylist statistics of the user (Mylist size, latest added, latest watched, total watched, ...)
* Vote statistics general or user based (Top3 animes, my Top3, worst anime ever, ...)
* Vote statistics general or user based (Top3 animes, my Top3, worst anime ever, ...)
* General anidb statistics
* General AniDB statistics
* Group statistics (Latest releases by group X, ...)
* Group statistics (Latest releases by group X, ...)
* Anime statistics (percent aired, percent subbed, latest file added, total users, total groups, total files, total eps, ...)
* Anime statistics (percent aired, percent subbed, latest file added, total users, total groups, total files, total eps, ...)
Line 43: Line 43:
* Users can configure the signature pics via a web interface of the sig server
* Users can configure the signature pics via a web interface of the sig server
* The sig server provides an url which returns the sig pic
* The sig server provides an url which returns the sig pic
* When the URL is requested the sig server will look for a locally cached pic or cached anidb status information for the user and will either return the cached pic, a new pic created with the cached information or will issue an http request to retrieve the needed stats via as XML and then create the pic.
* When the URL is requested the sig server will look for a locally cached pic or cached AniDB status information for the user and will either return the cached pic, a new pic created with the cached information or will issue an http request to retrieve the needed stats via as XML and then create the pic.


It is important to underline at this point that the sig server does never directly interact with the AniDB database. It does not have SQL access, it does not store the users AniDB password (only their AniDB username) and it never modifies any information on AniDB.  
It is important to underline at this point that the sig server does never directly interact with the AniDB database. It does not have SQL access, it does not store the users AniDB password (only their AniDB username) and it never modifies any information on AniDB.  
Line 68: Line 68:


==Data Retrieval==
==Data Retrieval==
The SigServer will receive the required data by making HTTP GET requests to the main anidb server and by getting XML replies.
The SigServer will receive the required data by making HTTP GET requests to the main AniDB server and by getting XML replies.
Here are some examples.
Here are some examples.


staff
2,096

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.