/src/index.html

http://github.com/perlorg/cpanorg · HTML · 129 lines · 68 code · 10 blank · 51 comment · 0 complexity · c01735f2db3023f323067988316c7072 MD5 · raw file

  1. [%
  2. page.import({
  3. title => "The Comprehensive Perl Archive Network",
  4. section => 'home',
  5. skip_master_mirror => 0,
  6. });
  7. %][% page.head = BLOCK %]
  8. <!-- Copyright Jarkko Hietaniemi <jhi@iki.fi>
  9. 1998,1999,2000,2001,2003,2003,2004,2005,2008
  10. Copyright 2010-2013 Ask Bjørn Hansen <ask@perl.org>
  11. All Rights Reserved.
  12. The CPAN Logo provided by J.C. Thorpe.
  13. You may distribute this document either under the Artistic License
  14. (comes with Perl) or the GNU Public License, whichever suits you.
  15. LEGALESE
  16. You are not allowed to remove or alter these comments.
  17. You are not allowed to rename, remove, or add any files
  18. in your public mirror of CPAN.
  19. "Public mirror of CPAN" means a site listed in
  20. the SITES.html and SITES files at the top level of CPAN
  21. and also listed at the site http://mirrors.cpan.org/.
  22. You are not allowed to alter any file
  23. in you public mirror of CPAN
  24. EXCEPT
  25. that you can add a short acknowledgement for example
  26. for your hosting company, company, university, or sponsor,
  27. into this CPAN top-level index.html by adding a small
  28. non-animated image and a hyperlink pointing to your organization
  29. with text like "hosted by", "powered by", or "sponsored by",
  30. by placing it visually next to the "CPAN master site hosted by
  31. ..." acknowledgement at the bottom of the page.
  32. The image used may not be larger than the one used for the master
  33. site acknowledgement logos.
  34. (Technical sidenote: if you do add an acknowledgement link,
  35. please do think of the consequences to your possible downstream
  36. CPAN mirrors.)
  37. Altering this index.html in any other way is not allowed.
  38. Altering any other files is not allowed.
  39. Adding any advertisements or any revenue-generating material
  40. is strictly forbidden.
  41. Similarly, for your public CPAN mirrors "framing" or "wrapping"
  42. the CPAN web pages into other sites by using e.g. HTML tables
  43. or frames is not allowed.
  44. You are allowed to use the files of CPAN to create your own
  45. web sites and services since we are just a distributor of the files,
  46. we do not own most of them. However, you may not call your creations
  47. "CPAN" or "CPAN mirrors". You may say that the files are "mirrored
  48. from CPAN".
  49. -->
  50. <script type="text/javascript" charset="utf-8">
  51. function focusField() {
  52. document.getElementById("searchfield").focus();
  53. }
  54. onload = focusField;
  55. </script>
  56. [% END %]
  57. <table border="0" cellspacing="0" cellpadding="0">
  58. <tr>
  59. <td class="third">
  60. <h2>Welcome to CPAN</h2>
  61. <p>
  62. The Comprehensive Perl Archive Network (CPAN) currently
  63. has <a href="modules/index.html">[% cpan_stats.modules.count | comma %]
  64. Perl modules</a> in [% cpan_stats.distributions.count | comma %] distributions,
  65. written by [% cpan_stats.authors.count | comma %] authors,
  66. <a href="SITES.html">mirrored</a> on [% cpan_stats.mirrors.count | comma %] servers.
  67. </p>
  68. <p>The archive has been online since October 1995 and is constantly growing.</p>
  69. <h2>Search CPAN via</h2>
  70. <ul>
  71. <li><a href="https://metacpan.org/">metacpan.org</a></li>
  72. </ul>
  73. </td>
  74. <td class="third">
  75. <div style="margin-left: 20px">
  76. <h2>Recent Uploads</h2>
  77. [% PROCESS rss_feed, conf => {
  78. json_file => "recent.json",
  79. max => 10,
  80. }, rss_footer = '<li><a href="https://metacpan.org/recent"><strong>more...</strong></a></li>'
  81. %]
  82. </div>
  83. </td>
  84. <td class="third">
  85. <h2>Getting Started</h2>
  86. <ul>
  87. <li><a href="modules/INSTALL.html">Installing Perl Modules</a></li>
  88. <li><a href="http://learn.perl.org/">Learn Perl</a></li>
  89. </ul>
  90. <h2>
  91. How to contribute
  92. </h2>
  93. <ul>
  94. <li>Read <a href="modules/04pause.html">this</a>
  95. </li>
  96. <li>Visit <a href=
  97. "https://pause.perl.org/">https://pause.perl.org/</a>
  98. </li>
  99. </ul>
  100. <h2>Perl Resources</h2>
  101. <ul>
  102. <li><a href="http://www.perl.org/">The Perl Programming language</a></li>
  103. <li><a href="http://perldoc.perl.org/">Perl Documentation</a></li>
  104. <li><a href="http://lists.perl.org/">Mailing Lists</a></li>
  105. <li><a href="http://learn.perl.org/faq/">Perl FAQ</a></li>
  106. <li><a href="scripts/index.html">Scripts Repository</a></li>
  107. </ul>
  108. </td>
  109. </tr>
  110. </table>