diff options
author | yorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b> | 2008-06-15 10:34:51 +0000 |
---|---|---|
committer | yorhel <yorhel@1fe2e327-d9db-4752-bcf7-ef0cb4a1748b> | 2008-06-15 10:34:51 +0000 |
commit | d600e72db73cc46f9fc647f99c1eb4b833a821e0 (patch) | |
tree | c6726a0074f80df62c976a3e675cc1ca0ce09c62 /data | |
parent | dfcfb4a402dcfbc1b1873c5ead08584c3e71a5c6 (diff) |
Small improvements in GTINType, documentation update, and renai.us accepts the URL without the www prefix as well, which I prefer
git-svn-id: svn://vndb.org/vndb@29 1fe2e327-d9db-4752-bcf7-ef0cb4a1748b
Diffstat (limited to 'data')
-rw-r--r-- | data/docs/2 | 5 | ||||
-rw-r--r-- | data/tpl/vnedit | 2 | ||||
-rw-r--r-- | data/tpl/vnpage | 4 |
3 files changed, 6 insertions, 5 deletions
diff --git a/data/docs/2 b/data/docs/2 index da71b403..35fbc5e2 100644 --- a/data/docs/2 +++ b/data/docs/2 @@ -27,8 +27,9 @@ and instead compare it with other games you've played. It's all relative, after all. </dd><dt>External links</dt><dd> Links to external resources about this visual novel. To get the URLs, go to the - sites (<a href="http://en.wikipedia.org/">Wikipedia</a> and <a href="http://visual-novels.net/"> - Visual-novels.net</a>), + sites (<a href="http://en.wikipedia.org/">Wikipedia</a>, <a href="http://novelnews.net/"> + Novelnews.net</a>, <a href="http://renai.us/">Renai.us</a> and + <a href="http://visual-novels.net/">Visual-novels.net</a>), search for a page about the game, and determine the ID or name of that page to fill out in the text boxes. Do not specify the full URL, we only need a small part of it! diff --git a/data/tpl/vnedit b/data/tpl/vnedit index 0b5299e8..d99a915b 100644 --- a/data/tpl/vnedit +++ b/data/tpl/vnedit @@ -45,7 +45,7 @@ { type => 'static', text => '<br />' }, { type => 'input', name => 'External links', short => 'l_wp', pre => 'http://en.wikipedia.org/wiki/' }, { type => 'input', name => ' ', short => 'l_encubed', pre => 'http://novelnews.net/tag/', post => '/' }, - { type => 'input', name => ' ', short => 'l_renai', pre => 'http://www.renai.us/game/', post => '.shtml' }, + { type => 'input', name => ' ', short => 'l_renai', pre => 'http://renai.us/game/', post => '.shtml' }, { type => 'input', name => ' ', short => 'l_vnn', pre => 'http://visual-novels.net/vn/index.php?option=com_content&task=view&id=', class => 'shortopts' }, { type => 'static', text => '<br />' }, diff --git a/data/tpl/vnpage b/data/tpl/vnpage index e8b19dde..9418afc2 100644 --- a/data/tpl/vnpage +++ b/data/tpl/vnpage @@ -19,7 +19,7 @@ [ length => 'Length', sub { $VNDB::VNLEN->[$_[0] ][0] } ], [ l_wp => 'Wikipedia link', sub { $_[0] ? '<a href="http://en.wikipedia.org/wiki/'.$_[0].'">'.$_[0].'</a>' : 'No link' } ], [ l_encubed => 'Encubed tag', sub { $_[0] ? '<a href="http://novelnews.net/tag/'._huri($_[0]).'/">'.$_[0].'</a>' : 'No link' } ], - [ l_renai => 'Renai.us link', sub { $_[0] ? '<a href="http://www.renai.us/game/'._huri($_[0]).'.shtml">'.$_[0].'</a>' : 'No link' } ], + [ l_renai => 'Renai.us link', sub { $_[0] ? '<a href="http://renai.us/game/'._huri($_[0]).'.shtml">'.$_[0].'</a>' : 'No link' } ], [ l_vnn => 'V-N.net link', sub { $_[0] ? '<a href="http://visual-novels.net/vn/index.php?option=com_content&task=view&id='.$_[0].'">'.$_[0].'</a>' : 'No link' } ], [ anime => 'Related anime', sub { join(' ', map qq|<a href="http://anidb.net/a$$_{id}">$$_{id}</a>|, sort { $a->{id} <=> $b->{id} } @{$_[0]}) } ], [ categories => 'Categories', sub { join(' ', map { $VNDB::CAT->{substr($_->[0],0,1)}[1]{substr($_->[0],1,2)}.'('.$_->[1].')' } sort { $a->[0] cmp $b->[0] } @{$_[0]}) || 'No categories selected' }, 1 ], @@ -70,7 +70,7 @@ my @links = ( $d{vn}{l_wp} ? [ 'Wikipedia', 'http://en.wikipedia.org/wiki/%s', $d{vn}{l_wp} ] : (), $d{vn}{l_encubed} ? [ 'Encubed', 'http://novelnews.net/tag/%s/', _huri $d{vn}{l_encubed} ] : (), - $d{vn}{l_renai} ? [ 'Renai.us', 'http://www.renai.us/game/%s.shtml', _huri $d{vn}{l_renai} ] : (), + $d{vn}{l_renai} ? [ 'Renai.us', 'http://renai.us/game/%s.shtml', _huri $d{vn}{l_renai} ] : (), $d{vn}{l_vnn} ? [ 'V-N.net', 'http://visual-novels.net/vn/index.php?option=com_content&task=view&id=%d', $d{vn}{l_vnn} ] : (), ); |