1,633
edits
m (; ... : reduces redundant HTML significantly) |
m (more layouting) |
||
Line 1: | Line 1: | ||
{{TOCright}} | {{TOCright}} | ||
AniDB supports a number of short links that links to different aspects of the | 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 <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.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 anime link, and the short link:<tt> | |||
*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</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)? | 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 | |||
Now, it isn't only to anime pages that AniDB sports short links, most things you can think of also have short links: | |||
; Anime : <tt><nowiki>http://anidb.info/</nowiki>'''a<aid>'''</tt> - 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. | ||
Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=anime&aid=<aid></nowiki> | Expands to: <nowiki>http://anidb.info/perl-bin/animedb.pl?show=anime&aid=<aid></nowiki> |
edits