-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add one JSON File per id #42
Conversation
FansubDB
commented
Jan 26, 2016
- 1 id from hummingbird_id
- hummingbird because open API and this
New data struct:
|
@KasaiDot can you test it?
|
okay, test it right now. |
1° : "external/bootstrap.min.css" : add "https:" before "//" for compatibility with Linux "drag & drop" |
Okay, don't work for me. 11456.json : {
"name": "Active Raid: Kidou Kyoushuushitsu Dai-Hakkei",
"image": "http://cdn.myanimelist.net/images/anime/9/76669.jpg",
"hummingbird_id": "11456",
"group": [{
"status": "simulcast",
"detail": [{
"name": "Crunchyroll"
}]
}]
} hiver.json {
"name": "name",
"group": "group",
"message": "",
"lbl_tv": "TV",
"lbl_ova": "OVA",
"lbl_movie": "Movies",
"tv": [{
"name": "Active Raid: Kidou Kyoushuushitsu Dai-Hakkei",
"hummingbird_id": "11456",
"json": "11456.json",
"leftover": "true",
}]
} |
You can't drag'n'drop this project. You must to use a php server because:
|
Here a zip version. But like I said, launch it with a php server.
Edit: I do a drag'n'drop version for this test purpose by using gist. Here the modified version. |
Will try with the new version, report it this night. |
Okay, test finished. 1° the color diplaying was ok (purple), i see it. (http://i.imgur.com/y5Xk2rj.png) |
Okay, i just found the bug in the first load the json's files was loaded by the Gist from GitHub. Images : http://i.imgur.com/XN0Kk07.png & http://i.imgur.com/JkKcaGK.png |
@FansubDB So your update works fine with me. |
Not sure, but:
|
dunno, did you want to check it? |
I can't reproduce this on my side with Firefox |
so, i'll try with my side with FF 42.0 in Xubuntu 15.0 |
For the moment FF seems support it (http://i.imgur.com/S81Vd9M.png) |
but like Chrome too it bug when we change the "button" (http://i.imgur.com/lTGEDPb.png) |
They are really a fck bug when we change (http://i.imgur.com/6mi9Uap.png) |
Okay, found where it bug from me (http://i.imgur.com/6NXXulZ.png) just correct the wrong path, and it's good. |
testing the corrected version right now. |
Oh, it's when you click on one of the three buttons? It's normal, they don't load the gist. I just change one URL, not all (you must to change here). |
Okay, now it's works perfectly fine for me. 1° (fansubdb.github.io-leftover/fr/2015/hiver.html) <script type='text/javascript'>
readJsonFile('https://gist.githubusercontent.com/FansubDB/e529c7e9a8721e1c92d1/raw/b71ea2403ff80d02b34f3c8fca22a78ccf5a8e15/hiver.json', SEASON, 0);
</script> by <script type="text/javascript">
readJsonFile("hiver.json",SEASON,0);
</script> 2° (fansubdb.github.io-leftover/fr/2015/hiver.json) "json": "11456.json", by "json": "../tv/11456.json", with that changes, the coloring works perfectly. |
why? The |
The "../TV" was for the exemple witch i tested on my laptop. |
ok :) thanks |