Short links: Difference between revisions

From AniDB
Jump to navigation Jump to search
m (added r -> reviews)
(added what the shortlinks expand to, hopefully in a tasteful enough manner)
Line 6: Line 6:
Now, it isn't only to anime pages that anidb sports shortlinks, most things you can think of also has shortlinks:
Now, it isn't only to anime pages that anidb sports shortlinks, most things you can think of also has shortlinks:
*Anime: <nowiki>http://anidb.info/</nowiki>'''a<aid>''' - link to the anime details of an anime.
*Anime: <nowiki>http://anidb.info/</nowiki>'''a<aid>''' - 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>
*Episodes: <nowiki>http://anidb.info/</nowiki>'''e<eid>''' - link to the episode details of an episode.
*Episodes: <nowiki>http://anidb.info/</nowiki>'''e<eid>''' - 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>
*Files: <nowiki>http://anidb.info/</nowiki>'''f<fid>''' - link to the filedetails of a file.
*Files: <nowiki>http://anidb.info/</nowiki>'''f<fid>''' - link to the filedetails of a file.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=file&fid=<fid></nowiki></small>
*Groups: <nowiki>http://anidb.info/</nowiki>'''g<gid>''' - link to the group details of a group.
*Groups: <nowiki>http://anidb.info/</nowiki>'''g<gid>''' - link to the group details of a group.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=group&gid=</nowiki></small>
*Reviews: <nowiki>http://anidb.info/</nowiki>'''r<aid>''' - link to all the reviews of an anime.
*Reviews: <nowiki>http://anidb.info/</nowiki>'''r<aid>''' - link to all the reviews of an anime.
*Reviews: <nowiki>http://anidb.info/</nowiki>'''r<aid>#<rid>''' - link to a specific review of an anime.
::<small>Expands to: <nowiki>http://www.anidb.info/perl-bin/animedb.pl?show=animeatt&aid=<aid>[#<rid>]</nowiki></small>
*User [[mylist]]s: <nowiki>http://anidb.info/</nowiki>'''u<uid>''' - link to a user's mylist.
*User [[mylist]]s: <nowiki>http://anidb.info/</nowiki>'''u<uid>''' - link to a user's mylist.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=mylist&uid=<uid></nowiki></small>
*User [[myvotes]]: <nowiki>http://anidb.info/</nowiki>'''v<uid>''' - link to a user's votes list.
*User [[myvotes]]: <nowiki>http://anidb.info/</nowiki>'''v<uid>''' - 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>
*Producers: <nowiki>http://anidb.info/</nowiki>'''p<prid>''' - link to the details of a producer.
*Producers: <nowiki>http://anidb.info/</nowiki>'''p<prid>''' - link to the details of a producer.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=producer&prid=<prid></nowiki></small>
*[[Creq]]s: <nowiki>http://anidb.info/</nowiki>'''c<creqid>''' - link to the specifics of a creq.
*[[Creq]]s: <nowiki>http://anidb.info/</nowiki>'''c<creqid>''' - 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>
*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>''' - 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>
*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: <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.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=addseq&aid=<aid></nowiki></small>
*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: <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 Genre: <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.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=addgenren&aid=<aid></nowiki></small>
*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.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=addgenre&aid=<aid></nowiki></small>
*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 <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.
::<small>Expand to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=pop&pop=agcmts&id=<agcid></nowiki></small>


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

Revision as of 20:59, 6 February 2006

AniDB supports a number of shortlinks 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 animes. 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 shortlinks the link is even more convenient: http://anidb.info/a2835. Let's review. We have the search-link, the animelink, and the shortlink:

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

  • 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=
  • Reviews: http://anidb.info/r<aid> - link to all the reviews of an anime.
  • Reviews: http://anidb.info/r<aid>#<rid> - link to a specific review of an anime.
Expands to: http://www.anidb.info/perl-bin/animedb.pl?show=animeatt&aid=<aid>[#<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>
  • 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 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=pop&pop=agcmts&id=<agcid>

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