Page 7 of 10

Posted: Tue May 10, 2005 8:59 pm
by exp
everyone can now take a look at the existing categories and request additions/deletion/renames/moves in the db change request forum.

see:
http://anidb.info/perl-bin/animedb.pl?show=genren

please contribute your ideas!

BYe!
EXP

Posted: Tue May 10, 2005 10:07 pm
by sjabbie
Just a couple of ideas

genre::action::military
genre::action::military::WWII
genre::action::military::space war

genre::action::sports::american football

genre::action::sports::driving::streetrace
genre::action::sports::driving::carts
genre::action::sports::driving::formula 1
genre::action::sports::driving::offroad

genre::action::cops

genre::drama::real life

genre::drama::idol

genre::fantasy::dungeons and dragons

genre::fantasy::magic

setting::place::wasteland

setting::time::past::historical::WWII

and maybe change genre::action::sports::football -->
genre::action::sports::soccer

moved this to the db change requests forum :).

Posted: Wed May 11, 2005 1:29 am
by fahrenheit
i was looking at the cat list and i thought about this:

first, it's got too much information...

Code: Select all

ID 	Name 	
3 	Audience 	
76 	Audience::Kodomo 	
78 	Audience::Mina 	
80 	Audience::Perverts 	
82 	Audience::Perverts::Female Perverts 	
81 	Audience::Perverts::Male Perverts 	
79 	Audience::Seinen 	
77 	Audience::Shoujo 	
5 	Audience::Shounen
83 	Content Indicators
this is way too much info, but it can be easly used to make a much simpler aproach using a tree structure, like so:

Code: Select all

ID 	Name 	
3 	[-] Audience 	
76 	     |-   Kodomo 	
78 	     |-   Mina 	
80 	     [-]  Perverts 	
82 	           |-   Female Perverts 	
81 	           |-   Male Perverts 	
79 	     |-   Seinen 	
77 	     |-   Shoujo 	
5 	     |-   Shounen
83 	[+] Content Indicators
It's not very complicated to introduce a tree layout keeping the underlying text references, and i think it's easier to read info in a tree structure than the current way.

As for the genres, we are obviously missing lots of sub-cats judging by the number of entries that Hentai has :P

On a side note, i think that search should be recursive, example:

G-Taste has (among a massive amount of other things):
Genre::Hentai::Things Involved::Breasts::Big Breasts

The thing is i would only get to g-taste from the cat page if i selected Genre::Hentai::Things Involved::Breasts::Big Breasts, the thing is, if one doesn't know the size of the breasts involved in the anime one would have to click each of the breast sizes (A,B,C,D,DD :P ), so i'm proposing that some of the cats, specialy those that refer to diferent kinds of the samething if selected give the recursive results of their child cats.

regarding this i think that for sure, 1st level cats should not be recursive (Audience, Genres, Setting, etc), after that we could recurse cats.

On a side note, the advanced search page will be huge after this is implemented to the page :P

Posted: Wed May 11, 2005 1:49 am
by Ultima
Hm, nice suggestion fahrenheit, perhaps exp could design some layout kinda like how the episode -> file expansion works and the category page would automatically be expanded fully? (Just shooting in the dark here) hehe

Just a random thought, but I guess the Hentai related genres should be hidden once the list is finally "complete"? However, I guess the genre hentai was available to be search for non regged users as well, but of course they couldn't access the actual entry without regging and enabling the option in their profile. Still :?

Posted: Wed May 11, 2005 6:08 am
by DonGato
Yes, I think fahrenheit proposition about a tree would help a lot.

Posted: Wed May 11, 2005 4:06 pm
by exp
to keep things in one place please post

Requests for Categories (Add/Rename/Move/Delete) only here:
http://www.anidb.net/forum/viewtopic.php?t=3742

and ideas and discussion about how to improve the overall system in this thread.

I will most likely implement something tree like for the next version of the category display pages.

BYe!
EXP

Posted: Wed May 11, 2005 10:23 pm
by kidan
An "Expand All"-link would be handy and anchors so that you wouldn't have to scroll down after expanding a single node.

Posted: Thu May 12, 2005 1:19 pm
by fahrenheit
ricce wrote:Change dummy link for javascript:

The dummy link for the javascripts that expands the the tree is now href="#" - and in most browsers this will leed to that the page is scrolled to the top, change this link to href="javascript:;" or href="javascript:void(0);"

You may also place the javascript in the href attribute directly like href="javascript:showcat('subcats75');" - but then you must remove the onClick part - both href and onClick can caus the function to be executed twice.

An other alternative can be to add a name like:
<a href="#subcats75" name="subcats75" onClick="showcat('subcats75');">+/-</a>

In this way the page will scroll to view the newly expanded part of the tree.

An other sulution can be to add "return false;" in the end of the function like:

Code: Select all

function showcat(subcat)
{
	var subcatStyle = document.getElementById(subcat).style;
	if ( subcatStyle.display == "none" )
	{
	    subcatStyle.display = "block";
	}
	else
	{
	    subcatStyle.display = "none";
	}
	rutern false;
}
In that way the function tells - the browser that the link shuld not be folowed.
That was on the Cat thread.

Anyway my thoughts:

With the introduction of the tree, info is much more easy to read :)
This proves the concept, the thing now is to put the [+] / [-] images instead of the "+/-", that can be confusing, a expand/collapse all option, and correct the href="#", as it goes up like ricce said.

i would go for something like this:

(having in mind that the output of the pages is done by perl, you just have to convert this to perl script)

Code: Select all

<script language="javascript" type="text/javascript" />
document.write ('<img src="pics/plus.gif" alt="+/-" title="click to expand/collapse cattegorie" height=15 width=13 id="cat_pic_'+subcat_number+'" />');
</script>
that way we could use for the link the existing script with the following modifications:

Code: Select all

function showcat(subcat)
{
	var subcatStyle = document.getElementById(subcat).style;
	var subcatPic = document.getElemenyById("cat_pic_"+subcat);
                if ( subcatStyle.display == "none" )
	{
	    subcatStyle.display = "block";
                    subcatPic.src = "pics/minus.gif";
	}
	else
	{
	    subcatStyle.display = "none";
                    subcatPic.src = "pics/plus.gif";
	}
                /* javascript to jump to anchors here */
	return false;
}
the links could then be like this:

Code: Select all

<a href="javascript:showcat(#);" name="sub_cat#" />
I would like to ask for the following addon to the cattegories:

before each level 0 cat (Audience, Characters, Content Indicator, Genre, Setting) before the "+/-" add a <img> tag, the source of the image could be the 1x1 transparent spacer without the heigth and width attributes or with the default anidb icon attributes 15x13, this is because i think it would look nice to have at least for those level 0 cats a little icon :P

Posted: Thu May 12, 2005 8:23 pm
by exp
made some changes to the category list page.

BYe!
EXP

Posted: Thu May 12, 2005 8:40 pm
by ricce
The logic in have you marke the background color isn't good ether - it will now mark every second row darker - not depending on where in the tree it is att all.

The logic for this shuld be to have to take every second in one level.

for exampel the subcatogeries of Adience:
- Kodomo (dark)
- Mina (light)
(I don't show hentai so it will be cut out)
- Seinen (dark)
- Shoujo (light)
- Shounen (dark)

As the exempel says - the colors shuld be given after you have filtered away hentai categories - or else it will mess it up cmplitely.

Posted: Thu May 12, 2005 10:02 pm
by fahrenheit
ricce wrote:The logic in have you marke the background color isn't good ether - it will now mark every second row darker - not depending on where in the tree it is att all.

The logic for this shuld be to have to take every second in one level.

for exampel the subcatogeries of Adience:
- Kodomo (dark)
- Mina (light)
(I don't show hentai so it will be cut out)
- Seinen (dark)
- Shoujo (light)
- Shounen (dark)

As the exempel says - the colors shuld be given after you have filtered away hentai categories - or else it will mess it up cmplitely.
there is no easy way to do what you say, the safest solution is to mark it by level depth alternatively, so the first level all get the same colour, the second the alt colour and so on.
Either that or leave as it is.

note: If you disable "Hentai" on your anidb profile the same thing happens to your mylist, it will skip an entry.

Posted: Fri May 13, 2005 7:15 am
by sjabbie
Isn't it possible to create a new forum topic like anime talk and db change request. If you could create a category discussion topic, I think it would be easier for the mods because they probably haven't seen every anime out there ;).

Posted: Fri May 13, 2005 7:53 am
by Rar
Have you seen DerIdiot's watched %? I think between all the mods most of the db is covered, perhaps just need to enlist a yaoi fan, ehehhee.

Rar

Posted: Fri May 13, 2005 11:27 am
by sjabbie
I didn't know that hehe. And my friends call me addicted :P.

Posted: Fri May 13, 2005 2:38 pm
by Andemon
I think it's good and all that you added the categories that I suggested, but I don't expect everyone to know what space opera, steampunk or kemono mean -- without consulting an encyclopedia, that is.

The genre definitions will no doubt be updated at some point (http://www.anidb.net/forum/viewtopic.php?t=2854), but why not take it one step further, and add the definitions into the category list itself? Would it be feasible to fe. add a (?)-link to the less obvious category list entries, a link that opens a pop-up window that tells the definition of the category?