Short links: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
m (; ... : reduces redundant HTML significantly)
Line 1: Line 1:
{{TOCright}}
AniDB supports a number of short links that links to different aspects of the DataBase, they are meant as a convenience for linking to information on AniDB. So for example, instead of having a link that looks like this: http://anidb.info/perl-bin/animedb.pl?show=animelist&adb.search=Hachimitsu&do.search=search which might not even work correctly if, say, the anime gets a sequel; in which case that link would lead to a search page listing both those anime. What you rather should do instead is link to the actual anime page for the anime. Such a link always contains an '''aid''', or an '''a'''nime '''id'''. For ''Hachimitsu to Clover'' that aid is '''2835''', and the link would look like this: http://anidb.info/perl-bin/animedb.pl?show=anime&aid=2835. Now, if you use short links the link is even more convenient: http://anidb.info/a2835. Let's review. We have the search-link, the animelink, and the short link:
AniDB supports a number of short links that links to different aspects of the DataBase, they are meant as a convenience for linking to information on AniDB. So for example, instead of having a link that looks like this: http://anidb.info/perl-bin/animedb.pl?show=animelist&adb.search=Hachimitsu&do.search=search which might not even work correctly if, say, the anime gets a sequel; in which case that link would lead to a search page listing both those anime. What you rather should do instead is link to the actual anime page for the anime. Such a link always contains an '''aid''', or an '''a'''nime '''id'''. For ''Hachimitsu to Clover'' that aid is '''2835''', and the link would look like this: http://anidb.info/perl-bin/animedb.pl?show=anime&aid=2835. Now, if you use short links the link is even more convenient: http://anidb.info/a2835. Let's review. We have the search-link, the animelink, and the short link:
*http://anidb.info/perl-bin/animedb.pl?show=animelist&adb.search=Hachimitsu&do.search=search
*http://anidb.info/perl-bin/animedb.pl?show=animelist&adb.search=Hachimitsu&do.search=search
Line 4: Line 6:
*http://anidb.info/a2835
*http://anidb.info/a2835
You can use whichever you like, but for convenience, isn't the short link easier to use and remember (as long as you remember the aid)?
You can use whichever you like, but for convenience, isn't the short link easier to use and remember (as long as you remember the aid)?
Now, it isn't only to anime pages that AniDC sports short links, most things you can think of also has short links:
Now, it isn't only to anime pages that AniDB sports short links, most things you can think of also has short links:
*Anime: <nowiki>http://anidb.info/</nowiki>'''a<aid>''' - link to the anime details of an anime.
; Anime : <tt><nowiki>http://anidb.info/</nowiki>'''a<aid>'''</tt> - link to the anime details of an anime.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=anime&aid=<aid></nowiki></small>
Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=anime&aid=<aid></nowiki>
*Episodes: <nowiki>http://anidb.info/</nowiki>'''e<eid>''' - link to the episode details of an episode.
; Episodes : <tt><nowiki>http://anidb.info/</nowiki>'''e<eid>'''</tt> - link to the episode details of an episode.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=ep&eid=<eid></nowiki></small>
Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=ep&eid=<eid></nowiki>
*Files: <nowiki>http://anidb.info/</nowiki>'''f<fid>''' - link to the filedetails of a file.
; Files : <tt><nowiki>http://anidb.info/</nowiki>'''f<fid>'''</tt> - link to the filedetails of a file.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=file&fid=<fid></nowiki></small>
Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=file&fid=<fid></nowiki>
*Groups: <nowiki>http://anidb.info/</nowiki>'''g<gid>''' - link to the group details of a group.
; Groups : <tt><nowiki>http://anidb.info/</nowiki>'''g<gid>'''</tt> - link to the group details of a group.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=group&gid=<gid></nowiki></small>
Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=group&gid=<gid></nowiki>
*Reviews: <nowiki>http://anidb.info/</nowiki>'''r<aid>''' - link to all the reviews of an anime.
; Reviews : <tt><nowiki>http://anidb.info/</nowiki>'''r<aid>'''</tt> - link to all the reviews of an anime.
*Reviews: <nowiki>http://anidb.info/</nowiki>'''r<aid>#<rid>''' - link to all the reviews of an anime, but scroll to a specific.
; Reviews : <tt><nowiki>http://anidb.info/</nowiki>'''r<aid>#<rid>'''</tt> - link to all the reviews of an anime, but scroll to a specific.
::<small>Expands to: <nowiki>http://www.anidb.info/perl-bin/animedb.pl?show=animeatt&aid=<aid>[#<rid>]</nowiki></small>
Expands to: <nowiki>http://www.anidb.info/perl-bin/animedb.pl?show=animeatt&aid=<aid>[#<rid>]</nowiki>
*Review: <nowiki>http://anidb.info/</nowiki>'''rs<rid>''' - link to a specific review of an anime.
; Review : <tt><nowiki>http://anidb.info/</nowiki>'''rs<rid>'''</tt> - link to a specific review of an anime.
::<small>Expands to: <nowiki>http://www.anidb.info/perl-bin/animedb.pl?show=animeatt&attid=<rid></nowiki></small>
Expands to: <nowiki>http://www.anidb.info/perl-bin/animedb.pl?show=animeatt&attid=<rid></nowiki>
*User [[mylist]]s: <nowiki>http://anidb.info/</nowiki>'''u<uid>''' - link to a user's mylist.
; User [[MyList]]s : <tt><nowiki>http://anidb.info/</nowiki>'''u<uid>'''</tt> - link to a user's MyList.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=mylist&uid=<uid></nowiki></small>
Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=mylist&uid=<uid></nowiki>
*User [[myvotes]]: <nowiki>http://anidb.info/</nowiki>'''v<uid>''' - link to a user's votes list.
; User [[MyVotes]] : <tt><nowiki>http://anidb.info/</nowiki>'''v<uid>'''</tt> - link to a user's votes list.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=myvotes&orderby=vote&orderdir=1&uid=<uid></nowiki></small>
Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=myvotes&orderby=vote&orderdir=1&uid=<uid></nowiki>
*User page: <nowiki>http://anidb.info/</nowiki>'''up<uid>''' - link to a user's page.
; User page : <tt><nowiki>http://anidb.info/</nowiki>'''up<uid>'''</tt> - link to a user's page.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=userpage&uid=<uid></nowiki></small>
Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=userpage&uid=<uid></nowiki>
*Producers: <nowiki>http://anidb.info/</nowiki>'''p<prid>''' - link to the details of a producer.
; Producers : <tt><nowiki>http://anidb.info/</nowiki>'''p<prid>'''</tt> - link to the details of a producer.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=producer&prid=<prid></nowiki></small>
Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=producer&prid=<prid></nowiki>
*[[Creq]]s: <nowiki>http://anidb.info/</nowiki>'''c<creqid>''' - link to the specifics of a creq.
; [[Creq]]s : <tt><nowiki>http://anidb.info/</nowiki>'''c<creqid>'''</tt> - link to the specifics of a creq.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=creq&do.showhist=1&creq.id=<creqid></nowiki></small>
Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=creq&do.showhist=1&creq.id=<creqid></nowiki>
*Anime Producers: <nowiki>http://anidb.info/</nowiki>'''ap<aid>''' - link to where you can add producers to an anime, and see which are currently listed.
; Anime Producers: <nowiki>http://anidb.info/</nowiki>'''ap<aid>'''</tt> - link to where you can add producers to an anime, and see which are currently listed.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=addaproducer&aid=<aid></nowiki></small>
Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=addaproducer&aid=<aid></nowiki>
*Anime Relations: <nowiki>http://anidb.info/</nowiki>'''ar<aid>''' - link to where you can add relations for an anime, as well as see which are currently listed.
; Anime Relations : <tt><nowiki>http://anidb.info/</nowiki>'''ar<aid>'''</tt> - link to where you can add relations for an anime, as well as see which are currently listed.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=addseq&aid=<aid></nowiki></small>
Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=addseq&aid=<aid></nowiki>
*Anime Categories: <nowiki>http://anidb.info/</nowiki>'''ac<aid>''' - link to where you can add categories to an anime, as well as see which are currently listed.
; Anime Categories : <tt><nowiki>http://anidb.info/</nowiki>'''ac<aid>'''</tt> - link to where you can add categories to an anime, as well as see which are currently listed.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=addgenren&aid=<aid></nowiki></small>
Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=addgenren&aid=<aid></nowiki>
*Anime Genres: <nowiki>http://anidb.info/</nowiki>'''ag<aid>''' - link to where you can add the obsoleted genres to an anime, as well as see which are currently listed.
; Anime Genres : <tt><nowiki>http://anidb.info/</nowiki>'''ag<aid>'''</tt> - link to where you can add the obsoleted genres to an anime, as well as see which are currently listed.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=addgenre&aid=<aid></nowiki></small>
Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=addgenre&aid=<aid></nowiki>
*Anime Titles: <nowiki>http://anidb.info/</nowiki>'''at<aid>''' - link to where you can add titles to an anime, as well as see which are currently listed.
; Anime Titles : <tt><nowiki>http://anidb.info/</nowiki>'''at<aid>'''</tt> - link to where you can add titles to an anime, as well as see which are currently listed.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=addanimetitle&aid=<aid></nowiki></small>
Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=addanimetitle&aid=<aid></nowiki>
*Anime Group Comments <nowiki>http://anidb.info/</nowiki>'''agc<agcid>''' - link to an anime/group comment section, where you can see which comments have been added as well as add one of your own.
; Anime Group Comments : <tt><nowiki>http://anidb.info/</nowiki>'''agc<agcid>'''</tt> - link to an anime/group comment section, where you can see which comments have been added as well as add one of your own.
::<small>Expand to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=agcmts&agid=21710<agcid></nowiki></small>
Expand to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=agcmts&agid=21710<agcid></nowiki>


Some of these aren't very useful for the average user, but the '''a''', '''u''' and '''v''' short links are quite common - the '''a''' short link is used almost consistently on this wiki.
Some of these aren't very useful for the average user, but the '''a''', '''u''' and '''v''' short links are quite common - the '''a''' short link is used almost consistently on this wiki.


[[Category:Features]]
[[Category:Features]]

Revision as of 14:52, 25 April 2009

AniDB supports a number of short links that links to different aspects of the DataBase, they are meant as a convenience for linking to information on AniDB. So for example, instead of having a link that looks like this: http://anidb.info/perl-bin/animedb.pl?show=animelist&adb.search=Hachimitsu&do.search=search which might not even work correctly if, say, the anime gets a sequel; in which case that link would lead to a search page listing both those anime. What you rather should do instead is link to the actual anime page for the anime. Such a link always contains an aid, or an anime id. For Hachimitsu to Clover that aid is 2835, and the link would look like this: http://anidb.info/perl-bin/animedb.pl?show=anime&aid=2835. Now, if you use short links the link is even more convenient: http://anidb.info/a2835. Let's review. We have the search-link, the animelink, and the short link:

You can use whichever you like, but for convenience, isn't the short link easier to use and remember (as long as you remember the aid)? Now, it isn't only to anime pages that AniDB sports short links, most things you can think of also has short links:

Anime
http://anidb.info/a<aid> - link to the anime details of an anime.
Expands to: http://anidb.info/perl-bin/animedb.pl?show=anime&aid=<aid>
Episodes
http://anidb.info/e<eid> - link to the episode details of an episode.
Expands to: http://anidb.info/perl-bin/animedb.pl?show=ep&eid=<eid>
Files
http://anidb.info/f<fid> - link to the filedetails of a file.
Expands to: http://anidb.info/perl-bin/animedb.pl?show=file&fid=<fid>
Groups
http://anidb.info/g<gid> - link to the group details of a group.
Expands to: http://anidb.info/perl-bin/animedb.pl?show=group&gid=<gid>
Reviews
http://anidb.info/r<aid> - link to all the reviews of an anime.
Reviews
http://anidb.info/r<aid>#<rid> - link to all the reviews of an anime, but scroll to a specific.
Expands to: http://www.anidb.info/perl-bin/animedb.pl?show=animeatt&aid=<aid>[#<rid>]
Review
http://anidb.info/rs<rid> - link to a specific review of an anime.
Expands to: http://www.anidb.info/perl-bin/animedb.pl?show=animeatt&attid=<rid>
User MyLists
http://anidb.info/u<uid> - link to a user's MyList.
Expands to: http://anidb.info/perl-bin/animedb.pl?show=mylist&uid=<uid>
User MyVotes
http://anidb.info/v<uid> - link to a user's votes list.
Expands to: http://anidb.info/perl-bin/animedb.pl?show=myvotes&orderby=vote&orderdir=1&uid=<uid>
User page
http://anidb.info/up<uid> - link to a user's page.
Expands to: http://anidb.info/perl-bin/animedb.pl?show=userpage&uid=<uid>
Producers
http://anidb.info/p<prid> - link to the details of a producer.
Expands to: http://anidb.info/perl-bin/animedb.pl?show=producer&prid=<prid>
Creqs
http://anidb.info/c<creqid> - link to the specifics of a creq.
Expands to: http://anidb.info/perl-bin/animedb.pl?show=creq&do.showhist=1&creq.id=<creqid>
Anime Producers
http://anidb.info/ap<aid> - link to where you can add producers to an anime, and see which are currently listed.
Expands to: http://anidb.info/perl-bin/animedb.pl?show=addaproducer&aid=<aid>
Anime Relations
http://anidb.info/ar<aid> - link to where you can add relations for an anime, as well as see which are currently listed.
Expands to: http://anidb.info/perl-bin/animedb.pl?show=addseq&aid=<aid>
Anime Categories
http://anidb.info/ac<aid> - link to where you can add categories to an anime, as well as see which are currently listed.
Expands to: http://anidb.info/perl-bin/animedb.pl?show=addgenren&aid=<aid>
Anime Genres
http://anidb.info/ag<aid> - link to where you can add the obsoleted genres to an anime, as well as see which are currently listed.
Expands to: http://anidb.info/perl-bin/animedb.pl?show=addgenre&aid=<aid>
Anime Titles
http://anidb.info/at<aid> - link to where you can add titles to an anime, as well as see which are currently listed.
Expands to: http://anidb.info/perl-bin/animedb.pl?show=addanimetitle&aid=<aid>
Anime Group Comments
http://anidb.info/agc<agcid> - link to an anime/group comment section, where you can see which comments have been added as well as add one of your own.
Expand to: http://anidb.info/perl-bin/animedb.pl?show=agcmts&agid=21710<agcid>

Some of these aren't very useful for the average user, but the a, u and v short links are quite common - the a short link is used almost consistently on this wiki.