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

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

Post by DonGato » Tue Sep 30, 2003 10:23 pm

exp just uploaded the update. :)

chriv
Posts: 9
Joined: Sat Aug 09, 2003 6:01 pm

Storage field (again)

Post by chriv » Wed Oct 01, 2003 3:15 am

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 » Wed Oct 01, 2003 10:55 pm

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 » Wed Oct 01, 2003 11:48 pm

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?

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

Post by DonGato » Thu Oct 02, 2003 3:42 am

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 » Thu Oct 02, 2003 12:27 pm

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 » Thu Oct 02, 2003 1:38 pm

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.

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

Post by DonGato » Sat Sep 11, 2004 8:35 am

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:).

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

Post by fahrenheit » Sun Sep 12, 2004 2:33 am

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 :)

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

Post by DonGato » Sun Sep 12, 2004 8:12 am

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.

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

Post by fahrenheit » Mon Sep 13, 2004 11:29 pm

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..

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

Post by DonGato » Tue Sep 14, 2004 12:08 am

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:

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

Post by DonGato » Tue Sep 28, 2004 10:39 am

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

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

Post by fahrenheit » Tue Sep 28, 2004 10:43 pm

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 :)

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

Post by DonGato » Wed Sep 29, 2004 1:57 pm

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