aniDBstyle/cleancut template thread [Bugs|Features|Support]

Want to help out? Need help accessing the AniDB API? This is the place to ask questions.

Moderator: AniDB

Locked

What new features would you like to see in the templates?

Poll ended at Fri Feb 25, 2005 7:00 pm

Support for optional anime images (user added)
4
50%
Support for basic mylist reports
3
38%
Other (specify)
1
13%
 
Total votes: 8

fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Re: length missing in html-anidbstyle:

Post by fahrenheit »

dinoex wrote:could the "length" be added im html-anidbstyle.
this would help me alot,
anidbstyle will be updated shorly (maybe till the end of next week), just wait a bit.

found and fixed a bug in operatic:

http://fahrenheit.home.sapo.pt/projecto ... ic/code.js

download and update your code.js.

This solves the high priority bug that is found in the current release of html-operatic.
lucky644
Posts: 45
Joined: Mon Sep 20, 2004 12:31 am
Location: Canada
Contact:

Re: length missing in html-anidbstyle:

Post by lucky644 »

fahrenheit wrote:
dinoex wrote:could the "length" be added im html-anidbstyle.
this would help me alot,
anidbstyle will be updated shorly (maybe till the end of next week), just wait a bit.

found and fixed a bug in operatic:

http://fahrenheit.home.sapo.pt/projecto ... ic/code.js

download and update your code.js.

This solves the high priority bug that is found in the current release of html-operatic.
Works good ;)
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Re: length missing in html-anidbstyle:

Post by fahrenheit »

dinoex wrote:could the "length" be added im html-anidbstyle.
this would help me alot,
now that i actualy think about this, what "lenght" are you talking?

(refer to anidb so that i know what you want, file lenght, specify please)
dinoex
Posts: 35
Joined: Wed Nov 17, 2004 8:28 pm
Contact:

Re: length missing in html-anidbstyle:

Post by dinoex »

fahrenheit wrote:
dinoex wrote:could the "length" be added im html-anidbstyle.
this would help me alot,
now that i actualy think about this, what "lenght" are you talking?

(refer to anidb so that i know what you want, file lenght, specify please)
The length (min) of the episode is already there.
the length (hrs:min:sec) which is entered with the fille
that is what I am looking for.
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Re: length missing in html-anidbstyle:

Post by fahrenheit »

dinoex wrote:
fahrenheit wrote:
dinoex wrote:could the "length" be added im html-anidbstyle.
this would help me alot,
now that i actualy think about this, what "lenght" are you talking?

(refer to anidb so that i know what you want, file lenght, specify please)
The length (min) of the episode is already there.
the length (hrs:min:sec) which is entered with the fille
that is what I am looking for.
ah that, sorry, no joy at the moment, exp still hasn't make that var exportable via the mylist exports, i've allready bugged him to include that var on the next SDK, so until SDK 1.0 is out it's a none exportable var..
Jake030
Posts: 24
Joined: Mon Nov 08, 2004 2:18 pm

Post by Jake030 »

When using operatic , Monster shows up as not ongoing . I guess that's
because the total episode count is known and not zero? How else
can you tell a series is ongoing? Maybe if the end date isn't known yet
or the vote count is 0?
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit »

Jake030 wrote:When using operatic , Monster shows up as not ongoing . I guess that's
because the total episode count is known and not zero? How else
can you tell a series is ongoing? Maybe if the end date isn't known yet
or the vote count is 0?
well actually the ongoing flag is just if the total anime eps is 0, i could put it to say that the ongoing are also the ones with a end date in the future, that could add a few more.

but at the moment i'm a bit overworked and don't know when i'll work on the templates again.
Jake030
Posts: 24
Joined: Mon Nov 08, 2004 2:18 pm

Post by Jake030 »

Don't worry about it. Real life comes first hehe.
I changed that one line to use vote count instead and
it worked for whatever ongoing stuff I have now.
It may not be good for the future but it's ok for the moment.
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit »

Jake030 wrote:Don't worry about it. Real life comes first hehe.
I changed that one line to use vote count instead and
it worked for whatever ongoing stuff I have now.
It may not be good for the future but it's ok for the moment.
it works ok that way, i need to have a free weekend to do some stuff..
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit »

Sorry for the lack of updates, i'm up to my head in studing and working, anyways here's an small preview of the next version:

html-operatic version 1.1.0 dev

The updates?

Not much, i've done a small inclusion of Images to the anime pages, the format for the images is "covers/iXXXX.jpg" where "covers" is the directory where each image must be, as for the images it selves they must be started by the prefix "i" followed by the anime id of the anime and the image must be a jpg image.

The problems?

Has javascript has no native file I/O procedures, there is no way to tell if an image exists or not, so i've included 3 small safe-guards has to not make the anime page ugly with a non-existing image placeholder.

1) the data collumn was given 100% width.
2) the alt tag of the img tag is null (== "");
3) a small onError function to change the img src if there is an error.

Number 3 works sometimes, wich is nice, but nicer would be if it worked all times, but anyway check the example, i guess the result is not butt ugly :P

till a next update :P

[edit]uppon checking my own example page, it guess it works some times?[/edit]
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit »

a new update on the preview for html-operatic.

- search page now filters by complete/watched (1|0) status and states.
- tried to add some html validation (will fail every time never the less, i don't think that it's possible to validate any of the templates)

anyway you can check the preview link on the first page.

note: everyone can use the preview, it's just a matter of overwriting the html's and js's that come with the export of html-operatic.
lucky644
Posts: 45
Joined: Mon Sep 20, 2004 12:31 am
Location: Canada
Contact:

Post by lucky644 »

Looking forward to the release...
lucky644
Posts: 45
Joined: Mon Sep 20, 2004 12:31 am
Location: Canada
Contact:

Post by lucky644 »

I just noticed two things, one is that 'collapse' is spelled wrong when you hover over a negative sign, the second is that when you expand or collapse an anime it takes you back to the first page. So if I expanded on School Rumble, it would go back to .hack// on the first page.

I just noticed these, sorry if you already know or if they were intentional :)

(this is for operatic)
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit »

lucky644 wrote:I just noticed two things, one is that 'collapse' is spelled wrong when you hover over a negative sign, the second is that when you expand or collapse an anime it takes you back to the first page. So if I expanded on School Rumble, it would go back to .hack// on the first page.

I just noticed these, sorry if you already know or if they were intentional :)

(this is for operatic)
Hmm, collapse.. i bet that's on every template.. it's my perfect english working.. thanks for the heads up. :)
regarding the other issue, yes i know that, it's because i just pass the aid of the anime to expand not the page where it is, i guess i should check that also..

well, i will fix every thing in the given time :P
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit »

hmm okay, now i'm positive i will fix most of the problems with the templates, validation (html/css wise, yes, js wise, i'll try) and other stuff.

I've made some heavy changes on the anime page, though just looking at it one wouldn't guess there were that much changes..

examples:

3 animes with images:

Koukaku Kidoutai STAND ALONE COMPLEX - Has image, awards and description.
.hack//LIMINALITY - Has image and description.
Arcade Gamer FUBUKI - Has image.

1 anime without images:

Naruto - Has awards.

It's a good thing the hide portion of the script is working when no image is found, because altough i've included the preferences page in the example, whatever i choose makes no diference, i have to check that..

The more visible changes regarding other templates are the images and the group info.

I'm going to start working tomorow on the mylist-reports, altough to reduce complexity of it and to include it on page that one can use online i'm just going to add reports to each anime and not to all of the animes like what happens on anidb, i will possibly make a template just for mylist reports, but has that includes much new code it's on standby for the moment.

One other thing many people won't notice or is going to care anyway is that at least the anime.htm is html 4.01 validated and all the code do show stuff does not depend on the html itself but uses <span> tags and css to make the code much more template that what it was.

My future plans are to finish this template which is named html-japan04, and to convert all my other templates (including the orange-white) to this format, this will enable me and every anidb user that uses my templates to switch templates with just a download of theme, i.e: the mylist export is just the data and the user downloads the required themes.

More graphical example:

user exports template html-x-theme from anidb and chooses one of the available themes and downloads it too, available themes will be:

theme-orangewhite;
theme-anidbstyle;
theme-cleancut;
theme-operatic;
theme-japan04.

(i will include a default theme just in case, probably orange-white because it's the simpliest i have)

Regarding the mylist reports available, i'm thinking on:

Episodes with multiple files;
Episodes without length;
Episodes without Jap/Eng titles;
Episodes without Air/Release Dates;

Files without X hash; (ed2k, md5, sha1 and crc32)
Files with unknown source;
Files with incomplete resolution, audio and video codecs;
Corrupted files;
Files with X quality; (none, low, med, high)
Files that match X crc status; (unknown, matches, doesn't matches)
Files that are version X; (v1~5)

I will make this a bit like the advanced search of mylist :P

When i complete this report thing i'll post an update and move on to the mylist part of the html-japan04.

(i wrote a lot... i'm getting sleepy.. it's late.. i'm going to bed..)
Locked