Changes between Version 13 and Version 14 of WikiStart


Ignore:
Timestamp:
Aug 27, 2010, 1:45:16 PM (14 years ago)
Author:
os
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v13 v14  
    4444
    4545With subtitles store its encoding. Use [http://mirmodynamics.com/post/2008/12/17/Charset-detection-with-python charset detection]
    46 For language detection use TextCat, Python [http://thomas.mangin.com/data/source/ngram.py implementation], [http://code.google.com/p/langdet/ langdet], google translate [http://www.catonmat.net/blog/python-library-for-google-translate python lib]
     46For language detection use !TextCat, Python [http://thomas.mangin.com/data/source/ngram.py implementation], [http://code.google.com/p/langdet/ langdet], google translate [http://www.catonmat.net/blog/python-library-for-google-translate python lib]
    4747
    4848== Movie section ==
     
    5656done it properly, because current implementation (CRC64) is weak and can lead to collisions in
    5757future (so far there was no collisions). Ideally, system should be coded for more kind of hashes.
    58 I think wrong idea is put into hash information such is movielength, fps, dimensions of movie
     58I think wrong idea is put into hash itself information such is movielength, fps, dimensions of movie
    5959and such. Hash should be only file dependent, for example first and last 128kb (sha1), and
    6060filesize together hashed (sha1).
     
    6565== User Section ==
    6666
    67 Registration - simple as possible - UserName, Email, Password, possible login using social sites,
     67Registration - simple as possible - username, email, password, possible login using social sites,
    6868openid and so on (rpxnow.com).
    6969
    7070Groups and permissions - similar like in current version of opensubtitles. There are permissions,
    71 groups got 1 or many permissions, and user can belong to 1 or more groups.
     71groups got 1 or many permissions, and user can belong to 1 or more groups. Django got good resources of libs for this.
    7272
    7373== Translator Groups ==
     
    7575There should be some good support for subtitle translators and their groups. This need more
    7676research how to done it properly.
     77 * rating system
     78 * groups rating
     79 * stats
     80
     81== Upload section ==
     82Website upload: user should upload files first and then fill information needed. Why? Because we can help him to fill these informations - we
     83can analyze subtitles for language, so analyzed subtitle language will be selected. Duplicates should be avoided, or very similar subtitles,
     84so thats why it is wise to let user just select subtitles and upload and then fill needed information.
     85
    7786
    7887== Request section ==
     
    91100
    92101Only registered useragents will have API access by using their key. API should be provided
    93 by different standards such as XML-RPC (current), REST, JSON...good example of API is on [http://api.themoviedb.org/ TheMovieDB].
     102by different standards such as XML-RPC, REST, JSON...good example of API is on [http://api.themoviedb.org/ TheMovieDB].
    94103API [http://alexking.org/blog/2009/12/13/api-versioning-tip versioning] is a must.
    95104
     
    98107== Caching ==
    99108
    100 Cache everything what needs to be cached in memcached :)
     109
    101110
    102111
     
    127136 * maximum two subtitles per language per release
    128137 * preview of subtitles will be AJAX style, fetched from cached subtitles
     138 
    129139
    130140== Database Design ==
     
    147157For Caching of subtitles (so subtitles doesn't have to be each time REGENERATED) we can use:
    148158
     159=== using of API key for useragent is good idea ? ===
     160if somebody wants hack it, he will just look for API key in other app and thats it. So what is difference to have enabled useragents and API keys?
    149161
    150162