Light blue HTML template thread [Bugs|Features|Support]

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

Moderator: AniDB

DonGato
Posts: 1296
Joined: Sun Nov 17, 2002 9:08 pm
Location: The Pampas, The land of the Gaucho!
Contact:

Post by DonGato »

exp just uploaded the update. :)
chriv
Posts: 9
Joined: Sat Aug 09, 2003 6:01 pm

Storage field (again)

Post by chriv »

Very, very cool.

I just looked at the example, and I have requested an export.

I've got my fingers crossed and I am very happy.

I am very grateful for all your help!

:D

I'll let you know how it works!
chriv
Posts: 9
Joined: Sat Aug 09, 2003 6:01 pm

Storage field working!!!!

Post by chriv »

I am ecstatic!

It works!

Check it out:

My exported anime page.

THANK YOU!
THANK YOU!
THANK YOU!

:D
Elberet
Posts: 778
Joined: Sat Jul 19, 2003 8:14 pm

Post by Elberet »

Mozilla's JavaScript console wrote:Error: missing ) after argument list
Source File: http://chuckrenner.com/myanime/code.js
Line: 2, Column: 39
Source Code:
var expiry = new Date(today.getTime() :!: 365 * 24 * 60 * 60 * 1000);
Additionally, the position marked with the !-icon was highlited. I would guess that there's a "*" missing in the .js file?
DonGato
Posts: 1296
Joined: Sun Nov 17, 2002 9:08 pm
Location: The Pampas, The land of the Gaucho!
Contact:

Post by DonGato »

Elberet wrote:
Mozilla's JavaScript console wrote:Error: missing ) after argument list
Source File: http://chuckrenner.com/myanime/code.js
Line: 2, Column: 39
Source Code:
var expiry = new Date(today.getTime() :!: 365 * 24 * 60 * 60 * 1000);
Additionally, the position marked with the !-icon was highlited. I would guess that there's a "*" missing in the .js file?
Well, the original code I sent to exp has the line: var expiry = new Date(today.getTime() + 365 * 24 * 60 * 60 * 1000);, so I don't know from where it is that line. 8O :?
chriv
Posts: 9
Joined: Sat Aug 09, 2003 6:01 pm

worked for me.

Post by chriv »

It worked fine for me.

No problems at all.

Did I mention I was ECSTATIC?
:lol:

actually, I think I'm going to take that page off of the chuckrenner.com site.

It's still there, but I think I'm going to maintain it on a spaceports account:

:arrow: My anime page (new location)

Thanks again to DonGato! :!: :!: :!:
Elberet
Posts: 778
Joined: Sat Jul 19, 2003 8:14 pm

Post by Elberet »

See the other thread in the bug report... When you tell Mozilla manually to use UTF-7, it will keep that stored and autodetect pages that don't specify a character set as using that encoding type with a very high likelihood. That's what happened here. The + is a UTF-7 excape char, "+ " was decoded into " ". D'oh.
DonGato
Posts: 1296
Joined: Sun Nov 17, 2002 9:08 pm
Location: The Pampas, The land of the Gaucho!
Contact:

Post by DonGato »

New v2 is coming. You can check the example site. So, any problem with the new page, please report it here. :)

I hope you like it as it took me a while to update all the code (even while taking some code from fahrenheit template... it seems we reuse others code a lot, ne? :lol:).
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit »

Yeah, if the code is okay why change it :)

Btw, in opera you can get it to work with just one page, you simply have to put the mylist.htm page to grab uri's, i didn't use it before cause when i started i got some very big js's so i thought better to split the load :)

Anyways your template is still great, i realy like the layout of things :)

Btw, i didn't check it, but if you use my page change code and stuff, it still can be cleaned a lot :)

Have fun :)
DonGato
Posts: 1296
Joined: Sun Nov 17, 2002 9:08 pm
Location: The Pampas, The land of the Gaucho!
Contact:

Post by DonGato »

fahrenheit wrote:Yeah, if the code is okay why change it :)

Btw, in opera you can get it to work with just one page, you simply have to put the mylist.htm page to grab uri's, i didn't use it before cause when i started i got some very big js's so i thought better to split the load :)

Anyways your template is still great, i realy like the layout of things :)

Btw, i didn't check it, but if you use my page change code and stuff, it still can be cleaned a lot :)

Have fun :)
Didn't understand what you mean by grab URLs... anyway the load of anime .js files should be done only when you click...

Are you referring to the paging code or something else?
I've seen there are some bugs in the first one, but didn't try to fix them yet.
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit »

sorry for the delay in answering, but anyways i was thinking about what i said about the uri's, and i made a mistake, for you to grab uri's you would need the page to reload, for it to load the new anime js, so my ideia of making it all in one page has gone kaput..

sorry for the misleding info :roll:, i was thinking one thing and didn't realize it wouldn't work :P
var uri = "" + window.location;
var aToExpand = "";

if ( uri.indexOf ( "?" ) > -1 ) {
var toExpand = uri.substring ( uri.indexOf ( "=" ) + 1 , uri.length );
aToExpand = toExpand;
document.write ( "<script language=\"javascript\" type=\"text/javascript\" src=\"anime/" + aToExpand + ".js\"><\/script>" );
}
Oh well, got to think of another way..
DonGato
Posts: 1296
Joined: Sun Nov 17, 2002 9:08 pm
Location: The Pampas, The land of the Gaucho!
Contact:

Post by DonGato »

Well, anyway it's working for every browser... but the less capable ones (or kind of code incompatible) will use a less polished version. I don't see anything bad with that. :P

Thanks for the try anyway. ;)

PS: and you can check my anime while testing the template. :lol:
DonGato
Posts: 1296
Joined: Sun Nov 17, 2002 9:08 pm
Location: The Pampas, The land of the Gaucho!
Contact:

Post by DonGato »

Updated template, will be soon published to AniDB.
- updated CRC flagging (now it works properly)
- fixed animeplanet links
- added icon when a file comment is available
- added generic file support (shown in a different color)
- added new mylist filestates (for normal files and generic)
- added airing start-end dates for animes
- added romanji and kanji episode titles support (configurable)
- added wishlist info to animes (for now you need to have files to be shown but we're discussing other ways to be useful)
- added my vote/ my temp vote for animes
- updated images (new flags and icons)
- changed links to other sites for images (hope you recognize them, but when you hover you will see where you will go)
- other minor changes
fahrenheit
AniDB Staff
Posts: 438
Joined: Thu Apr 08, 2004 1:43 am
Location: Portugal

Post by fahrenheit »

nice, using the new sdk :)

i'm realy short of time this week, so i'll update mine only next week, just to implement the new options and correct bugs and stuff.

but i'm also trying to include new features, like the printer page that was talked about in some other thread and a new couple of options and layout changes, i'm also thinking on yet another template, but these are things for the next month or so :)

anyways, just a question, although you can use your export as example, i think a smaller export with all the available options (file comments and stuff) and suficient items would be a nicer choice, because i for example don't use all the options in file tagging anidb offers, don't know if it's your case, but for show maybe a smaller db would be better, what you think?

have fun and keep the nice work :)
DonGato
Posts: 1296
Joined: Sun Nov 17, 2002 9:08 pm
Location: The Pampas, The land of the Gaucho!
Contact:

Post by DonGato »

You already have the small example set, but that doesn't fix the problem that sometimes is hard to find examples of some features because you don't know the set. But it is a minor problem and nothing that should give exp any more work than he has.
Locked