Short links: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
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:
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
*http://anidb.info/perl-bin/animedb.pl?show=anime&aid=2835
*http://anidb.info/perl-bin/animedb.pl?show=anime&aid=2835
*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 anidb sports short links, most things you can think of also has short links:
Now, it isn't only to anime pages that AniDC 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: <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>
::<small>Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=anime&aid=<aid></nowiki></small>
1,633

edits

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.