Outils pour utilisateurs

Outils du site


php:magnesia

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
Dernière révisionLes deux révisions suivantes
php:magnesia [2012-06-19 10:59] mitsuphp:magnesia [2013-05-11 00:20] mitsu
Ligne 3: Ligne 3:
  
 ---- ----
-**Status: active development**+**Status: development stopped ** 
 + 
 +<file>IMPORTANT: Magnesia is no longer developed ! Using it in a production environment is strongly unwise and difficult.</file> 
 + 
 +**The new project is called [[php:magnyaa|Magnyaa]]. Don't waste more time on this page ;-)** 
 ---- ----
  
 ==== [ download ] ==== ==== [ download ] ====
  
-  - {{:php:magnesia_r1.zip|Magnesia r1}}  [[http://wiki.suumitsu.eu/upload/data-magnesia_r1.zip|data (up to 324207)]]  {{:php:magnesia_r1_feeders.zip|bash "feeders"}}+  - {{:php:magnesia_r1.zip|Magnesia r1}}  [[http://www.suumitsu.eu/wiki/upload/data-magnesia_r1.zip|data (up to 324207)]]  {{:php:magnesia_r1_feeders.zip|bash "feeders"}} 
 +  - {{:php:magnesia_r2.zip|Magnesia r2}}  [[http://www.suumitsu.eu/wiki/upload/data-magnesia_r2.zip|data (up to 329138)]]  
 +  - {{:php:magnesia_r3.zip|Magnesia r3}}  [[http://www.suumitsu.eu/wiki/upload/data-magnesia_r3.zip|data (up to 334559)]] {{:php:magnesia_r3_feeders.zip|bash "feeders"}}
  
-[[http://magnesia.suumitsu.eu/|Live demo]] 
  
 ==== [ changelog ] ==== ==== [ changelog ] ====
 +
 +** Magnesia r3 "Mit Viel Oktan und Frei von Blei"**
 +  * _stat.php: extracting statistics directly from Nyaatorrents, output in JSON format
 +  * seeders, leechers, downloads, description jQuery-parsed from _stat.php (JSON exchange)
 +  * pages changed accordingly. "stat*.php" are now useless
 +
 +
 +** Magnesia r2 "Lumen Per Lux"**
 +  * urlencode magnet links (W3C HTML5 validation when "torrent error")
 +  * htmlentities torrent names (W3C HTML5 validation, for example when "&" in torrent name)
 +  * export link: generate export file and send it; if export file exists and is younger than [3 days], send it.
 +  * minor style change: added separator for torrent details between info and stats
 +  * robots.txt, sitemap.php (plain text url list for tables)
 +
  
 ** Magnesia r1 "Back To Basic World Domination"** ** Magnesia r1 "Back To Basic World Domination"**
Ligne 59: Ligne 79:
 Bug report, feature requests, love declarations ? Head over here: Bug report, feature requests, love declarations ? Head over here:
  
-http://www.suumitsu.eu/index.php?2012/05/24/15/48/31-contact+http://www.suumitsu.eu/contact
  
 ===  Technical specifications === ===  Technical specifications ===
Ligne 66: Ligne 86:
  
   * / -> open data, put elements in array, reverse array, use first element's id as $lasttable, call content, parse, return listing   * / -> open data, put elements in array, reverse array, use first element's id as $lasttable, call content, parse, return listing
 +  * /?export  -> check if "export.zip" is older than 3 days. If no, redirect to it. If yes, delete it, regenerate it and redirect to it. (file contains the whole "data/" directory)
 +  * /?{anything}&export  -> no matter what: if export is present, do export and don't care about the rest.
   * /?table=X  -> use X as table, call content, parse return listing   * /?table=X  -> use X as table, call content, parse return listing
   * /?nyaaid=Y  -> use Y, divide by 1000 and round to get X as table, call content, parse and return torrent details   * /?nyaaid=Y  -> use Y, divide by 1000 and round to get X as table, call content, parse and return torrent details
   * /?table=  or /?table=Z  -> no such table, head 404, return error and die.   * /?table=  or /?table=Z  -> no such table, head 404, return error and die.
   * /?table=X&nyaaid=Y  -> ignore GET['table'], care only about torrent details   * /?table=X&nyaaid=Y  -> ignore GET['table'], care only about torrent details
-  * /?nyaaid=Z  -> called table greater than $lasttable -> return error and die+  * /?nyaaid=Z  -> called table not exist -> return error and die
   * /?nyaaid=Y  -> called table exist but no such torrent -> return 404 "torrent not found" page   * /?nyaaid=Y  -> called table exist but no such torrent -> return 404 "torrent not found" page
  
php/magnesia.txt · Dernière modification : 2013-05-11 00:20 de 127.0.0.1