Short links: Difference between revisions

From AniDB
Jump to navigation Jump to search
m (Shortlinks moved to Short links)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
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 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 '''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:
{{TOCright}}
*http://anidb.info/perl-bin/animedb.pl?show=animelist&adb.search=Hachimitsu&do.search=search
*http://anidb.info/perl-bin/animedb.pl?show=anime&aid=2835
*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)?
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.
::<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.
::<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.
::<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.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=group&gid=<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>#<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.
::<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.
::<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.
::<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.
::<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.
::<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.
::<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.
::<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 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.
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=addanimetitle&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.
::<small>Expand to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=pop&pop=agcmts&agid=<agcid></nowiki></small>


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.net/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 <tt>'''aid'''</tt>, or an '''a'''nime '''id'''. For ''Hachimitsu to Clover'' that <tt>aid</tt> is '''2835''', and the link would look like this: http://anidb.net/perl-bin/animedb.pl?show=anime&aid=2835
Now, if you use '''short links''' the link is even more convenient: http://anidb.net/a2835
Let's review. We have the search-link, the anime link, and the short link:
* <tt>http://anidb.net/perl-bin/animedb.pl?show=animelist&adb.search=Hachimitsu&do.search=search</tt>
* <tt>http://anidb.net/perl-bin/animedb.pl?show=anime&aid=2835</tt>
* <tt>http://anidb.net/a2835</tt>
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 have short links.
==List of avaiable short links==
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.
; Anime : <tt><nowiki>http://anidb.net/</nowiki>'''a<aid>'''</tt> - link to the anime details of an anime.
:Expands to: <nowiki>http://anidb.net/perl-bin/animedb.pl?show=anime&aid=<aid></nowiki>
; Episodes : <tt><nowiki>http://anidb.net/</nowiki>'''e<eid>'''</tt> - link to the episode details of an episode.
:Expands to: <nowiki>http://anidb.net/perl-bin/animedb.pl?show=ep&eid=<eid></nowiki>
; Files : <tt><nowiki>http://anidb.net/</nowiki>'''f<fid>'''</tt> - link to the filedetails of a file.
:Expands to: <nowiki>http://anidb.net/perl-bin/animedb.pl?show=file&fid=<fid></nowiki>
; Groups : <tt><nowiki>http://anidb.net/</nowiki>'''g<gid>'''</tt> - link to the group details of a group.
:Expands to: <nowiki>http://anidb.net/perl-bin/animedb.pl?show=group&gid=<gid></nowiki>
; Reviews : <tt><nowiki>http://anidb.net/</nowiki>'''r<aid>'''</tt> - link to all the reviews of an anime.
; Reviews : <tt><nowiki>http://anidb.net/</nowiki>'''r<aid>#<rid>'''</tt> - link to all the reviews of an anime, but scroll to a specific.
:Expands to: <nowiki>http://www.anidb.net/perl-bin/animedb.pl?show=animeatt&aid=<aid>[#<rid>]</nowiki>
; Review : <tt><nowiki>http://anidb.net/</nowiki>'''rs<rid>'''</tt> - link to a specific review of an anime.
:Expands to: <nowiki>http://www.anidb.net/perl-bin/animedb.pl?show=animeatt&attid=<rid></nowiki>
; User [[MyList]]s : <tt><nowiki>http://anidb.net/</nowiki>'''u<uid>'''</tt> - link to a user's MyList.
:Expands to: <nowiki>http://anidb.net/perl-bin/animedb.pl?show=mylist&uid=<uid></nowiki>
; User [[MyVotes]] : <tt><nowiki>http://anidb.net/</nowiki>'''v<uid>'''</tt> - link to a user's votes list.
:Expands to: <nowiki>http://anidb.net/perl-bin/animedb.pl?show=myvotes&orderby=vote&orderdir=1&uid=<uid></nowiki>
; User page : <tt><nowiki>http://anidb.net/</nowiki>'''up<uid>'''</tt> - link to a user's page.
:Expands to: <nowiki>http://anidb.net/perl-bin/animedb.pl?show=userpage&uid=<uid></nowiki>
; [[Creq]]s : <tt><nowiki>http://anidb.net/</nowiki>'''c<creqid>'''</tt> - link to the specifics of a creq.
:Expands to: <nowiki>http://anidb.net/perl-bin/animedb.pl?show=creq&do.showhist=1&creq.id=<creqid></nowiki>
; Anime Relations : <tt><nowiki>http://anidb.net/</nowiki>'''ar<aid>'''</tt> - link to where you can add relations for an anime, as well as see which are currently listed.
:Expands to: <nowiki>http://anidb.net/perl-bin/animedb.pl?show=addseq&aid=<aid></nowiki>
; Anime Categories : <tt><nowiki>http://anidb.net/</nowiki>'''ac<aid>'''</tt> - link to where you can add categories to an anime, as well as see which are currently listed.
:Expands to: <nowiki>http://anidb.net/perl-bin/animedb.pl?show=addgenren&aid=<aid></nowiki>
; Anime Titles : <tt><nowiki>http://anidb.net/</nowiki>'''at<aid>'''</tt> - link to where you can add titles to an anime, as well as see which are currently listed.
:Expands to: <nowiki>http://anidb.net/perl-bin/animedb.pl?show=addanimetitle&aid=<aid></nowiki>
; Anime Group Comments : <tt><nowiki>http://anidb.net/</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. (This one is tricky.)
:Expand to: <nowiki>http://anidb.net/perl-bin/animedb.pl?show=agcmts&agid=21710<agcid></nowiki>
; Creator : <tt><nowiki>http://anidb.net/</nowiki>'''cr<creatorid>'''</tt>
{{missing}}
; Character : <tt><nowiki>http://anidb.net/</nowiki>'''ch<charid>'''</tt>
{{missing}}
; Collection : <tt><nowiki>http://anidb.net/</nowiki>'''co<collectionid>'''</tt>
{{missing}}
; Song : <tt><nowiki>http://anidb.net/</nowiki>'''s<songid>'''</tt>
{{missing}}
; Lexicon : <tt><nowiki>http://anidb.net/</nowiki>'''l<lexiconid>'''</tt>
{{missing}}
; Club : <tt><nowiki>http://anidb.net/</nowiki>'''cl<clubid>'''</tt>
{{missing}}
; Post : <tt><nowiki>http://anidb.net/</nowiki>'''post<postid>'''</tt>
{{missing}}
[[Category:Features]]

Latest revision as of 06:28, 30 August 2018

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.net/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.net/perl-bin/animedb.pl?show=anime&aid=2835

Now, if you use short links the link is even more convenient: http://anidb.net/a2835

Let's review. We have the search-link, the anime link, 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 have short links.

List of avaiable short links

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.

Anime
http://anidb.net/a<aid> - link to the anime details of an anime.
Expands to: http://anidb.net/perl-bin/animedb.pl?show=anime&aid=<aid>
Episodes
http://anidb.net/e<eid> - link to the episode details of an episode.
Expands to: http://anidb.net/perl-bin/animedb.pl?show=ep&eid=<eid>
Files
http://anidb.net/f<fid> - link to the filedetails of a file.
Expands to: http://anidb.net/perl-bin/animedb.pl?show=file&fid=<fid>
Groups
http://anidb.net/g<gid> - link to the group details of a group.
Expands to: http://anidb.net/perl-bin/animedb.pl?show=group&gid=<gid>
Reviews
http://anidb.net/r<aid> - link to all the reviews of an anime.
Reviews
http://anidb.net/r<aid>#<rid> - link to all the reviews of an anime, but scroll to a specific.
Expands to: http://www.anidb.net/perl-bin/animedb.pl?show=animeatt&aid=<aid>[#<rid>]
Review
http://anidb.net/rs<rid> - link to a specific review of an anime.
Expands to: http://www.anidb.net/perl-bin/animedb.pl?show=animeatt&attid=<rid>
User MyLists
http://anidb.net/u<uid> - link to a user's MyList.
Expands to: http://anidb.net/perl-bin/animedb.pl?show=mylist&uid=<uid>
User MyVotes
http://anidb.net/v<uid> - link to a user's votes list.
Expands to: http://anidb.net/perl-bin/animedb.pl?show=myvotes&orderby=vote&orderdir=1&uid=<uid>
User page
http://anidb.net/up<uid> - link to a user's page.
Expands to: http://anidb.net/perl-bin/animedb.pl?show=userpage&uid=<uid>
Creqs
http://anidb.net/c<creqid> - link to the specifics of a creq.
Expands to: http://anidb.net/perl-bin/animedb.pl?show=creq&do.showhist=1&creq.id=<creqid>
Anime Relations
http://anidb.net/ar<aid> - link to where you can add relations for an anime, as well as see which are currently listed.
Expands to: http://anidb.net/perl-bin/animedb.pl?show=addseq&aid=<aid>
Anime Categories
http://anidb.net/ac<aid> - link to where you can add categories to an anime, as well as see which are currently listed.
Expands to: http://anidb.net/perl-bin/animedb.pl?show=addgenren&aid=<aid>
Anime Titles
http://anidb.net/at<aid> - link to where you can add titles to an anime, as well as see which are currently listed.
Expands to: http://anidb.net/perl-bin/animedb.pl?show=addanimetitle&aid=<aid>
Anime Group Comments
http://anidb.net/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. (This one is tricky.)
Expand to: http://anidb.net/perl-bin/animedb.pl?show=agcmts&agid=21710<agcid>
Creator
http://anidb.net/cr<creatorid>
The description is missing or severely incomplete.
If you can, please help by explaining it.
Character
http://anidb.net/ch<charid>
The description is missing or severely incomplete.
If you can, please help by explaining it.
Collection
http://anidb.net/co<collectionid>
The description is missing or severely incomplete.
If you can, please help by explaining it.
Song
http://anidb.net/s<songid>
The description is missing or severely incomplete.
If you can, please help by explaining it.
Lexicon
http://anidb.net/l<lexiconid>
The description is missing or severely incomplete.
If you can, please help by explaining it.
Club
http://anidb.net/cl<clubid>
The description is missing or severely incomplete.
If you can, please help by explaining it.
Post
http://anidb.net/post<postid>
The description is missing or severely incomplete.
If you can, please help by explaining it.